fabric:profile-edit doesn't honor the default profile version.

Solution Verified - Updated -

Environment

  • JBoss Fuse 6.0
  • Fuse ESB Enterprise 7.0
  • Fuse ESB Enterprise 7.1

Issue

Setting the default profile version has no effect on the profile-edit command.
See the example below:

JBossFuse:karaf@root>fabricprofile-create --parents default test

JBossFuse:karaf@root>fabric:version-create --parent 1.0 1.1

JBossFuse:karaf@root>fabric:version-set-default 1.1
Changed default version to 1.1

JBossFuse:karaf@root>fabric:profile-edit -p com.mycompany/counter=1 test

JBossFuse:karaf@root> profile-display test
Profile id: test
Version   : 1.1
Attributes:
    parents: default
Containers:

Configuration details
----------------------------

JBossFuse:karaf@root> profile-display --version 1.0 test
Profile id: test
Version   : 1.0
Attributes:
    parents: default
Containers:

Container settings
----------------------------

Configuration details
----------------------------
PID: com.mycompany
  counter 1

Resolution

Bug FABRIC-462 will be fixed in these versions:

Root Cause

Bug FABRIC-462.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.