call the "kDBItem::Clear" method at the beginning of "kDBItem::Load" method
Details
Details
WARNING: Apply patch from D160 revision before testing this patch.
- go to Tools → Query Database section
- run SQL like: UPDATE inp_Categories SET l1_Name = '' WHERE l1_Name = 'Home' to break validation for some category in the middle of categories grid, displayed on Website & Content → Structure & Data
- go to Website & Content → Structure & Data
- confirm, that some category with status Active in the middle of the list have empty "Section Title" field
- select some categories with status Active, including category with empty "Section Title" field, some category before it and some category after it in the grid
- confirm that pressing Decline button do not change Status for category with empty name, and correctly change statuses for other selected categories, and no fatal error happens
- restore category name(s) and statuses, changed in this test
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.