Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045688
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminorhave not tried2021-01-06 16:402021-01-14 08:55
Reportercollazoandy4View Statuspublic 
Assigned Tomarkmm82 
PrioritynormalResolutionfixedFixed in VersionRR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045688: The message 'Current user/role has no access to <clazz name>' can't be translated

DescriptionWhen 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 SolutionSend in the json error a message from AD_MESSAGE
TagsNo tags attached.
Attached Filespng file icon Error message.PNG [^] (21,301 bytes) 2021-01-06 16:40

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 [^]

- Issue History
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 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 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 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
Powered by Mantis Bugtracker