Reference to tickets:
Marked as "Cannot Reproduce" and closed. Here is a code sample to reproduce both of them.
- Sample 1: created categories where leftCategoryId and rightCategoryId are OK. Allthough, groupId is 0. Thus, a search for categories within this group returns nothing.
- Sample 2: associates these categories to a group (the global one). groupId is OK, but leftCategoryId and rightCategoryId are wrong. When moving them manually in the BackOffice, it restores the right leftCategoryId and rightCategoryId.
After sample java codes are the MySQL outputs.
- Before code execution
- After Sample1.java
- After Sample2.java (database was reseted after Sample1)
- After moving manually one category in BackOffice, and putting it back to its place