Hi Jesse,

I have found a possible issue in the datachoices feature.

The property-placeholder configuration in in blueprint.xml references
persistant-id as

org.opennms.features.datachoices.cfg

In fact the .cfg suffix should not be on the end of the persistant-id
because this means that the file is incorrectly referenced and is never
loaded by the blueprint. In practice this problem is masked because the
StateManager also loads the org.opennms.features.datachoices.cfg
properties file  in its constructor.

However for correctness, perhaps the blueprint should be changed and we
should look at resolving any conflicts between the StateManager and the
blueprint.

in blueprint.xml
https://github.com/OpenNMS/opennms/blob/c7ff214afafd28d126d84917e3ae5f0d9779fb63/features/datachoices/src/main/resources/OSGI-INF/blueprint/blueprint.xml

<cm:property-placeholder
persistent-id="org.opennms.features.datachoices.cfg">

should be

<cm:property-placeholder persistent-id="org.opennms.features.datachoices">

Craig

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to