Critical error in nested repeat

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Critical error in nested repeat

Pino Otto
Dear developers,

I have found a problem, which is very critical for the development of my application using the Presentation Server.

If I cannot solve this problem quickly, probably I have to abandon the use of OPS and utilize another technology. I hope that I don't have to give up to OPS for this reason. So I really need your help.

Here is the problem:

I downloaded the latest version of OPS from the Orbeon website. The version is ops-3.0.1.200602032326. I deployed it locally to my Tomcat (5.5.17) using Java 1.5.0_07 on a Linux machine (but the same problem happens also under Windows XP).

The problem is appearing when I use nested repeats. The exact sequence of actions is the following:

 - I click on the example "To-Do Lists" from http://localhost:8080/ops/
 - I click on the last element of the to do lists, which is "Bills to pay (2 left)"
 - The whole box is correctly highlighted
 - I add a new to do list (named "New list"), by clicking on the "New" link  under "Current to do list:", and I save it
 - I add a new to do in the "New list", by clicking on the "New" link under "Current to do:", and save it
 - I add another new to do in the "New list", by clicking on the "New" link under "Current to do:", and save it
 - then I delete the current list ("New list"), by clicking on the "Delete" link
under "Current to do list:"
 - at this point, the "New list" is correctly disappeared, but the last element of the to do lists, which is now "Bills to pay (2 left)", is not highlighted and the form is frozen with the following error:

Error: [Exception... "'Cannot find element #2 with class 'xforms-repeat-delimiter' after element with id 'repeat-begin-todo·3'' when calling method: [nsIOnReadyStateChangeHandler::handleEvent]"  nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)"  location: "<unknown>"  data: no]

I tried the same sequence on the "To-do Lists" example directly from the Orbeon website (http://www.orbeon.com/ops) and I found that it works very well there.
So I guess that the problem is that the source codes are not the same. Probably the Orbeon website is running on a new version of the Presentation Server.

So I downloaded the nightly build version and made the same test. It is working well on that specific test, but there are a lot of other rendering problems in the form.

I definitely need your help to solve the above problem. In my application I need to use at least two levels of nested repeats, similar case as the "To-do Lists" example.

Please, let me know what is the solution to this problem.

I thank you in advance for your collaboration.

Best regards,
Giovanni Di Mingo


Stay in the know. Pulse on the new Yahoo.com. Check it out.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws