cancel
Showing results for 
Search instead for 
Did you mean: 

Found 2 integrity violations when edit an own space

nawja
Champ in-the-making
Champ in-the-making
First of all, i want to explain some steps i have followed in my project.

1.- I have created my own aspect to customize a space with my metadata. This aspect has a parent folder.
      My own metadata are, f.e : country, company, typedocu…..
2.- I have created a new Wizard to create my new spaces. This bean extends CreateSpaceWizard
3.- Also i have created a new bean to show the details of my new space. This bean extends SpaceDetailsbean.
     I have overriden the navigation to show the details of my space.

Untill here all is success and already checked….it works fine.

The problem occurs in the next step :

4.- I have created a new Dialog to Edit my new space. This bean extends EditSpaceDialog
      When my space is opened in edit mode, if i do or not any change in my space, and save it, i get the next error :

    
Found 2 integrity violations:
        Mandatory property not set: Node: workspace://SpacesStore/989de3e6-6efd-4 … 4acfd74aa6
        Type: {http://www.alfresco.org/model/content/1.0}auditable
        Property: {http://www.alfresco.org/model/content/1.0}creator

        Mandatory property not set: Node: workspace://SpacesStore/989de3e6-6efd-4 … 4acfd74aa6
        Type: {http://www.alfresco.org/model/content/1.0}auditable
        Property: {http://www.alfresco.org/model/content/1.0}created

I have checked it….but i can not find the problem.
If i check the node browser, my space has created in correct way, with my own metadata, and with the folder metadata (uifacets, auditable….aspects)

I don´t know if is my own error or is a bug of Alfresco Enterprise 2.1

Can someone helps me?

Thanks in advance
1 REPLY 1

nyronian
Champ in-the-making
Champ in-the-making
Did anyone find an answer to this?  I am getting the same result when creating a space within a custom wizard.  It is very odd….working to isolate and track the problem.