News:

Looking for documentation? Take a look on our wiki

Main Menu

BUG: Possible to make a child category a child of itself

Started by Ben, January 16, 2012, 01:57:08 AM

Previous topic - Next topic

Ben

Replication:
Create 1 top level category. (Cat A)
Create a 2nd Category as a child of A.(Cat b)

edit Cat b - from the drop down "category ordering " you can select cat b....

Cat b will now vanish completely from the Category list. As it now is a child of itself. It will not be edittable

To fix: use backend mysql editor to access jos_virtuemart_category_categories .. you will see a entry that the Parent_id entry is the same as the child_id....edit the parent to 0(top level).

FIX: Do not allow admins to select a category as a child of itself.

Edit: VM 2.0.0 Joom 1.7



Cleanshooter

Thanks for the info... this should be fixed in the next release!
- Cleanshooter

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/