Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0045688 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2021-01-06 16:40 | 2021-01-14 08:55 | |||
Reporter | collazoandy4 | View Status | public | |||||
Assigned To | markmm82 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR21Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0045688: The message 'Current user/role has no access to <clazz name>' can't be translated | |||||||
Description | When a customer has no access to a class that inherits from SecuredJSONProcess and perform a request the error message shown can't be translated because is not defined in the AD_MESSAGE table | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | Send in the json error a message from AD_MESSAGE | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0125440) hgbot (developer) 2021-01-14 03:32 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/128 [^] |
(0125441) hgbot (developer) 2021-01-14 08:55 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^] Changeset: bf10b92a83b46db187b8fef2e3d07d4a7f8819d8 Author: Mark <markmm82@gmail.com> Date: 2021-01-13T23:30:02-03:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/bf10b92a83b46db187b8fef2e3d07d4a7f8819d8 [^] Fixed BUG-45688: Translated 'Current user/role has no access to <clazz name>' When a customer was no access to a class that inherits from SecuredJSONProcess and perform a request, the error message wasn't translated because was hardcoded in SecuredJSONProcess.java. Now, a new error message was included into the database to be used instead of the hardcoded message. Additionally it will be automatically translated to session language when the request was done. As note, by default the message is included only in spanish. To have other translations available will be required add them to this new message in the AD. --- M src-db/database/sourcedata/AD_MESSAGE.xml M src/org/openbravo/mobile/core/process/SecuredJSONProcess.java --- |
(0125442) hgbot (developer) 2021-01-14 08:55 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/128 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2021-01-06 16:40 | collazoandy4 | New Issue | |
2021-01-06 16:40 | collazoandy4 | Assigned To | => Retail |
2021-01-06 16:40 | collazoandy4 | File Added: Error message.PNG | |
2021-01-06 16:40 | collazoandy4 | OBNetwork customer | => Gold |
2021-01-06 16:40 | collazoandy4 | Resolution time | => 1611097200 |
2021-01-06 16:40 | collazoandy4 | Triggers an Emergency Pack | => No |
2021-01-12 16:46 | markmm82 | Assigned To | Retail => markmm82 |
2021-01-12 16:46 | markmm82 | Status | new => scheduled |
2021-01-13 19:17 | hgbot | Merge Request Status | => open |
2021-01-13 19:17 | hgbot | Note Added: 0125437 | |
2021-01-14 03:30 | hgbot | Note Added: 0125439 | |
2021-01-14 03:32 | hgbot | Note Added: 0125440 | |
2021-01-14 03:36 | markmm82 | Note Deleted: 0125437 | |
2021-01-14 03:36 | markmm82 | Note Deleted: 0125439 | |
2021-01-14 08:55 | hgbot | Merge Request Status | open => approved |
2021-01-14 08:55 | hgbot | Resolution | open => fixed |
2021-01-14 08:55 | hgbot | Status | scheduled => closed |
2021-01-14 08:55 | hgbot | Fixed in Version | => RR21Q2 |
2021-01-14 08:55 | hgbot | Note Added: 0125441 | |
2021-01-14 08:55 | hgbot | Note Added: 0125442 |
Copyright © 2000 - 2009 MantisBT Group |