You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2007/01/12 16:44:27 UTC

[jira] Created: (XAP-264) DataBinding: Bad error message when needed data source is missing

DataBinding: Bad error message when needed data source is missing
-----------------------------------------------------------------

                 Key: XAP-264
                 URL: https://issues.apache.org/jira/browse/XAP-264
             Project: XAP
          Issue Type: Bug
          Components: Data Binding
            Reporter: Trevor Oldak


OPen one of the xap dataBinding examples.
Change a documentDataSource's id to one that isn't referenced.
Run the new xal code.
The following error message pops up:

Exception:Bad attribute with name dataSource and value myDataSource on element <binding xmlns="http://openxal.org/core/data" id="employeeCount" dataSource="myDataSource" select="concat(&apos;# Items: &apos;,count(/employees/employee))"/> because of Exception: TypeError - xap.taghandling.AttributeConversionException is not a constructor

This doesn't explain very well to the user what went wrong

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (XAP-264) DataBinding: Bad error message when needed data source is missing

Posted by "Rob Gagne (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Gagne reassigned XAP-264:
-----------------------------

    Assignee: James Margaris

> DataBinding: Bad error message when needed data source is missing
> -----------------------------------------------------------------
>
>                 Key: XAP-264
>                 URL: https://issues.apache.org/jira/browse/XAP-264
>             Project: XAP
>          Issue Type: Bug
>          Components: Data Binding
>            Reporter: Trevor Oldak
>         Assigned To: James Margaris
>
> OPen one of the xap dataBinding examples.
> Change a documentDataSource's id to one that isn't referenced.
> Run the new xal code.
> The following error message pops up:
> Exception:Bad attribute with name dataSource and value myDataSource on element <binding xmlns="http://openxal.org/core/data" id="employeeCount" dataSource="myDataSource" select="concat(&apos;# Items: &apos;,count(/employees/employee))"/> because of Exception: TypeError - xap.taghandling.AttributeConversionException is not a constructor
> This doesn't explain very well to the user what went wrong

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.