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:40:27 UTC

[jira] Created: (XAP-263) DataBinding: Bad error message when no document data sources exist and one is needed

DataBinding: Bad error message when no document data sources exist and one is needed
------------------------------------------------------------------------------------

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


Open a dataBinding example. Delete the documentDataSource tags, and run the application.
An error pops up saying:
Exception: TypeError - xap.data.bridge.dataFrameworkBridge has no properties

This error doesn't help explain what is 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] Commented: (XAP-263) DataBinding: Bad error message when no document data sources exist and one is needed

Posted by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/XAP-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468347 ] 

Turyn, Michael commented on XAP-263:
------------------------------------

A few current (as of 29-01-07) error messages are attached in "DS_error_messages.txt".  They are still not exceptionally helpful, but are more informative than before---notably (for the case originating this bug report, no data source at all):

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 - _10a.messages has no properties 

...---most especially the first line (which could be improved with quotes around the attribute name and value), and...


Exception:Error calling method:bind
Caused by:
Exception:Named context for quick binding not found for 'myDataSource'.





> DataBinding: Bad error message when no document data sources exist and one is needed
> ------------------------------------------------------------------------------------
>
>                 Key: XAP-263
>                 URL: https://issues.apache.org/jira/browse/XAP-263
>             Project: XAP
>          Issue Type: Bug
>          Components: Data Binding
>            Reporter: Trevor Oldak
>         Attachments: DS_error_messages.txt
>
>
> Open a dataBinding example. Delete the documentDataSource tags, and run the application.
> An error pops up saying:
> Exception: TypeError - xap.data.bridge.dataFrameworkBridge has no properties
> This error doesn't help explain what is wrong

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


[jira] Assigned: (XAP-263) DataBinding: Bad error message when no document data sources exist and one is needed

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

Rob Gagne reassigned XAP-263:
-----------------------------

    Assignee: James Margaris

> DataBinding: Bad error message when no document data sources exist and one is needed
> ------------------------------------------------------------------------------------
>
>                 Key: XAP-263
>                 URL: https://issues.apache.org/jira/browse/XAP-263
>             Project: XAP
>          Issue Type: Bug
>          Components: Data Binding
>            Reporter: Trevor Oldak
>         Assigned To: James Margaris
>         Attachments: DS_error_messages.txt
>
>
> Open a dataBinding example. Delete the documentDataSource tags, and run the application.
> An error pops up saying:
> Exception: TypeError - xap.data.bridge.dataFrameworkBridge has no properties
> This error doesn't help explain what is wrong

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


[jira] Updated: (XAP-263) DataBinding: Bad error message when no document data sources exist and one is needed

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

Turyn, Michael updated XAP-263:
-------------------------------

    Attachment: DS_error_messages.txt

> DataBinding: Bad error message when no document data sources exist and one is needed
> ------------------------------------------------------------------------------------
>
>                 Key: XAP-263
>                 URL: https://issues.apache.org/jira/browse/XAP-263
>             Project: XAP
>          Issue Type: Bug
>          Components: Data Binding
>            Reporter: Trevor Oldak
>         Attachments: DS_error_messages.txt
>
>
> Open a dataBinding example. Delete the documentDataSource tags, and run the application.
> An error pops up saying:
> Exception: TypeError - xap.data.bridge.dataFrameworkBridge has no properties
> This error doesn't help explain what is wrong

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