Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Web Fragments: Version of Host
Hi,
I have an asset publisher web fragment with the reference to the host: Fragment-Host: com.liferay.asset.publisher.web; bundle-version="[1.0.0, 2.0.0)"
After Liferay patching I got the actual Fix Pack. At the Liferay start, I get a warning: Host com.liferay.asset.publisher.web=bundle-version="[1.0.0,2.0.0)" for this fragment/require bundle cannot be found on the classpath. In the Felix Web console, the host bundle has version 1.10.23. Should I update the version in the web fragment or do I have to leave it as it is?
Thank you!
As usual the answer would be: it depends...
The version range determines to which host you want to be compatible. So if your customization is compatible to version 1.0.0 you can keep it like that. If your customization is working only on version 1.10.23 and above you should update the entry.
Thank you.
I thought that the reason for the classpath warning is the updated version of the host bundle that comes with the fix pack.
Powered by Liferay™