Posted - 11/22/2026 : 13:25:59
Hi ECT team, I recently came across a small issue with manufacturer IDs that I thought might be worth reporting. When a manufacturer is deleted, ECT removes its records from searchcriteria and multisearchcriteria, but apparently leaves the old manufacturer ID in products.pManufacturer. Since ECT reuses available scID values, this can cause unexpected results. In my case, a newly created manufacturer (Y) received ID 38, previously used by X. As a result, the old X products also appeared on the Y manufacturer page. products.asp?man=Y showed Y and X products, which both had pMaufacturer assigned to ID=38. I checked incsearchcriteria.asp and noticed that the delete routine does not update products.pManufacturer, while incproducts.asp still uses that field to filter products by manufacturer. I have corrected the affected records in my database, so everything works fine again, but I wanted you to know. Greetings, Jaap Perhaps ECT could prevent deleting a manufacturer while products are still assigned to it, or clear the old references when deleting it. Just wanted to bring this to your attention. Thanks for maintaining ECT! jaapg@promanent.comPromanent b.v. www.promanent.com | www.vaarwinkel.nl
|