Steps to Replicate
- In Alfresco One v18.104.22.168 Share UI, login as admin user.
- Navigate to Admin Tools> Categorry Manager
- Hover on 'Category Root' and click on the + to add a new category item
- Add a category name and click on 'OK'.
- A "Successfully Added Category" message is displayed.
- Actual: New category is not visible in the list immediately.
- Expected: New category is visible in the list immediately.
- Workarounds: User need to manually refresh the browser and the new category now appears in the list. You can also click on another "Tool" and then go back to the "Category Manager" and the new category will also appear.
UPDATE on Jan 25, 2016:
Another customer reported incorrect message display when create/edit/delete category from Category Manager when Solr4 subsystem in used. This appears to be a bug that misleading the originally reported behavior as buggy when using Solr4 and create new category in 5.x*
- Expected: For Solr4, message "New category successfully queued with SOLR4 for addition. Please note that it may take a few moments until it is added; you will need to refresh to see the change once it has been actioned" should display.
- Actual: For Solr4, message "Successfully Added Category" is displayed, which is incorrect.
manually updated the three Create/Edit/Delete category webscripts:
And replace this piece of code:
// The message depends on the search service in use
var messageKey = "message.removeCategory.success";
if (search.searchSubsystem == "solr")
if (search.searchSubsystem == "solr" || search.searchSubsystem == "solr4")