cancel
Showing results for 
Search instead for 
Did you mean: 

Custom aspects are shown twice in share UI

robinho
Champ in-the-making
Champ in-the-making
Hi

I added 5 custom aspects to my content model.
Somehow, there are 2 aspects that are duplicate in the "available to add" menu (in alfresco share).
But when I add 1 of the duplicate aspects in the 'available to add' menu, the other duplicate aspect dissapears. So then the view is OK.

I don't know why the 2 aspects are showing twice. They have exactly the same structure as my other 3.
I redeployed my AMP a couple of times. cleared /work /temp /alfresco /share..
Anybody experienced this before? I don't have any idea left where to search for this issue.
Below you can find an aspect that shows twice.

In my share-config-custom:



<visible>
<aspect name="idewe:productAspect" />
</visible>


<config evaluator="aspect" condition="idewe:productAspect">
       <forms>
               <form>
                   <field-visibility>
                   <show id="idewe:productName" />
                   <show id="idewe:training" />
                   </field-visibility>
                   <appearance>
                           <field id="idewe:productName" label-id="prop.idewe_productName"/>
                           <field id="idewe:training" label-id="prop.idewe_training"/>
               </appearance>
          </form>
           </forms>
   </config>




In my property files:

#ideweSmiley TongueroductAspect
aspect.idewe_productAspect=Idewe Product Aspect
prop.idewe_productName=Productnaam
prop.idewe_training=Opleiding
2 REPLIES 2

vincent-kali
Star Contributor
Star Contributor
Hi robinho,
I'm currently facing exactly the same issue. Could you please tell me if you found the issue ?

Thanks in advance,
Vincent

solved: aspect added twice, in share-config-custom + custom config file embedded in jar.

Vincent