Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041899Retail ModulesWeb POSpublic2019-09-30 10:102020-10-28 17:00
joniturralde93 
Retail 
highminoralways
closedduplicate 
5
 
RR20Q4 
marvintm
No
0041899: It is possible to have a summary product category with products
Right now, if you have a product category with "Summary level" included in an assortment, this category is loaded in two different queries for category tree model, so following error is thrown:

OB.Dal.insertData: model insert 'ProductCategoryTree'; SQLError: code: 6, message: could not execute statement due to a constraint failure (19 UNIQUE constraint failed: m_product_category_tree.id);

This is caused because the first query is suposed to retrieve categories with product (with no summary level), and the second one retrieves the summary level categories, but in this case both queries return that category.
1. Log into https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]
2. Go to Product Category window, to "Lighting & Electronics"
3. Check Summary Level
4. Do a login in POS
5. Master Data Loading Error (in console there is the error previously mentioned)
1. Not allowing to assign a summary level category to a product.
2. Not allowing to check a category with products as summary level.
No tags attached.
duplicate of defect 0044515 closed prakashmurugesan88 Updating the "issummarylevel" property of a product category can lead to inconsistent data 
Issue History
2019-09-30 10:10joniturralde93New Issue
2019-09-30 10:10joniturralde93Assigned To => Retail
2019-09-30 10:10joniturralde93Triggers an Emergency Pack => No
2019-09-30 11:18PracticsIssue Monitored: Practics
2020-10-28 16:24egoitzResolution time => 1605222000
2020-10-28 16:24egoitzTypefeature request => defect
2020-10-28 17:00marvintmReview Assigned To => marvintm
2020-10-28 17:00marvintmRelationship addedduplicate of 0044515
2020-10-28 17:00marvintmStatusnew => closed
2020-10-28 17:00marvintmResolutionopen => duplicate
2020-10-28 17:00marvintmFixed in Version => RR20Q4

There are no notes attached to this issue.