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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050268
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2022-09-16 13:312022-09-16 14:08
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version22Q4
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

0050268: Error when saving keymap changes done from the Keymap Editor in POS2

DescriptionWhen a user saves keymap changes done on the Keymap Editor in POS2, there is an error when trying to process those changes in the backend:

org.codehaus.jettison.json.JSONException: JSONObject["default"] not found.
    at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
    at org.codehaus.jettison.json.JSONObject.getBoolean(JSONObject.java:376)
    at org.openbravo.pos2.KeymapLoader.saveRecord(KeymapLoader.java:90)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:204)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:156)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:88)

Steps To ReproduceIn any POS2 environment:
- Open the Keymap Editor
- Select the Main App Keymap
- Select the single version it has
- Click on SET LAYOUT
- Change the color of a button and save
- Check that there is an error in Errors while importing
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0050266 closedRetail Changes in the Keymap from the POS are not saved in the backoffice generating errors 

-  Notes
(0141187)
hgbot (developer)
2022-09-16 13:41

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1212 [^]
(0141192)
hgbot (developer)
2022-09-16 14:08

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1212 [^]
(0141193)
hgbot (developer)
2022-09-16 14:08

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f3b7a4e9cab5c264985902b8ce184dc7ad7629dc
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 16-09-2022 12:08:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f3b7a4e9cab5c264985902b8ce184dc7ad7629dc [^]

Fixes ISSUE-50268: Takes into account that default parameter is not mandatory

---
M src/org/openbravo/pos2/KeymapLoader.java
---

- Issue History
Date Modified Username Field Change
2022-09-16 13:31 AugustoMauch New Issue
2022-09-16 13:31 AugustoMauch Assigned To => AugustoMauch
2022-09-16 13:31 AugustoMauch Triggers an Emergency Pack => No
2022-09-16 13:41 hgbot Note Added: 0141187
2022-09-16 13:48 AugustoMauch Status new => scheduled
2022-09-16 13:49 AugustoMauch Relationship added has duplicate 0050266
2022-09-16 14:08 hgbot Resolution open => fixed
2022-09-16 14:08 hgbot Status scheduled => closed
2022-09-16 14:08 hgbot Note Added: 0141192
2022-09-16 14:08 hgbot Fixed in Version => 22Q4
2022-09-16 14:08 hgbot Note Added: 0141193


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker