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

View Revisions: Issue #41901 All Revisions ] Back to Issue ]
Summary 0041901: Services Query is not removing duplicated services in remote mode
Revision 2019-09-30 12:19 by aaroncalero
Steps To Reproduce Log in backend, go to the Preference window and configure the preference 'Enable Remote for Product' with value 'Y'.
Log in WebPOS
Create a new layaway
Search and add the product GPS Mini
The Mandatory services will be shown.
Add two of the services (i.e. Warranty (deferrable) and Warranty (not deferrable))
Click on Continue.
Click on the Show Related Services button of the GPS Mini.

Verify that all services are shown again, even if two of them are already added to the ticket.

If this happens in a Cancel and Replace or in an Order created from a Quotation, it is possible to add the same services again, and the relationship is duplicated in the line. When a ticket with duplicated relations is synchronized, an Error While Importing POS data is generated, with an error containing something like:

Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "c_ordlinservrel_unique"
  Detail: Key (c_orderline_id, c_orderline_related_id)=(98F335761254D06A16E7775158B27884, 86018679E82FB06ABC1921AF6DAAD375) already exists.
Revision 2019-09-30 12:14 by aaroncalero
Steps To Reproduce Log in backend, go to the Preference window and configure the preference 'Enable Remote for Product' with value 'Y'.
Log in WebPOS
Create a new layaway
Search and add the product GPS Mini
The Mandatory services will be shown.
Add two of the services (i.e. Warranty (deferrable) and Warranty (not deferrable))
Click on Continue.
Click on the Show Related Services button of the GPS Mini.

Verify that all services are shown again, even if two of them are already added to the ticket.


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker