Openbravo Issue Tracking System - Modules
View Issue Details
0049303ModulesReportingpublic2022-05-12 08:412022-08-29 13:17
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
 
0049303: Max supported allowed organization in SSO limited to 50
Currently we pass the list of readable organizations from Openbravo to the reporting server as a url parameter. There are often restrictions in the number of organizations we can pass due to url length. Therefore we do not send more than 50. If there are more then no organization is send and the data of all organizations is visible for the user. A warning [1] is printed in the log in that case.

[1]
2022-05-08 18:56:30,518 [http-478] WARN org.openbravo.reporting.integration.utils.ReportingIntegrationUtils - User Belen DIAZ ECEIZA has more than 50 namely: 98 readable orgs, assuming he/she can see all orgs in reporting server
Have a user with more than 50 allowed organizations assigned to him/her. Open a report in the backoffice.
Jasper has a 2000 char limit on the user attributes. Sending more than 50-60 id's won't work. The solution is to now only send 50 org ids, but ensure that always the current organization is in the list of org ids. If the user needs access to all orgs this can be accomplished with an existing preference.
No tags attached.
Issue History
2022-05-12 08:41mtaalNew Issue
2022-05-12 08:41mtaalAssigned To => mtaal
2022-06-10 11:57nicola_uvaIssue Monitored: nicola_uva
2022-08-15 23:10hgbotNote Added: 0140129
2022-08-16 08:08mtaalProposed Solution updated
2022-08-16 08:17hgbotNote Added: 0140136
2022-08-16 08:17hgbotResolutionopen => fixed
2022-08-16 08:17hgbotStatusnew => resolved
2022-08-16 08:17hgbotNote Added: 0140137
2022-08-29 13:17mtaalNote Added: 0140465
2022-08-29 13:17mtaalStatusresolved => closed

Notes
(0140129)
hgbot   
2022-08-15 23:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.integration/-/merge_requests/4 [^]
(0140136)
hgbot   
2022-08-16 08:17   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.integration/-/merge_requests/4 [^]
(0140137)
hgbot   
2022-08-16 08:17   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.integration [^]
Changeset: 994f02db0197587ad50c5396262a37620df2f7fa
Author: Martin Taal <martin.taal@openbravo.com>
Date: 15-08-2022 23:09:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.reporting.integration/-/commit/994f02db0197587ad50c5396262a37620df2f7fa [^]

Fixed ISSUE-49303: add current org when max num of org is reached, log debug

---
M src/org/openbravo/reporting/integration/utils/ReportingIntegrationUtils.java
---
(0140465)
mtaal   
2022-08-29 13:17   
MR solves it