Bug 1278542

Summary: "create-repo" command from kie-config-tool does not work properly in BPM Suite 6.1.x
Product: [Retired] JBoss BPMS Platform 6 Reporter: Amana <ajuricic>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Tomas David <tdavid>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: etirelli, tdavid
Target Milestone: CR1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1278888 (view as bug list) Environment:
Last Closed: 2020-03-27 19:03:24 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: 1278888    

Description Amana 2015-11-05 18:15:59 UTC
Description of problem:

It is not possible to create a project for a repository which has been created using "kie-config-tool". Although the repository is created successfully, the "Ok" button to create a project does not work in business-central. If you try to create a project for any other repository created in bc, the "Ok" button works.

Version-Release number of selected component (if applicable):
BPM Suite 6.1.4 (also tested in 6.1.2).

How reproducible:
Always

Steps to Reproduce:
1) In BPM Suite, create a organizational unit (i.e. demo);
2) Started kie-config-tool (./kie-config-cli.sh online);
3) Created a repository called "hello" and empty remote origin as follows:

  >>Please enter command (type help to see available commands): 
    create-repo
  >>Repository alias:hello
  >>User:brmsuser
  >>Password:
  >>Remote origin:

4) As it was created successfully, I executed "push-changes";
5) Assigned the repository to an existing "Organizational Unit" (demo) as follows: 
   add-repo-org-unit
 >>Organizational Unit name:demo
 >>Repository alias:hello

6) As it was created successfully, I executed "push-changes";
7) Restarted BPMS server and after accessing it using "brmsuser", I am able to see the new repository assigned to the OU;
6) Going to "Authoring -> Project Authoring -> demo -> hello" repository, tried to create a new project by clicking on "New Item -> Project". It allowed me to input a name, but after clicking on "OK" button... nothing happens.

If you go to any other repository created on bc, the "OK" button will work.

Actual results:
Nothing happens by clicking on "Ok" button after creating a project.

Expected results:
It should work.

Additional info:

Comment 5 manstis 2015-11-10 15:18:45 UTC
I tested this with Community 6.4.0-SNAPSHOT (@10-Nov-2015) and I could create a new Project in the new Repository (using the given steps) just fine. I suspect this is possible due to this: https://github.com/droolsjbpm/kie-wb-distributions/commit/17093d13c5c54ecfafef42b7cd36ac5e07cdee2d. 

This commit is also in the latest 6.3.x Product branch so I am setting this to MODIFIED for QE to verify.

Comment 7 Tomas David 2015-11-20 07:09:45 UTC
Verified with BPMS 6.2.0.CR1.