| Summary: | [RFE] Ad Hoc Domains - localization is set according to enum translator view and not via session context | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yaniv Lavi <ylavi> | ||||
| Component: | jasperreports-server-pro | Assignee: | Shirly Radco <sradco> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | movciari | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.4.0 | CC: | bazulay, ecohen, gklein, iheim, pstehlik, rbalakri, Rhev-m-bugs, sradco, yeylon | ||||
| Target Milestone: | --- | Keywords: | FutureFeature | ||||
| Target Release: | --- | Flags: | sherold:
Triaged+
|
||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | reports | ||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-11-12 10:29:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Reports | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Yaniv Lavi
2013-09-22 14:01:00 UTC
Moving to 3.5.0 due to capacity issues. Yaniv Waiting for a respond from Jasper. Due to limitations in using session parameter in domain query, we can't localize the Ad hoc reports results. Tried to use the Jar and process provided by Jasper but result is still insufficient. Open Case Number 00037486 Shirly (In reply to Shirly Radco from comment #2) > Waiting for a respond from Jasper. > Due to limitations in using session parameter in domain query, > we can't localize the Ad hoc reports results. > Tried to use the Jar and process provided by Jasper but result is still > insufficient. We may still be able to do this using calculated columns. The column will display the localized string from filtered query, if it exists, and english from another query otherwise. Shirly, will that work? Yaniv Jasper replied:
"The way to fail over would be to change the expression for the current locale calculated field to the following:
groovy('requestAttributes.request.locale.toString() == null ? "en_US" : requestAttributes.request.locale.toString()')
If you're trying to use this in a derived table, it won't work because derived tables don't yet support dynamic parameter values.
I sent the implementation instructions in an email last time. I'm attaching them to the case as a PDF document for easier reference.
Steve"
Created attachment 913464 [details]
Case_37486_Workaround_Implementation_Instructions.pdf
Tried workaround from by Jasper. Workaround is insufficient. We will wait until Jasper adds this. Shirly Moving to JRS component since there is no working workaround and this is dependent on their fix. Yaniv |