OSCommerce Product Manager

OSCommerce Product Manager for Windows
Tasklist

FS#154 - When changing product category of product without category, product get duplicated.

Attached to Project: OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Monday, 24 January 2005, 20:26 GMT-6
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Monday, 24 January 2005, 20:38 GMT-6
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To Mario A. Valdez-Ramirez (mvaldez)
Operating System All
Severity Low
Priority Immediate
Reported Version any
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If a product has no category, and the category is changed using a group operation, the product is duplicated.

It seems that the product-to-categories table contains a record for the product without category (pointing to category 0). But the OSCPMWin application expects that a product without category does not have a record there. So, it creates a new record without deleting the old one.

Pending to debug the whole behavior, trying to follow OSCommerce.
The question is if a product has no category assigned, then, doe it need a record in product-to-categories or not?
This task depends upon

Closed by  Mario A. Valdez-Ramirez (mvaldez)
Monday, 24 January 2005, 20:38 GMT-6
Reason for closing:  
Comment by Mario A. Valdez-Ramirez (mvaldez) - Monday, 24 January 2005, 20:30 GMT-6


Indeed, OSCommerce inserts a record in products-to-categories pointing to category 0 when selecting the root f the category list.
Note that there is not really a product without category, only products assigned to category 0 (which is the root).

Comment by Mario A. Valdez-Ramirez (mvaldez) - Monday, 24 January 2005, 20:38 GMT-6


Fixed.
Closed.

Loading...