Bug 1274685 - AssetMgmt: New Repository dialog validation broken when Managed Repository is checked
Summary: AssetMgmt: New Repository dialog validation broken when Managed Repository is...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: CR1
: 6.2.0
Assignee: Walter Medvedeo
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-23 11:06 UTC by Jiri Locker
Modified: 2020-03-27 19:11 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:11:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Locker 2015-10-23 11:06:31 UTC
Description of problem:
* "Finish" button is activated after each change in the form (changing repo name, selecting org. unit) even if the new state is not ready for submitting and so the Finish button is disabled in the next moment. This results in a "blinking" effect, which is distracting and not expected.
* "Next" button is always enabled even if repository name is not valid or no org. unit is selected.

Version-Release number of selected component (if applicable):
6.2.0.ER4

How reproducible:
With ***asset management enabled*** only (you have to log in with kiemgmt role (+ additional role like admin).

Steps to Reproduce:
1. Go to Administration perspective, select Repositories -> New repository.
2. Check Managed Repository checkbox.
3. Select any org. unit.
4. Type some text into Repository Name field.
5. Select a different org unit.

Actual results:
* In step 2, Next button is enabled.
* In steps 4 and 5, Finish button will become enabled for a short period of time.

Expected results:
* Next button should only be enabled if the provided repository name is valid and existing org. unit is selected. 
* Finish button should not be enabled in the first step of the wizard when Managed Repository is checked. In the next step of the wizard, it should only be enabled after a change event that results in a state that is ready for submitting.

Additional info:

Comment 2 Jiri Locker 2015-11-18 09:37:20 UTC
Works perfectly now. Great job, Walter!

Comment 3 Walter Medvedeo 2015-11-18 14:31:59 UTC
Thanks, it's nice to see the BZ list decrease.


Note You need to log in before you can comment on or make changes to this bug.