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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030999
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2015-10-01 08:442016-07-28 08:15
ReporterguillermogilView Statuspublic 
Assigned Toguilleaer 
PriorityhighResolutionfixedFixed in VersionRR16Q1
StatusclosedFix in branchFixed in SCM revision85e056883c1c
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030999: If you add a product unit with the Check stock screen, that order goes to errors while importing

DescriptionIf you add a product unit with the Check stock screen, that order goes to errors while importing:

org.openbravo.base.exception.OBException: Error in OrderLoader:
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:353)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:202)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:159)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:91)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:41)
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:59)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:305)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:701)
Caused by: org.codehaus.jettison.json.JSONException: JSONObject["id"] not found.
    at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
    at org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:487)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:121)
    at org.openbravo.retail.posterminal.OrderLoader.createOrderLines(OrderLoader.java:1103)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:259)
    ... 12 more

Steps To Reproduce1. Login WebPOS and in a new ticket add "Multi-tool" product using search
2. Edit the line and click on Check stock button
3. The product card is displayed: click on Add to receipt. The product is properly added, now you have quantity = 2
4. Pay the ticket
5. Go to the backend and go to "Errors while importing window"

The order is there
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029036 closedjonalegriaesarte JSON object are arriving without warehouse id in the generated JSON object 
blocks defect 0032081 closedranjith_qualiantech_com [SERQA 625] Incorrect behaviour of "check stock" button in line details 

-  Notes
(0081054)
hgbot (developer)
2015-10-16 12:39

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 85e056883c1cf9e7ab6119e56ab88d2b28fee555
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Fri Oct 16 09:43:19 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/85e056883c1cf9e7ab6119e56ab88d2b28fee555 [^]

Fixed issue 30999: Orders are not going to errors when order line qty is increased through stock window

---
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js
---
(0081101)
hgbot (developer)
2015-10-19 20:44

Repository: tools/automation/pi-mobile
Changeset: 016c34e8f68ae606fb6d6990d3368ae405582aa8
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Mon Oct 19 17:53:10 2015 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/016c34e8f68ae606fb6d6990d3368ae405582aa8 [^]

Related to issue 30999: Add test

---
M src-test/org/openbravo/test/mobile/common/selenium/javascript/TestId.java
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sales/I30999_IncreaseQtyFromStockWindow.java
---

- Issue History
Date Modified Username Field Change
2015-10-01 08:44 guillermogil New Issue
2015-10-01 08:44 guillermogil Assigned To => Retail
2015-10-01 08:44 guillermogil Resolution time => 1444255200
2015-10-01 08:44 guillermogil Triggers an Emergency Pack => No
2015-10-01 13:45 adrianromero Assigned To Retail => adrianromero
2015-10-02 11:39 Orekaria Status new => scheduled
2015-10-07 11:00 avicente Issue Monitored: avicente
2015-10-07 12:12 agete Issue Monitored: agete
2015-10-07 13:34 Orekaria Assigned To adrianromero => Retail
2015-10-07 13:34 Orekaria Status scheduled => acknowledged
2015-10-15 15:23 guilleaer Assigned To Retail => guilleaer
2015-10-16 12:39 hgbot Checkin
2015-10-16 12:39 hgbot Note Added: 0081054
2015-10-16 12:39 hgbot Status acknowledged => resolved
2015-10-16 12:39 hgbot Resolution open => fixed
2015-10-16 12:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/85e056883c1cf9e7ab6119e56ab88d2b28fee555 [^]
2015-10-19 11:41 marvintm Review Assigned To => marvintm
2015-10-19 11:41 marvintm Status resolved => closed
2015-10-19 11:41 marvintm Fixed in Version => RR16Q1
2015-10-19 20:44 hgbot Checkin
2015-10-19 20:44 hgbot Note Added: 0081101
2016-02-08 11:22 Orekaria Relationship added blocks 0032081
2016-07-28 08:15 migueldejuana Relationship added related to 0029036


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker