Problem: Updating a L2 (level 2) category in the admin causes a failure.
The admin API forgets to send the pid (parent ID) of L2 categories.
Therefore, when updating a L2 category, the validate() method in AdminCategoryController.java fails because its pid is null.
Solution: Add the pid of L2 categories in the data sent from /admin/category/list.
Problem: Updating a L2 (level 2) category in the admin causes a failure.
The admin API forgets to send the
pid
(parent ID) of L2 categories. Therefore, when updating a L2 category, thevalidate()
method inAdminCategoryController.java
fails because itspid
isnull
.Solution: Add the
pid
of L2 categories in the data sent from/admin/category/list
.