Hello,
I use entity legal to generate legal informations on my website. I put only the "Legal document" in features as I considerate versions as contents which I handle via feeds (It works great with the EXPERIMENTAL entity support).
Also versions are systematically overriden in features as they change the update date when imported.
Is it possible to desactivate the default version export in features (passing it in strongarm which I can choose to take in account or not) and instead use a drush command (or rules) because I would like to do a 0-touch deploy and not change the feature each time ?
Thanks.
Comments
Comment #1
codesidekick CreditAttribution: codesidekick commentedI've fixed the update date issue with Features and added a hook for overriding the name of the published version without affecting Features to the dev branch.
Either way until Drupal generates the next DEV branch release (should have the date 1st of March) or check it out with GIT and let me know.
If you can test it with your set-up and tell me that everything working as it should, I'll merge into the release branch.
thanks,
Comment #2
enorniel CreditAttribution: enorniel commentedThe hook works:
I use :
to use the last updated version automatically.
Comment #3
enorniel CreditAttribution: enorniel commentedSmall miss.
As the hook is apparently not called when an account is created, the popup doesn't appear or doesn't display the version set in the hook. Is it possible to call that hook also in popup event ?
Thanks.
Comment #4
codesidekick CreditAttribution: codesidekick commentedCan you describe the process from start to finish?
I can't find any direct references to published_version in the module, everything uses the getter which has the alter hook as far as I can tell - but there might be an edge case that's I'm not getting.
In the userMustAgree function that the message method calls that also calls getPublishedVersion which runs the alter hook so it should be running for every case. If you can debug it and find out what's up I can get a patch in soon and we can get this in full release.
Comment #5
enorniel CreditAttribution: enorniel commentedMy mistake.
It works. I forgot to set permissions.
Sorry
Comment #6
codesidekick CreditAttribution: codesidekick commentedGreat, glad it worked and thanks for helping me improve the module.
I'll roll this into stable as soon as I've finished adding tests for path functionality.
Comment #7
codesidekick CreditAttribution: codesidekick commentedCommited to 1.5 release.