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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049041
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Restaurantscriticalalways2022-04-12 15:302022-04-18 23:54
Reportertimothee_catteeuwView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
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

0049041: JIRA 1919 - DIGIBOARD - It is not necessary to send call digiboard after switching a product from stocked product to non-stocked

DescriptionIt is not necessary to send call digiboard after switching a product from stocked product to non-stocked product because it send a stock equals to 0 like below :

127.0.0.1 - - [12/Apr/2022:15:19:14 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

And at the end the product is removed from digiboard

However it is necessary to call digiborad when a product switch from non-stocked to stocked.
Steps To ReproduceCorrectly configure your stockserver by adding this configuration in openbravohw.properties file :
stockserver.digiboard.url = http://127.0.0.1/api/updateStocks [^]

restart the Hardware manager.

go to Webpos and login
open stock server screen
switch a product to stocked product and change its quantity
2 calls are done, example :
127.0.0.1 - - [12/Apr/2022:15:28:23 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"
127.0.0.1 - - [12/Apr/2022:15:28:23 +0200] "GET /api/updateStocks?code=12671&quantite=00002 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

--> OK

switch the same product from stocked to non-stocked product

1 call is done like below
127.0.0.1 - - [12/Apr/2022:15:29:50 +0200] "GET /api/updateStocks?code=12671&quantite=00000 HTTP/1.1" 200 - "-" "Jetty/9.4.26.v20200117"

--> KO no call needed here
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0136555)
mtaal (manager)
2022-04-18 23:54

https://gitlab.com/obcustomers/AGAP/org.openbravo.stockserver/-/merge_requests/19 [^]

- Issue History
Date Modified Username Field Change
2022-04-12 15:30 timothee_catteeuw New Issue
2022-04-12 15:30 timothee_catteeuw Assigned To => Retail
2022-04-12 15:30 timothee_catteeuw Triggers an Emergency Pack => No
2022-04-12 15:31 timothee_catteeuw Steps to Reproduce Updated View Revisions
2022-04-18 23:52 mtaal Assigned To Retail => mtaal
2022-04-18 23:54 mtaal Status new => scheduled
2022-04-18 23:54 mtaal Note Added: 0136555
2022-04-18 23:54 mtaal Status scheduled => resolved
2022-04-18 23:54 mtaal Resolution open => fixed
2022-04-18 23:54 mtaal Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker