[jbosstools-issues] [JBoss JIRA] (JBIDE-12056) Exception Adding/Editing Property Definition's Value Constraint In CND Editor

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed May 30 14:16:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697272#comment-12697272 ] 

RH Bugzilla Integration commented on JBIDE-12056:
-------------------------------------------------

Dan Florian <dflorian at redhat.com> made a comment on [bug 826672|https://bugzilla.redhat.com/show_bug.cgi?id=826672]

Description of problem:

In CND Editor, an error is logged for every character typed into the Value Constraint Editor dialog. The Value Constraint Editor dialog's OK button never enables.

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

SOA Tools 3.3.0.Beta2

How reproducible:

Happens every time.

Steps to Reproduce:

1. Open a CND file in the CND Editor
2. Select or create a node type definition
3. Select a property definition in the Properties Section
4. Edit property definition by double-click or click edit toolbar button
5. Property Definition Editor dialog displays
6. Add or Edit a value constraint
7. For each character typed in textfield, an exception is logged (see additional details below)
  
Actual results:

Unable to add or edit a property definition's value constraints.

Expected results:

Should have ability to add or edit property definition's value constraints.

Additional info:

Here is stacktrace:

java.lang.UnsupportedOperationException
at java.util.AbstractList.add(AbstractList.java:131)
at java.util.AbstractList.add(AbstractList.java:91)
at org.jboss.tools.modeshape.jcr.ui.cnd.PropertyDialog$31$1.validate(PropertyDialog.java:1193)
at org.jboss.tools.modeshape.jcr.ui.cnd.StringValueEditorDialog.updateState(StringValueEditorDialog.java:185)
at org.jboss.tools.modeshape.jcr.ui.cnd.StringValueEditorDialog.handleValueChanged(StringValueEditorDialog.java:172)
at org.jboss.tools.modeshape.jcr.ui.cnd.StringValueEditorDialog$1.modifyText(StringValueEditorDialog.java:149)
                
> Exception Adding/Editing Property Definition's Value Constraint In CND Editor
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-12056
>                 URL: https://issues.jboss.org/browse/JBIDE-12056
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: modeshape
>    Affects Versions: 3.3.0.Beta3
>            Reporter: Dan Florian
>            Assignee: Dan Florian
>            Priority: Critical
>             Fix For: 3.3.0.CR1
>
>
> In CND Editor, if you select a property in the Properties Section table, and double-click the table row or click the editor toolbar button, the Property Definition Editor dialog opens. In the property dialog, if you Add or Edit a value constraint, a Value Editor dialog is displayed. If the user types in the textfield an error occurs and the OK button can never be enabled. Here is the error from the log:
> java.lang.UnsupportedOperationException
> 	at java.util.AbstractList.add(AbstractList.java:131)
> 	at java.util.AbstractList.add(AbstractList.java:91)
> 	at org.jboss.tools.modeshape.jcr.ui.cnd.PropertyDialog$31$1.validate(PropertyDialog.java:1193)
> 	at org.jboss.tools.modeshape.jcr.ui.cnd.StringValueEditorDialog.updateState(StringValueEditorDialog.java:185)
> 	at org.jboss.tools.modeshape.jcr.ui.cnd.StringValueEditorDialog.handleValueChanged(StringValueEditorDialog.java:172)
> 	at org.jboss.tools.modeshape.jcr.ui.cnd.StringValueEditorDialog$1.modifyText(StringValueEditorDialog.java:149)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list