OSCommerce Product Manager for Windows
FS#356 - Wrong product list loaded when category tree is clicked...
Attached to Project:
OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 16 February 2010, 20:59 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Thursday, 18 February 2010, 21:36 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Tuesday, 16 February 2010, 20:59 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Thursday, 18 February 2010, 21:36 GMT
|
DetailsIn a customized osCommerce store, the OSCPMWin client loads the wrong product list when clicking a given category in the category tree. It seems it load the previous on listed in the tree (for example, Prueba category is listed before Relojes, but clicking Prueba loads the Relojes products).
Pending to check if this is a problem with this store only or a general one. |
This task depends upon
Closed by Mario A. Valdez-Ramirez (mvaldez)
Thursday, 18 February 2010, 21:36 GMT
Reason for closing: Fixed / Implemented
Thursday, 18 February 2010, 21:36 GMT
Reason for closing: Fixed / Implemented
Replaced procedure PRopm_LoadCategoryBoxList by PRopm_LoadCategoryBoxList2 in main.pas, which is an improved version with faster code and with better handling of corrupted tree structures (crossed and circular references). This code is based on the code in the PRopm_AddCatTreeNode procedure.
Well, it seems we messed up the TreeIndex and ListIndex fields in the global category array when loading them in PRopm_LoadCategoryBoxList2.
Pending to fix. Chaning priority.