Change document id cannot see data

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Change document id cannot see data

r.pecori
Hi,

I am running Orbeon Forms 4.0.0.rc1.201302120214 PE with development licence.

I am running form Runner portlet in liferay. I tried to copy one row of the orbeon_form_data table into the same table but changing the document_id to a human readable value, eg: 0300. I changed some data in the xml and then tried to access to the form with some data inserted from the form runner portlet manually changing in the uri app name, form name and document id but the form opens empty, as if I had  written the new uri and not the edit one.

Is there a problem in the format of the document_id?  can not it be a simple number as 0300 and form runner ignore it if it is not in the usual form? how it is computed usually? a checksum of something? what?

thank you in advance
Reply | Threaded
Open this post in threaded view
|

Re: Change document id cannot see data

Alessandro  Vernet
Administrator
Hi,

You should be able to change the document id. Are you sure you changed all the rows in orbeon_form_data with the "old" id? I am asking, as there can be multiple if you saved the data more than just once, which is pretty usual.

If you have, is this also happening outside of Liferay, say if you just have Orbeon Forms running on Tomcat and pass the "new" document id on the URL?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Change document id cannot see data

r.pecori
Hi,

now it works both in Liferay and in Tomcat. Thank you. I do not know why it did not work before, maybe a typo in the uri.
Reply | Threaded
Open this post in threaded view
|

Re: Change document id cannot see data

Alessandro  Vernet
Administrator
Hi r.pecori,

Good, I'm glad it works, and thank you for the update.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet