Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0048935 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [POS2] Core | minor | have not tried | 2022-03-30 23:52 | 2022-03-30 23:52 | |||||||
Reporter | mtaal | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0048935: Platform: provide api to update terminal in terminal cache | |||||||||||
Description | Business logic stores property in the Terminal object to be used in the client. The Terminal object is loaded from the server. The client side sometimes updates these properties by doing a webservice request to the server. The corresponding data in the terminal object has to be updated as well. Both the terminal object itself as well as the offline cached object. We could force an incremental refresh to do this, but this would be strange for the user who suddenly sees an incremental refresh. There is currently an api which can be used to do this. One example can be found in the restaurant module: const newTerminal = { ...Terminal.terminal }; newTerminal.obpos2OrgSchema = payload.id; Terminal.set('terminal', newTerminal); OB.App.OfflineSession.updateTerminalInfo( Terminal.context.user.id, Terminal.serialize() ); But apparently the updateTerminalInfo is an internal api. Therefore the request to provide an official api to update the terminal object and the cached version for offline use. | |||||||||||
Steps To Reproduce | See description | |||||||||||
Proposed Solution | Official api to update the terminal object fo offline use | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2022-03-30 23:52 | mtaal | New Issue | |
2022-03-30 23:52 | mtaal | Assigned To | => Triage Platform Base |
2022-03-30 23:52 | mtaal | Triggers an Emergency Pack | => No |
Copyright © 2000 - 2009 MantisBT Group |