// Add your reply above here
==================================================
Michael Herring updated this ticket at April 8th, 2010 @ 03:05 PM
Once an invalid category is entered when creating a new story/media its difficult to choose the root category (/) without first choosing another valid category or under certain circumstances entering a backslash.
Below are the steps to reproduce:
1. Login to Bricolage (stuff seems to get cached so we need to start from a clean slate)
2. Click on New Story/New Media from the appropriate workflow
3. In the primary category enter '/foobar' -> will see the "Unable to add category that does not exist" message
4. Change the primary category to '/' (it worked correctly)
5. Change the primary category to '/test' -> will see the "Unable to add category that does not exist" message
6. Change the primary category to '/' (it fails to remove the error but does correctly show the root category in the dropdown list of possible categories)
7. Choose the root category from the dropdown list (still fails and error remains)
8. Change the primary category to '\/' (it works, error is removed category of '/' is selected)
There seems to be some sort of problem with a regular expression as the escaping backslash returns functionality. Once the process has entered the error state future attempts to change to the root category fail immediately after entering an invalid category.
I'm using FireFox 3.5.9 and have also tested on Safari 4.0.5
--------------------------------------------------------------------------------
Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/157-choosing-the-root-category-for-new-storymedia-may-fail-master-4fb928c
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/157-choosing-the-root-category-for-new-storymedia-may-fail-master-4fb928c/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com
==================================================
Michael Herring updated this ticket at April 8th, 2010 @ 03:05 PM
Once an invalid category is entered when creating a new story/media its difficult to choose the root category (/) without first choosing another valid category or under certain circumstances entering a backslash.
Below are the steps to reproduce:
1. Login to Bricolage (stuff seems to get cached so we need to start from a clean slate)
2. Click on New Story/New Media from the appropriate workflow
3. In the primary category enter '/foobar' -> will see the "Unable to add category that does not exist" message
4. Change the primary category to '/' (it worked correctly)
5. Change the primary category to '/test' -> will see the "Unable to add category that does not exist" message
6. Change the primary category to '/' (it fails to remove the error but does correctly show the root category in the dropdown list of possible categories)
7. Choose the root category from the dropdown list (still fails and error remains)
8. Change the primary category to '\/' (it works, error is removed category of '/' is selected)
There seems to be some sort of problem with a regular expression as the escaping backslash returns functionality. Once the process has entered the error state future attempts to change to the root category fail immediately after entering an invalid category.
I'm using FireFox 3.5.9 and have also tested on Safari 4.0.5
--------------------------------------------------------------------------------
Assigned: Bugs (at bricolage)
State: new
View this ticket online: http://bricolage.lighthouseapp.com/projects/29601/tickets/157-choosing-the-root-category-for-new-storymedia-may-fail-master-4fb928c
Stop being notified of this ticket's changes: http://bricolage.lighthouseapp.com/projects/29601/tickets/157-choosing-the-root-category-for-new-storymedia-may-fail-master-4fb928c/watch
Update your Profile: http://bricolage.lighthouseapp.com/profile
Support: support@lighthouseapp.com or http://help.lighthouseapp.com