US-EPA-CAMD / easey-ui

Project Management repo for EPA Clean Air Markets Division (CAMD) Business Suite of applications
MIT License
0 stars 0 forks source link

Monitoring Plan Export Bug: Remove component specific fields from the monitoringSystemComponentData records #6223

Open esaber76 opened 5 months ago

esaber76 commented 5 months ago

Monitoring Plan exports include the below fields in the monitoringSystemComponentData records. These fields are specific to the componentData records. They need to be removed from the monitoringSystemComponentData records.

monitoringSystemComponentData records should only include:

Removal of componentRecordId already documented in #6182.

Example showing the problem:

Monitoring System Component Duplicates

Schema:

Monitoring System Component Schema

Note: The import issues related to requiring component type code will be handled by #6225.

ergjustin commented 4 months ago

If we remove the above records from the monitoringSystemComponentData. For see the componentType in system components list, we need to take the system component’s component_id and compare componentData with the same component_id. The same scenario will apply to the edit System component Modal.

Image

I have a question regarding System component edit Modal, which DTO should we use when we save?

lgiannini1 commented 3 months ago

Verified on dev. Component specific fields are removed from monitoringSystemComponentData records.

ibarra-michelle commented 3 months ago

Verified in test for ORIS 6137, Location 3. The exported file only includes the following:

image