Skip to content

AMP-31111: issue- adding a new tab cause error when a region column added#4467

Open
brianbrix wants to merge 1 commit into
developfrom
fix/AMP-31111/Error-when-creating-regional-tab
Open

AMP-31111: issue- adding a new tab cause error when a region column added#4467
brianbrix wants to merge 1 commit into
developfrom
fix/AMP-31111/Error-when-creating-regional-tab

Conversation

@brianbrix
Copy link
Copy Markdown
Contributor

No description provided.

@brianbrix brianbrix force-pushed the fix/AMP-31111/Error-when-creating-regional-tab branch 2 times, most recently from aefd1b1 to 6091741 Compare May 13, 2026 05:25
@brianbrix brianbrix force-pushed the fix/AMP-31111/Error-when-creating-regional-tab branch from ad58187 to 205c310 Compare May 13, 2026 05:47
@brianbrix
Copy link
Copy Markdown
Contributor Author

The error says "Invalid Column(9)" ...when you check in the database column 9 is Adminstrative Level 1
For Regional Report type .. the LOCATION_ADM_LEVEL_1 was being hidden(Chccke ReportColumnProvider class line number 295) which meant that if passed to the report it could be rejected ..The frontend sends it so what we do is: Iterate through the request's columns list and swap out any occurrence of LOCATION_ADM_LEVEL_1's ID with REGIONAL_REGION's ID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant