Persistence Layer in Orbeon 2016.2.2

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Persistence Layer in Orbeon 2016.2.2

bruno.buzzi
Alex/Erik,

I have Orbeon 4.9 running smoothly with GemStone/S 3.3.0 (persistence layer).

Starting to test 2016.2.2 and almost everything looks OK. The forms summaries are displayed correctly and can be edited in Form Builder.

There is a small issue with the Builder, when click "Publish" it show none of previous version (although there are several versions of that form) as it was a new form form scratch.

Does anything related to the persistence layer has changed in 2016.2.2 ?
(i know version comments were added -i will check this later- but something related to the versions)

Checked doc.orbeon.com but i did not found anything...

Regards,
Bruno

PS: this task is related to the persistence layer.
Next year on the support channel i will contact you for the official migration of our Orbeon 4.6 to 2016.2.2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bruno.buzzi
Hi,

Just to add more info...

I do not know if it is related but i getting an error because a form named "library" in application "test" is been called by Orbeon (which does not exist).

How to remove the library from Orbeon ? (eXist files are already removed)

I think "library" is a part of an example....

regards
bruno
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bruno.buzzi
This post was updated on .
Hi,

The error with "Latest published version" before publishing is NOT fixed.

And also i Orbeon is asking for a "library" form that does not exist.

Researching on these two issues (the others has been fixed).

regards,
bruno
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bruno.buzzi
Alex,

The issue is very clear now. In "orbeon/builder/summary" when user click a form definition to edit (let say app='sales' form-name='car-sale') then Orbeon at some point call service:
/crud/sales/car-sale/form/form.xhtml

Then (or before) Orbeon call the service again but this time with form-name = 'library' (i think to populate lateral menu section templates).

The persistence layer throw an Exception because that form does not exist (the 'library').
When anApplication does NOT have any library/template what is the proper answer ?
(an empty form definition ?)

regards
bruno
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bwallis42
Hi Bruno,
  Our custom persistence layer has always returned a 404 Not Found error for this and other cases where a template or form is not found. That has worked fine for us up to version 2016.2. As it is a REST call this seems to me to be the correct response when something is missing.

brian...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bruno.buzzi
Brian,

Thanks for the info !!! I will try that and post the result here.

regards
bruno

PS: i just curious your custom persistence layer is a relational database ?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bwallis42
bruno.buzzi wrote
PS: i just curious your custom persistence layer is a relational database ?
No, much stranger than that. It is a custom document storage system buried inside a medical records application. Some very old code dating back to the last millennium (1999 :-)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Persistence Layer in Orbeon 2016.2.2

bruno.buzzi
Brian,

404 is working like a charm , thanks very much.

Interesting persistence layer !

There are at least 3 custom persistence layer:
* Your cpl
* Marklogic cpl
* GemStone/S cpl

Very good design by Orbeon allowing this to happend !

regards
bruno
 
Loading...