cancel
Showing results for 
Search instead for 
Did you mean: 

Import Changes Date Attributes Question

bmarbury
Champ in-the-making
Champ in-the-making
I'm trying to import documents from a .acp file via the web client.  I would like to preserve the created date and modified date as specified in the xml, but the import changes them to the current date/time.

Is there any way around this?
3 REPLIES 3

bsaga
Champ in-the-making
Champ in-the-making
Hello,

i have the same problem.

Did you find a solution?

Thanks for your help

bmarbury
Champ in-the-making
Champ in-the-making
No, sorry. 

I may have to dive into the code.  If I figure it out, I'll post a reply.

Any Alfresco engineers or partners know this off the top of your head?

mdutoo
Champ on-the-rise
Champ on-the-rise
Hi bmarbury

In 2.x you could disable the behaviour of the Auditable aspect, but as of 3.1 AuditableProperties (like cm:created) are managed directly at the node DAO level. According to comments there, auditable properties are never set manually (and the code explicitly forbids it).

It's ok as long as you see these properties as records of what happens in a given instance of Alfresco (even an upgraded one). However if you need properties that mean date of creation externally to alfresco and that are manually set, consider defining your own properties for this purpose (like author vs creator properties).

Regards,
Marc