Skip to content

JCRVLT-485 Ignore mandatory protected properties from mix:versionable#110

Closed
stefanseifert wants to merge 1 commit intoapache:masterfrom
stefanseifert:feature/JCRVLT-485-versioning-props-fix
Closed

JCRVLT-485 Ignore mandatory protected properties from mix:versionable#110
stefanseifert wants to merge 1 commit intoapache:masterfrom
stefanseifert:feature/JCRVLT-485-versioning-props-fix

Conversation

@stefanseifert
Copy link
Member

No description provided.


private static final Collection<Name> ALLOWED_PROTECTED_PROPERTIES = Arrays.asList(NameConstants.JCR_PRIMARYTYPE,
NameConstants.JCR_MIXINTYPES);
// ignore mandatory protected properties from mix:versionable, they are handled specifically in filevault (JCRVLT-485)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we should exclude all properties listed in

from both the mandatory check as well as the protected check. WDYT?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, i think this makes sense - updated the PR

…ies which are handled specially in filevault
@stefanseifert stefanseifert force-pushed the feature/JCRVLT-485-versioning-props-fix branch from 8d485a9 to 409ffd5 Compare December 7, 2020 14:51
@kwin kwin self-requested a review December 7, 2020 14:55
@kwin
Copy link
Member

kwin commented Dec 9, 2020

I committed a slightly modified version in 0fa305d.

@kwin kwin closed this Dec 9, 2020
@stefanseifert stefanseifert deleted the feature/JCRVLT-485-versioning-props-fix branch December 9, 2020 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants