Repository navigation
AMP-31226: Add third dimension for disaggregation - #4522
Conversation
# Conflicts: # amp/src/main/java/org/digijava/module/aim/helper/GlobalSettingsConstants.java # amp/src/main/resources/xmlpatches/4.0/AMP-31057-Add-Currecies-for-dashboard.xml # amp/src/main/resources/xmlpatches/4.0/AMP-31057-Donor-Funding-Admin-Levels-v1.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_0.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_1.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_2.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_3.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_4.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_5.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_6.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_7.xml # amp/src/main/resources/xmlpatches/general/views/v_nationalobjectives_level_8.xml # amp/src/main/resources/xmlpatches/general/views/v_pledges_tertiary_programs_level_2.xml # amp/src/main/resources/xmlpatches/general/views/v_pledges_tertiary_programs_level_3.xml # amp/src/main/webapp/WEB-INF/jsp/esrigis/view/mainmapPopup.jsp
Missing gazeteer
fix/GGW/GGW-issues
# Conflicts: # .github/workflows/deploy.yml # amp/pom.xml # amp/src/main/java/org/dgfoundation/amp/onepager/util/ActivityUtil.java # amp/src/main/java/org/digijava/module/message/jobs/AmpDonorFundingJob.java # amp/src/main/resources/org/digijava/module/aim/dbentity/AmpStructure.hbm.xml # amp/src/main/webapp/WEB-INF/jsp/esrigis/view/mainmapPopup.jsp
There was a problem hiding this comment.
🟡 Changes recommended
Active moderate and critical findings remain around unsupported report-option serialization, incorrect NULL disaggregation handling that duplicates amounts, and locationless actuals being discarded on activity saves.
11 open issues
Missing amount coordinates duplicate values across combinations · New Locationless disaggregation values are dropped on activity save · New Validate criterion category class before accepting IDs Filter synthetic rows for missing criterion options Map ID in report endpoints and activity handling Exclude non-disaggregated rows from ID reports Add ID to the report type mapping Include locationless actuals in report view Missing disaggregation utility module import Missing disaggregation utility module import Unsupported funding grouping serializes a null report type · New
Review effort: Lite
There was a problem hiding this comment.
🟡 Changes recommended
Two unresolved issues remain: a newly added funding-grouping option is not wired through the API and type conversion, and null image collections can still cause a critical exception in AmpStructure.prepareMerge.
11 open issues
Handle null image collections before clearing · New Locationless disaggregation values are dropped on activity save Validate criterion category class before accepting IDs Filter synthetic rows for missing criterion options Map ID in report endpoints and activity handling Exclude non-disaggregated rows from ID reports Add ID to the report type mapping Include locationless actuals in report view Missing disaggregation utility module import Missing disaggregation utility module import Unsupported funding grouping serializes a null report type
1 resolved since last review
1 file not reviewed
amp/TEMPLATE/reampv2/package-lock.json: Generated file
Review effort: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
Approval is blocked by an unresolved client/server report-option mismatch and a critical shallow-clone bug that can clear image associations from the source structure.
11 open issues
Handle null image collections before clearing Locationless disaggregation values are dropped on activity save Validate criterion category class before accepting IDs Filter synthetic rows for missing criterion options Map ID in report endpoints and activity handling Exclude non-disaggregated rows from ID reports Add ID to the report type mapping Include locationless actuals in report view Missing disaggregation utility module import Missing disaggregation utility module import Unsupported funding grouping serializes a null report type
1 file not reviewed
amp/TEMPLATE/reampv2/package-lock.json: Generated file
Review effort: Lite
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟡 Changes recommended
Critical integration gaps prevent the new report option and locationless disaggregated actuals from functioning end to end, while a missing third-category deletion check can cause database errors.
12 open issues
Handle null image collections before clearing Locationless disaggregation values are dropped on activity save Validate criterion category class before accepting IDs Filter synthetic rows for missing criterion options Map ID in report endpoints and activity handling Exclude non-disaggregated rows from ID reports Add ID to the report type mapping Include locationless actuals in report view Missing disaggregation utility module import Missing disaggregation utility module import Include third-category associations in the option deletion guard · New Unsupported funding grouping serializes a null report type
1 file not reviewed
amp/TEMPLATE/reampv2/package-lock.json: Generated file
Review effort: Lite
Check if criterionValue is null or not a valid disaggregation criterion before throwing an exception. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🔵 Needs a closer look
Approval is blocked by two critical issues: the new report option is not mapped to the backend or restored from saved reports, and the locationless disaggregated-actuals query cannot return data because persistence creates no corresponding links.
7 open issues
Locationless disaggregation values are dropped on activity save Filter synthetic rows for missing criterion options Include locationless actuals in report view Missing disaggregation utility module import Missing disaggregation utility module import Include third-category associations in the option deletion guard Unsupported funding grouping serializes a null report type
5 resolved since last review
1 file not reviewed
amp/TEMPLATE/reampv2/package-lock.json: Generated file
Review effort: Lite
There was a problem hiding this comment.
🔵 Needs a closer look
A moderate active issue prevents the new funding-indicator-disaggregation option from appearing in the report designer because the backend metadata does not register it.
7 open issues
Locationless disaggregation values are dropped on activity save Filter synthetic rows for missing criterion options Include locationless actuals in report view Missing disaggregation utility module import Missing disaggregation utility module import Include third-category associations in the option deletion guard Unsupported funding grouping serializes a null report type
1 file not reviewed
amp/TEMPLATE/reampv2/package-lock.json: Generated file
Review effort: Lite
…tion-Dimension' into feature/AMP-31226/New-Disaggregation-Dimension
There was a problem hiding this comment.
🔵 Needs a closer look
The change still contains a critical cloning bug that shares the image collection and can mutate the original structure when the clone is cleared.
3 open issues
4 resolved since last review
1 file not reviewed
amp/TEMPLATE/reampv2/package-lock.json: Generated file
Review effort: Lite


No description provided.