Unable to Update Dynamic Model
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2011 12:20 PM
Hi there
I have a dynamic content model that defines a bunch of types and aspects. I got the following error when attempting to add a property to one of these custom aspects - let's call it AspectA:
I am aware that only incremental changes are allowed during updates to dynamic models but I'm not deleting or renaming properties. Is it because I'm making a change to an aspect that is mandatory to other aspects that I'm getting this issue? Is there any way around it (other than deleting all associated content or re-creating the model)? My concern is that I may not be able to update the content model on the production system.
Cheers
I have a dynamic content model that defines a bunch of types and aspects. I got the following error when attempting to add a property to one of these custom aspects - let's call it AspectA:
org.alfresco.error.AlfrescoRuntimeException: 01170049 Failed to validate model update - found non-incrementally updated ASPECT '{http://www.alfresco.org/model/test}AspectC'
Please note that AspectC includes AspectB in the mandatory aspects block. Also AspectB includes AspectA in the mandatory aspects block.I am aware that only incremental changes are allowed during updates to dynamic models but I'm not deleting or renaming properties. Is it because I'm making a change to an aspect that is mandatory to other aspects that I'm getting this issue? Is there any way around it (other than deleting all associated content or re-creating the model)? My concern is that I may not be able to update the content model on the production system.
Cheers
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2011 12:34 PM
Can you please post your model here for reference.
Thanks,
Jan
Thanks,
Jan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2011 06:11 AM
I've PM'd you the content model as I'm not sure whether the customer would be happy with me making it public.
Regards
Mark
Regards
Mark
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2011 09:31 AM
Hi, there
Any solution on this?
I found this as a bug in Alfresco Enterprise 3.4.0 (https://issues.alfresco.com/jira/browse/ALF-7342), but I don't know if there's been a correction in the Community Edition. I'm using 3.4.d now, and I'm getting this same error, except that for me the aspect I'm trying to change in is a mandatory aspect to a type, and not to another aspect.
Thanks in advance,
gil
Any solution on this?
I found this as a bug in Alfresco Enterprise 3.4.0 (https://issues.alfresco.com/jira/browse/ALF-7342), but I don't know if there's been a correction in the Community Edition. I'm using 3.4.d now, and I'm getting this same error, except that for me the aspect I'm trying to change in is a mandatory aspect to a type, and not to another aspect.
Thanks in advance,
gil
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2012 12:08 PM
As per the JIRA, it is fixed in Enterprise 3.4.2 and higher. It should also be resolved in Community 4.0 (at time of writing the latest release is 4.0.c).
Regards,
Jan
Regards,
Jan
