Red Hat Bugzilla – Bug 1313481
Enable operation of already enabled datasource has different result on EAP6 and EAP7
Last modified: 2016-06-06 14:57:07 EDT
Description of problem:
When running enable operation on already enabled datasource the operation fails on EAP6. It passes on EAP7.
If this is expected, a test case must be updated for EAP7.
Version-Release number of selected component (if applicable):
JON3.3.5 with eap plugin pack update03-DR01
From eap7 server.log:
2016-03-01 11:29:57,544 INFO [org.jboss.as.connector] (management task-1) WFLYJCA0093: The 'enable' operation is deprecated. Use of the 'add' or 'remove' operations is preferred, or if required the 'write-attribute' operation can used to set the deprecated 'enabled' attribute
We may remove enable/disable operations (in the plugin descriptor) if EAP7 no longer support enable/disable
As the log level indicates, it's not a regression. EAP team has deprecated the enabled attribute and corresponding operations. I believe that if the EAP team deprecated them instead of removing, we should simply do the same. That is, update the plugin attribute and operation descriptions.
Is that fine with you Larry?
Yes. That is fine.
Pull request sent https://github.com/rhq-project/rhq/pull/217
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions