cancel
Showing results for 
Search instead for 
Did you mean: 

extending generalclassifiable

ronald
Champ in-the-making
Champ in-the-making
Hi,

I have duplicated the manage categories for my own type of categories eg. contractClassifiable i have a custom bean ContractCategoriesBean and custom jsp files. When i try to add a category i get an error

org.alfresco.error.AlfrescoRuntimeException: Missing classification: {nxp.contractFilingModel}contractClassifiable
   at org.alfresco.repo.search.impl.lucene.LuceneCategoryServiceImpl.createRootCategory(LuceneCategoryServiceImpl.java:334)

Does anybody know how to fix this?

TIA

Kind Regards,

Ronald Vermeire
3 REPLIES 3

ronald
Champ in-the-making
Champ in-the-making
Hi,

This is a follow up of my above post. I did some more investigation and maybe it has something to do with the file categories.xml in alfresco bootstrap. Should i have a seperate categoryRoot element with my custom Aspect. Has anybody done this before? Can somebody confirm this? Should i start of with a clean database to test this or can i execute the bootstrap files in some other way?

Regards,

Ronald Vermeire

rivarola
Champ on-the-rise
Champ on-the-rise
Hello Ronald,

Yes, you should have a new category root with exactly the same name as the aspect you defined for the category system to be consistent.

ronald
Champ in-the-making
Champ in-the-making
Thanks rivarola,

I noticed there is a major redesign in version 2.9 in the categories part the jsp pages and their backing beans change and also tags will be introduced, so i think i wait until that.


Regards,

Ronald Vermeire