Red Hat Bugzilla – Bug 1027841
The same key can be used multiple time when adding property in "New resource" wizard
Last modified: 2017-01-17 05:19:15 EST
There is no uniqueness check when adding properties in "New resource" wizard. Thus it is possible to use the same key multiple times and consequently the creation process will fail with an error. User will also lose all entered data.
An example of such behavior is declaration of properties when creating new XA Datasource
How to reproduce:
1) navigate to XA datasources page
2) start creating new XA Datasource
3) In property declaration step create multiple properties with the same key
4) finish the wizard
expected result: user is not allow to use the same key multiple times in property declaration step
actual result: creation process is finish with error
In agreement with Catherine we've decided that UX issues will be tracked separately.
Issue moved under the UX component.
Also moved to 6.4 as this issue is still valid for 6.3. Use ack flags to decide whether we want to go through with it or not.
This sounds like we just need to do validation on the property declaration step to ensure that the key names are unique. I'm not sure there is anything UX needs to design around this fix. Assigning back to Heiko as expecting no UX design needed.
Agreed w. Catherine: we just check for double entries
As I've looked at some other issues on the webconsole, I'm going to give a stab at this one.
@Heiko, let me know if you have already a fix underway
No one is currently working on that issue. So would be great if you take a stab at this one.
Here is the PR for upstream: https://github.com/hal/core/pull/31
And the PR for the maintenance branch (2.5.x): https://github.com/hal/core/pull/30
Marged into upstream, 2.6.x and 2.5.x
Verified for Create XA Datasource wizard of EAP 6.4.2.CP.CR1
Claudio Miranda <email@example.com> updated the status of jira HAL-305 to Resolved
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.