Closed weibullguy closed 6 years ago
A record for each Hardware:X matrix also needs to be added on successful addition of a hardware item.
Hazard analysis does not need to add a record when a new Hardware item is added.
Fixed for Allocation and Similar Item analysis in commit a30dd933d371dcba9d3e1975f80924703567f0ec
Expected Behavior
When successfully adding a hardware item, a new record should be added to the RTKAllocation, RTKHazardAnalysis, and RTKSimilarItem tables for the new hardware item.
Actual Behavior
No records are added to the RTKAllocation, RTKHazardAnalysis or RTKSimilarItem tables when a hardware item is successfully added to the open RTK Program database.
The RTKMode table should have one record added for each failure mode in the RTK Common database table RTKFailureModes for the hardware category/subcategory combination. Thus, the RTKMode records should ONLY be added when the subcategory is selected/changed, NOT when a new hardware item is added.
Steps to Reproduce the Problem
Operating Environment
•Operating System: All •OS Distribution (if Linux): •OS Version: NA •Hardware: NA •Required Software Versions: ◦Python == Any ◦defusedxml == Any ◦lifelines == Any ◦lxml == Any ◦matplotlib == Any ◦numpy == Any ◦pandas == Any ◦pypubsub == Any ◦scipy == Any ◦sortedcontainers == Any ◦sqlalchemy == Any ◦sqlalchemy_utils == Any ◦statsmodels == Any ◦treelib == Any ◦xlrd == Any ◦xlwt == Any