Please add a bug for this. Please also add the behavior when you a 
non-existent target property (which raises a TypeError if I'm not 
mistaken); this should also be fixed.

T.


On 03/23/2013 04:44 PM, chrisch wrote:
> It is an idealized version but the code in my application is nearly the same.
> I've figured out that the behaviour seems to depend on the type of the
> error.
>
> For example, if I'm trying to access a property in the source model which
> doesn't exist with the following code:
>
> try {
>
> store.bind("model.title", this, "model"); // title doesn't exist in the
> source model
>
> } catch (e) {
>
> alert("error: " + e);
>
> }
>
> I get only a "qx.core.AssertionError: error" in my firebug console without a
> line number, stacktrace or .js-file where the error occurs, and the
> catch-part is not called.
>
> If I use a nonsense sourcePropertyChain in the bind method like:
>
> store.bind("blablub", this, "model");
>
> the catch-part is working fine and gives me a message: "error....: Binding
> property blablub of object qx.data.store.Json[274-0] not possible: No event
> available."
>
> Any ideas what's going wrong here?
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://qooxdoo.678.n2.nabble.com/Catch-qx-core-AssertionError-tp7583114p7583132.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to