-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.X EE
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE
-
Component/s: Categories, Staging
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:12
-
Fix Priority:4
-
Git Pull Request:
Category and Vocabulary deletions are not published from Staging to Live:
- Activate Local staging
- Create a vocabulary voc_test
- Create two categories cat_test1 and cat_test2 inside created vocabulary
- Publish both vocabulary and categories from Staging to Live
- Query database and check that vocabulary and category are created at both groupid (two database entries for each object):
select * from assetcategory where name = 'cat_test1' select * from assetcategory where name = 'cat_test2' select * from assetvocabulary where name = 'voc_test'
- Delete created category "cat_test1" at Staging
- Publish again from Staging to Live
- Check category at database
select * from assetcategory where name = "voc_test'
- Expected behavior: category cat_test1 is deleted at both groupids
- Wrong behavior: category cat_test1 is not deleted at live groupid
- Expected behavior: category cat_test1 is deleted at both groupids
- Delete created vocabulary voc_test at Staging
- Publish again from Staging to Live
- Check category at database
select * from assetvocabulary where name = 'cat_test2'
- Check vocabulary at database
select * from assetvocabulary where name = 'voc_test'
- Expected behavior: vocabulary voc_test is deleted at both groupids. Category cat_test2 is also deleted because is inside of that category
- Wrong behavior: vocabulary nor category are not deleted at live groupid
- Expected behavior: vocabulary voc_test is deleted at both groupids. Category cat_test2 is also deleted because is inside of that category
This can causes some duplication issues at Live environment when you delete and recreate a category with same name, see comment: