Bug 1066060
Summary: | "Cannot store preferences" message with a Read Only user | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | dsteigne | ||||
Component: | Security | Assignee: | Jirka Kremser <jkremser> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | JON 3.2 | CC: | ahovsepy, hrupp, jkremser, kupo, loleary, myarboro | ||||
Target Milestone: | DR03 | Keywords: | Triaged, Upstream | ||||
Target Release: | JON 3.2.2 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-07-29 00:17:04 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
dsteigne
2014-02-17 15:31:00 UTC
I am not able to reproduce it following the repro steps. No exception for all the tabs (Alerts, Monitoring, Configuration). However, I was able to see the same exception when trying to change the monitoring interval to some custom value, so I am addressing this use case. branch: master link: http://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=5778be1eb time: 2014-02-24 16:52:34 +0100 commit: 5778be1eb9539e7c75f11fb0e3c7efe4ac4c719e author: Jirka Kremser - jkremser message: [BZ 1066060] - "Cannot store preferences" message with a Read Only user - The custom date range UI component that uses user's preferences were lazily instantiated -> when user logged out and logged in the same cached instance was returned and it caused the exception. I've added the method that invalidates the cached singleton instance in user session manager login callback so we can still save some resources by doing it lazily, but at the same time if a new user logs in it gets its own preferences. ..waiting for c-pick cherry picked to release branch: 205dba0f6 Moving to ON_QA as available for test in latest build: http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.2.GA/6-28-2014/ verified Created attachment 913399 [details]
read_only_res
This has been verified and released in Red Hat JBoss Operations Network 3.2 Update 02 (3.2.2) available from the Red Hat Customer Portal[1]. [1]: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=31783 |