Red Hat Bugzilla – Bug 110644
500 Error assigning Item to abstract category
Last modified: 2007-04-18 12:59:40 EDT
Description of problem:
When creating a new category, choose 'No' for 'Can you place objects
in this category?'
Attempt to assign an item to this category.
Get a 500 error.
This should be replaced with an intelligble error message, or the
abstract categories should be removed from the category assignment widget.
As an asside, it is a bit confusing that when creating a category, one
is asked: 'Can you place objects in this category?' which when viewing
the category, corresponds to 'Is Abstract' property.
500 Servlet Exception
com.arsdigita.util.AssertionError: You cannot categorize an object within
an abstract category. If you are seeing this message then your UI is
you to do something that you are not allowed to do and you should email
your site administrator.
We'll need two different approaches for dealing with the category
assignment step. In the non-JS form, simply filtering out the abstract
can't filter out the categories, because the abstract catgeories will
likely be the top level or two & thus if they are removed there would
be no way to navigate to the lower levels. So for the JS version, we'd
probably want to make them unclickable.
On a related note, I don't believe the assign categories step takes
any account of the 'isEnabled' property either.....Not that there is
any UI to set this yet see bug 110728 in FeatureZilla.
Not a regression from Troika
Dan's updated ItemCategoryStep resolves this problem.
QA_READY has been deprecated in favor of ON_QA. Please use ON_QA in the future.
Moving to ON_QA.
Closing old tickets