Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

Disabling the auditable aspect should be configurable #38

Open
kpagratis opened this issue Jun 23, 2015 · 5 comments
Open

Disabling the auditable aspect should be configurable #38

kpagratis opened this issue Jun 23, 2015 · 5 comments

Comments

@kpagratis
Copy link

We need to be able to take advantage of the Auditable Aspect behaviours on import. Could this be configurable from the form?

@pmonks
Copy link
Owner

pmonks commented Jun 23, 2015

Yes, but in doing so you would lose the ability to control the created and modified dates.

@kpagratis
Copy link
Author

That's fine. I'm trying to rebuild the amp but am having issues.

@kpagratis
Copy link
Author

The issue I'm having is that I believe that is affecting my code running on the onCreateNode event.

@kpagratis
Copy link
Author

I'm having a bear of a time getting this AMP created. I keep getting:
Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:2.1.0:set-version (default-set-version) on project sample-bulk-import-source: Execution default-set-version of goal org.alfresco.maven.plugin:alfresco-maven-plugin:2.1.0:set-version failed: Unable to load the mojo 'set-version' in the plugin 'org.alfresco.maven.plugin:alfresco-maven-plugin:2.1.0' due to an API incompatibility: org.codehaus.plexus.component.repository.exception.ComponentLookupException: org/alfresco/maven/plugin/VersionMojo : Unsupported major.minor version 52.0

Which is annoying considering I'm not running JDK 8.0. Any chance I could get an amp with line 159 commented out in amp/src/main/java/org/alfresco/extension/bulkimport/impl/BatchImporterImpl.java

That would be great. [email protected] would be fine

@pmonks
Copy link
Owner

pmonks commented Jun 24, 2015

The issue I'm having is that I believe that is affecting my code running on the onCreateNode event.

That's possible if your behaviour is bound to the cm:auditable aspect (or a sub-aspect). Are you able to bind to something else?

The version error you're seeing at build time is a bug in the Alfresco SDK: Alfresco/alfresco-sdk#301

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants