kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

[PATCH] pjs.loadClasses() passes wrong service path to getConstructor(), breaking friends example #215

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add the Friend class via the explorer so that friends can be added in
the friends example app.
2. Add a friend.
3. Try to add a picture to the friend.

What is the expected output?

The picture should be added to the db and displayed on the page.

What do you see instead?

Neither occurs.

The attached patch appends a trailing "/" to the service path that
pjs.loadClasses() passes to dojox.rpc.JsonRest.getConstructor() because
JsonRest does not include anything after the last "/" in the service path
when constructing the absolute IDs it uses.

Original issue reported on code.google.com by dean.brettle on 16 Jul 2009 at 7:58

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the great patch!

Original comment by kris...@gmail.com on 19 Jul 2009 at 3:37