More in this section
Forums / Suggestions / Deleting categories that are usesd or have children - warning needed.

Deleting categories that are usesd or have children - warning needed.

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Markus
    Markus avatar
    2763 posts
    25 Nov 2005
    17 Aug 2012
    Link to this post
    I had a couple of categories like

     - 2011
     - 2012
     - 2013

    Wanted to delete 2011 and 2012 and checked the checkbox. Did not see that the checkbox of Photos was also checked .

    I figured out how it was checked. When I wanted to expand Photos I clicked about two pixel to far left of the arrow for expanding. This resulting in selecting the checkbox of Photo. Now when I expanded it the checkbox styed checked. 

    Checked the two I wanted to delete and clicked delete. Resulting in deleting every categorie even the once I had noch ckecked (2013) because Photos was checked.

    Hard to explain screencast will explain better.

    Of course I had many more categories under Photos. So this stupied mistake made me a lot of work. 

    So here is what I think should happen

    a) only when you click the checkbox it should be checked not like

    b) if you have a parent categorie checked and want to delete it it should warn you that it will delete ALL children and grandchildren and grand grand children. Yes I had quite a hiarchiy

    c) maybe it should only be possible to delete categories that are not used

    d) maybe it should only be possible to delete parent categories as long as there are childern

    I know the user has to be carefull what they delete. But let me tell you from my own experiance now. Sh.. happens. 

1 posts, 0 answered