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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048935
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Coreminorhave not tried2022-03-30 23:522022-03-30 23:52
ReportermtaalView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix 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

0048935: Platform: provide api to update terminal in terminal cache

DescriptionBusiness 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 ReproduceSee description
Proposed SolutionOfficial api to update the terminal object fo offline use
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

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