Bug 1116934
| Summary: | Events: Action groups' keys instead of Action groups' values appear within the Event message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Gilad Chaplik <gchaplik> | ||||
| Component: | General | Assignee: | bugs <bugs> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Pavel Stehlik <pstehlik> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | --- | CC: | bugs, dfediuck, gklein, oourfali, rbalakri, yeylon, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-03-10 11:20:13 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Events in general are not localized - we are tracking that via bug 870294. Events messages are persisted to the DB *already translated to English*, which is wrong. However, given the current state in which the Events are "hard-coded" in English: Gilad is right - within the Event message, we need to display the Action Groups' values, not the keys. So instead of: "Action group CREATE_STORAGE_POOL_NETWORK, ..." We need to display: "Action group 'Create Data-Center Network', ..." [changed BZ subject accordingly] AFAIK, we don't have such key-value mapping yet. we do have something similar in the GUI, used in the Add/Edit Role dialog, however the values for the Action Groups there (i.e. the action-groups-tree-'leafs') are not descriptive enough for the Events use-case discussed in this BZ. see http://i.imgur.com/Iofjy9H.png for example: the 'CREATE_STORAGE_POOL_NETWORK' action-group maps to 'Create', which is not descriptive enough for our use-case. Moreover, I believe that the current mapping (again, which we are using for the Add/Edit Role dialog) resides in the GUI code -> the backend (which writes the message to the DB) cannot use it - it needs a separate mapping file. This won't make it into 3.6.0. Moving to 4.0 for consideration. Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. (In reply to Oved Ourfali from comment #2) > This won't make it into 3.6.0. Moving to 4.0 for consideration. CLOSE-WONTFIX? |
Created attachment 916133 [details] non-localized event message Action groups aren't localized in update role event Steps to Reproduce: 1. edit role 2. add action groups to role Actual results: action groups in event message aren't localized. Expected results: action group in event message should be localized. Additional info: see attachment.