-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 7.19.5, 8.4.0, 7.19.6, 7.13.14, 8.1.1
-
Component/s: Apps - Analytics for Confluence
-
9
-
Severity 3 - Minor
-
63
The fix for this bug will be backported to our current Long Term Support releases if it passes our risk assessment.
We recognise the impact of this bug and plan to backport the fix to our Long Term Support releases. Once the exact fix version is known we will update this ticket. Not all code changes are suitable to be backported and this may still be rejected during our review process.
Problem
Is not possible to change the Analytics Settings as when clicking on Edit a blank page is presented to the user.
Environment
Confluence DC v7.19.5
Postgres DB
Linux OS
Steps to Reproduce
- Install and configure Confluence DC v7.19.5
- Login as Admin
- Go to Confluence administration->Analytics Settings (admin/plugins/confanalytics/settings.action#/settings/view)
- Attempt to Edit either Increased privacy mode or Rate limiting
Expected Results
The page display the panel to change the settings for Increased privacy mode or * Rate limiting*
Actual Results
An empty page is presented and the JS console reports this error message:
Invariant Violation: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at i (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:261) at o (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:531) at Yr (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:41533) at https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:50117 at ha (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:57449) at Ca (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:65838) at Mi (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:84693) at Ui (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:85077) at xo (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:91751) at bo (https://confluence7195/s/8b58da9c444a703b7b07f47bf1ad3074-CDN/4br54d/8804/1w4vbtj/5a377df1c74a43bec91f79ea65417383/_/download/contextbatch/js/com.addonengine.analytics:settings,-_super/batch.js?locale=en-GB:36:91131)
Workaround
Change the settings using the rest api:
- Rate Limiting
curl -u admin:password '<ConfluenceBaseURL>/rest/confanalytics/1.0/settings/rateLimit' -X 'PUT' -H 'content-type: application/json' --data-raw '{"enabled":true,"concurrentSessions":"5","staleOperationSeconds":1000}'
- Increased privacy mode
curl -u admin:password '<ConfluenceBaseURL>/rest/confanalytics/1.0/settings/privacy' -X 'PUT' -H 'content-type: application/json' --data-raw '{"enabled":true}'
Notes
- depended on by
-
CONFSERVER-83359 Rate limiting in analytics report doesn't work as intended with the same session
-
- Closed
-
- mentioned in
-
Page Loading...