[JBoss JIRA] Created: (GTNWSRP-203) Producer configuration - wrong error message for validator
by Michal Vanco (JIRA)
Producer configuration - wrong error message for validator
----------------------------------------------------------
Key: GTNWSRP-203
URL: https://issues.jboss.org/browse/GTNWSRP-203
Project: GateIn WSRP
Issue Type: Bug
Components: Producer
Environment: GateIn wsrp-extraction branch
Reporter: Michal Vanco
Assignee: Chris Laprun
Fix For: 2.0.1-GA
I use validator: org.gatein.test.wsrp.TestRegistrationPropertyValidator and add one registration property.
When I create new consumer and add invalid value in property, I'll get an error message like:
Couldn't register with producer 'selfv2' Could not register consumer named 'mvanco-laptop WSRP v2 version' Cause: Missing value for expected 'property1' property.
IMO there should be some message from validator. Above message says that I haven't type any value, but I did.
(Validator is expecting 'test' string in property value)
Btw. behavior of validator seems to be fine even for update registration, only message is missunderstanding.
To reproduce:
- deploy attached jar on producer
- change validator for default policy to: org.gatein.test.wsrp.TestRegistrationPropertyValidator
- create consumer, add value in property 'value' -> you will get an error
- try value 'value test' -> this is properly validated by validator
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (GTNWSRP-201) Producer configuration - checkbox selection lost
by Michal Vanco (JIRA)
Producer configuration - checkbox selection lost
------------------------------------------------
Key: GTNWSRP-201
URL: https://issues.jboss.org/browse/GTNWSRP-201
Project: GateIn WSRP
Issue Type: Bug
Components: Admin GUI, Producer
Environment: GateIn wsrp-extraction branch (from 2/18) with wsrp extension
Reporter: Michal Vanco
Assignee: Chris Laprun
Fix For: 2.0.1-GA
When you click at all checkboxes in producer configuration, first two checkboxes will return to previous saved state.
Try this:
- go to producer config tab
- uncheck checkbox1, uncheck checkbox2
- uncheck checkbox3 - this will submit the form (to hide policy inputs) and cause that first 2 checkboxes are checked again.
I verified with EPP5.1.0 GA (wsrp 2.0.0.GA) and it worked properly there (all checkboxes were unchecked for above scenario).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months