Steve Chapman created KARAF-5784:
------------------------------------
Summary: kar deployer truncates leading zeros in feature version
so feature cannot be installed and started
Key: KARAF-5784
URL: https://issues.apache.org/jira/browse/KARAF-5784
Project: Karaf
Issue Type: Bug
Affects Versions: 4.0.9
Reporter: Steve Chapman
A kar that includes a feature.xml which defines a feature with a version
including leading zeros will not complete feature installation or be started.
For example if the feature is:
<feature install="true" name="somefeature"
version="12.345.01-SNAPSHOT">...</feature>
It will not install - all its component features and bundles will successfully
install but the feature itself will not and no error message is logged to give
any indication of the issue.
Simply changing the version string to not have leading zeros avoids the
problem, the following feature installs ok, i.e.
<feature install="true" name="somefeature"
version="12.345.10-SNAPSHOT">...</feature>
The problem was very hard to identify because of the lack of logging indicating
any issue in resolving the feature's mangled version.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)