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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051180
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminoralways2022-12-16 12:432022-12-23 09:01
ReporterjetxarriView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Versionpi
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

0051180: Goodby message should enqueue a message to be treated by HardwareManager endpoint

DescriptionGoodby message is not using message structure and it is doing a direct request to the hardware manager, what it is wrong.

Currently, in file org.openbravo.retail.posterminal/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js it is possible to see function "printGoodBye" and how is not enqueueing any message.

It should work similar to "Welcome message" in function "printWelcome".

Apart from that, when the function "printGoodBye" is called, it is being checked that HM is configured and it should not be like that and delegate the responsibility into the class that implement the hardware manager endpoint.


Take into consideration that in POS2 the goodbye function is not being called when the session is closed and it should.
-file web/org.openbravo.retail.posterminal/js/login/model/login-model.js function postCloseSession. This is done for POS1 and it should be in POS2
Steps To Reproduce-Login into Web POS
-Lock screen or do a cashup
Proposed SolutionTake a look to function OB.OBPOSPointOfSale.Print.printWelcome and do the same for Goodbye message.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0144954)
hgbot (developer)
2022-12-23 08:55

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1429 [^]
(0144955)
hgbot (developer)
2022-12-23 08:56

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/947 [^]
(0144956)
hgbot (developer)
2022-12-23 08:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1021 [^]
(0144957)
hgbot (developer)
2022-12-23 09:01

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/450 [^]

- Issue History
Date Modified Username Field Change
2022-12-16 12:43 jetxarri New Issue
2022-12-16 12:43 jetxarri Assigned To => Retail
2022-12-16 12:43 jetxarri Triggers an Emergency Pack => No
2022-12-16 12:50 jetxarri Description Updated View Revisions
2022-12-23 08:55 hgbot Note Added: 0144954
2022-12-23 08:56 hgbot Note Added: 0144955
2022-12-23 08:59 hgbot Note Added: 0144956
2022-12-23 09:01 hgbot Note Added: 0144957


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker