Toolbox Persistence Layer in 2019

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

Toolbox Persistence Layer in 2019

bruno.buzzi
Erik/Alex,

Update GemStone/S Persistence Layer for Orbeon 2019 i got the following
situation:

On "Reload Toolbox" an error/warning is displayed:
An error occurred while reading form metadata

It seems related to the following rest service:
path:
'/form/{app}/{from}?all-versions={all-versions}&all-forms={all-versions}'

Until now for this service (in my PL) when an application or a form was not
found the answer was a 404 (not found).

But with this configuration i got the warning "An error occurred while
reading form metadata".

If instead of returning 404 the service return an empty form node
('<form/>') the error does not arise.

So can you confirm that in service
'/form/{app}/{from}?all-versions={all-versions}&all-forms={all-versions}'
when an application or form is not found the PL should answer '<form/>' ?

Another question is the following service has been deprecated ?
path: '/custom/{app-name}/builder/toolbox'

Because in previous Orbeon versions this service was called to show the
Library list inside Form Builder.

regards,
bruno

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1574359733525-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Toolbox Persistence Layer in 2019

Alessandro  Vernet
Administrator
Hi Bruno,

If no forms are found matching the search criteria, the form metadata API
should return an empty `<forms/>`. And yes,
`/fr/service/custom/([^/^.]+)/([^/^.]+)/toolbox` is still there. But this is
something internal to Form Runner. Are you overriding this service? If so,
for what purpose?

https://doc.orbeon.com/form-runner/api/persistence/forms-metadata

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1574445636500-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Toolbox Persistence Layer in 2019

bruno.buzzi
Alex,

Ok, got it. REST Service  updated.

`/fr/service/custom/([^/^.]+)/([^/^.]+)/toolbox`

The current implementation in the PL answer the XML of the latest form
definition (of the library for a given application name).

I will test the entire PL with Orbeon 2019 to see if anything has changed.
But most of Orbeon 2019 features are working well with GemStone/S.

regards,
bruno

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1574453827218-0.post%40n4.nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Toolbox Persistence Layer in 2019

Alessandro  Vernet
Administrator
OK Bruno, great, and you'll just let us know if you find any issue with
2019.1 as you get use or test your GemStone/S integration more.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1574647742765-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet