Bug 1331538

Summary: Error when trying to save RemoteConnectionFactory configuration
Product: [JBoss] JBoss Operations Network Reporter: Josejulio Martínez <jmartine>
Component: Plugin -- JBoss EAP 7Assignee: Josejulio Martínez <jmartine>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Brychta <fbrychta>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.3.5CC: fbrychta, spinder
Target Milestone: ER01Keywords: Triaged
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-13 15:18:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1327633    

Description Josejulio Martínez 2016-04-28 18:03:02 UTC
Description of problem:
The operation fails when trying to save the configuration of RemoteConnectionFactory, with the message "You need to provide either a connector name OR a discovery-group-name. You provided none."

Version-Release number of selected component (if applicable):
EAP7

How reproducible:
always

Steps to Reproduce:
1. Navigate to an EAP7 instance, Subsystems->messasing-activemq->ActiveMQ Artemis->default->Connection Factories->RemoteConnectionFactory and choose any children (RemoteConnectionFactory or InVmConnectionFactory). 
2. Click on configuration and try to edit anything
3. Click Save

Actual results:
Operation fails with message: "You need to provide either a connector name OR a discovery-group-name. You provided none."

Expected results:
Operation should success. 

Additional info:
I tried setting discovery-group but the operation still fails with the same message.

Comment 1 Josejulio Martínez 2016-05-06 22:13:42 UTC
Working onto this, i noticed that there is a EAP bug that doesn't allow to save the Connection Factory configuration.
Also, it been failing to do this since EAP6 on profiles see Bug 1333929

Comment 3 Josejulio Martínez 2016-11-01 15:05:35 UTC
Merge: b9a60ba 6e7e2b3
Author: Michael Burman <yak>
Date:   Tue Nov 1 16:58:52 2016 +0200

    Merge pull request #274 from josejulio/bugs/1331538-
    
    Bug 1331538 - Error when trying to save RemoteConnectionFactory confi…

commit 6e7e2b3edc442193aa354f8c4ad39fd9d4a04b69
Author: Josejulio Martínez <jmartine>
Date:   Mon Oct 24 10:49:33 2016 -0500

    Bug 1331538 - Error when trying to save RemoteConnectionFactory configuration
    
     Removed property protocol-manager-factory as currently is not working https://issues.jboss.org/browse/JBEAP-4506
     Checks if the (Profile) sufix exists.
     Skips some checks on JMS Queue and JMS Topic
     Changed to readonly two attributes of JMS Queue.