Hi all
As per https://jackrabbit.apache.org/filevault/filter.html update filter is deprecated and we need to use update_properties instead. But this doesn't work . When we replacfe this filter, the build fails with an error which says No enum constant org.apache.jackrabbit.vault.fs.api.ImportMode.UPDATE_PROPERTIES . Does any one know how we can solve this issue ?
Thanks
Veena
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi @kautuk_sahni Oh . actually forgot to update here. I did update the pom.xml to get the latest bundles as I mentioned in https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fix-no-enum-constan... . But that resulted in a loop of issues. Since it need time and effort to change and resolve all the issues and then make sure the project is not affected, we decided not to make that change and hence we went ahead with "update" mode itself. That meant , any chnage we made via code for /conf wont get deployed and we are now manually packaging it from our local and installing it as a separate package.
Hi @VeenaVikraman
Could you please check the fileVault bundle (Apache Jackrabbit FileVault Core Bundle(org.apache.jackrabbit.vault) ) version in AEM , for me its 3.4.0 and the link you have shared it is for Version: 3.7.2
I think update_properties is introduced in 3.6.4
https://issues.apache.org/jira/browse/JCRVLT-643
https://github.com/apache/jackrabbit-filevault/commit/383356c109e0d2a1b4e3478ec389d80937e6292b
Thanks @arunpatidar
I am not sure if I am looking at the right values, but this is what I see in my pom.xml. I cannot find org.apache.jackrabbit.vault specifically.
I think , I got this . I updated this version to the latest one , which inturn downloaded the org.apache.jackrabbit.vault latest version of 3.7.2 . But changing this is spiraling into many more issues in the validations.
Please check this with your AEM version as well, otherwise package installation won't be working as expected if AEM has bundle lower than 3.6.4
That's strange. I don't see the vault package deployed in my Felix console at all .... I am using AEM as Cloud
Hi @VeenaVikraman
You need to check the bundles not the dependency .
@VeenaVikraman Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Hi @kautuk_sahni Oh . actually forgot to update here. I did update the pom.xml to get the latest bundles as I mentioned in https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-fix-no-enum-constan... . But that resulted in a loop of issues. Since it need time and effort to change and resolve all the issues and then make sure the project is not affected, we decided not to make that change and hence we went ahead with "update" mode itself. That meant , any chnage we made via code for /conf wont get deployed and we are now manually packaging it from our local and installing it as a separate package.