Closed jzichichi closed 5 years ago
It probably would reduce confusion for the submission to include only the first record until the editor allows editing of multiple records. If the submission only went to the EDG team I wouldn't worry about it, but because we're planning on also sending the submission to the EPA sponsor for review and approval, I think it needs to be limited to the first record.
Only metadata for first dataset included in submission now.
@aergul - saves first record only for both submission and save functions? I tested with a pre-existing OLEM record and it worked great - retaining only first record - but for both save and submit. Guessing that's intentional. Wanted to be sure.
The intention is to keep all for save but submit only the first. If that's not the case then it is a bug.
@aergul - OK I thought I had remembered discussing it that way. It seems to me save chops it off. See attached files. OSWER-EF is the original and the second is the saved (with some edits from the editor in there).
Maybe there is an issue with the formatting in the original - it's one that was handed to me a few months ago and I was editing it via notepad - the records contained in it were accepted by EDG..
@jzichichi while submit and save operated on a copy of the document rather than the original, they both operated on the same copy. Now we use a fresh copy sans datasets other than first during submission.
@aergul BETTER!!! Moving over for @torrin47 to review
Is great, thanks!
@torrin47, the current implementation allows user to load file with more than one record in it. User is able to edit first record; other content is saved but not shown to user in the edit interface, but it is shown when the view the raw json content to be saved. What happens if user submits this type of record to EPA? Will this cause problems or confusion?