-
Notifications
You must be signed in to change notification settings - Fork 1
/
HydroServer Redesign Part 8.txt
89 lines (37 loc) · 1.91 KB
/
HydroServer Redesign Part 8.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
HydroServer Redesign Part 8
**** Summary ****
- Reload processing changes:
- Rejected Items Dialog: Add logic to update Rejected Items table for the following cases:
- Processing of reloaded item(s) succeeds: Item(s) are added to db
- Item(s) update existing db entries
- Item(s) are duplicates of existing db entries
- 'Successfully' uploaded items are removed from the Rejected Items table
- Processing of reloaded items(s) fails: Rejected Items table entries and error message(s) updated
- Items which fail reload remain in the Rejected Items table
- On server: revise contents of 'correct', 'edited', 'duplicate' and 'incorrect' binary files per reload processing outcomes
**** HydroServerTools/Controllers/api ****
- RevisedUploadController.cs
- PutRejectedItems()
- Add code to retrieve FileContext
- Add code to call FileContext.UpdateBinaryFiles(...)
**** HydroServerTools/Utilities ****
- FileContext.cs
- New method: UpdateBinaryFiles(...)
- RepositoryContext.cs
- Make some utility methods 'static'
- Remove commented out code
- UpdateDbTable(...) -
- Add code to remove error message(s) for 'to-be-reloaded' records
- Add code to add error message(s) for records which failed reload
**** HydroServerTools/Views/CSVUpload ****
- DbSummaryReport.cshtml
- updateRejectedItemsTable(...)
- Add code to remove table rows for all correct, duplicate and edited item ids
- Add code to update error messages for rejected items which fail reload
- buildRejectedItemsTable(...)
- Revise code to build child row(s) once for each record row
- DragAndDropFiles.cshtml
- Update jQuery File Upload max chunk size to production value (2^23)
**** HydroServerToolsUtilities ****
- UpdateableItemsData.cs
- TableUpdateResult - add property: ErrorMessages