Deleting the "library" form caused a bug

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

Deleting the "library" form caused a bug

wlau
Hi all,

I've created a section template under a form named "library" (application name is "orbeon"). Then, I've found it in the toolbox of my other forms (that's ok).
But, I've made a careless mistake by delating the form "library" in my forms list. And now I still have my section template displayed in all my forms and can not delete it.

Can someone help me please ?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Deleting the "library" form caused a bug

Alessandro  Vernet
Administrator
Hi Wafa,

This is "by design": when you deploy a form, the code for the section
templates are copied into the form. So later updating or deleting the
section templates has no effect. But, what you would you like to do
exactly? Would you like to update those deployed forms to have the
section template removed? For this, you'll need to edit each form in
Form Builder and remove the section template.

Alex

On Mon, Dec 17, 2012 at 9:19 AM, wlau <[hidden email]> wrote:

> Hi all,
>
> I've created a section template under a form named "library" (application
> name is "orbeon"). Then, I've found it in the toolbox of my other forms
> (that's ok).
> But, I've made a careless mistake by delating the form "library" in my forms
> list. And now I still have my section template displayed in all my forms and
> can not delete it.
>
> Can someone help me please ?
>
> Thanks.
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Deleting-the-library-form-caused-a-bug-tp4656126.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


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


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Deleting the "library" form caused a bug

wlau
This post was updated on .
Hi Alessandro,

First, thanks for your answer.

What I meant is that I still have my section template displayed in the toolbox of all of my forms and don't know how to delete it.

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Re: Deleting the "library" form caused a bug

Alessandro  Vernet
Administrator
Hi Wafa,

That, is a bug, or more precisely a missing feature, but a very
important one: currently, there is no UI to undeploy a form, which is
what you would need to do here. We have an issue for this, which is
linked below. As a workaround, you would need to undeploy the form
"manually", by removing it from the database. You'll let me know if
you need help with that.

https://github.com/orbeon/orbeon-forms/issues/181

Alex

On Wed, Dec 19, 2012 at 8:53 AM, wlau <[hidden email]> wrote:

> Hi Alessandro,
>
> First, thanks for your answer.
>
> What I meant is that I still have my section template displayed in the
> toolbox of all my forms and can not delete it.
>
> Thanks
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Deleting-the-library-form-caused-a-bug-tp4656126p4656138.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
>


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


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Deleting the "library" form caused a bug

wlau
Hi Alessandro,

Thanks for your answer.
Can you please tell which steps do I have to follow in order to remove the form from the database ?

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Deleting the "library" form caused a bug

Alessandro  Vernet
Administrator
Hi Wafa,

Sure, but first: what database are you using? eXist, MySQL, or Oracle?

Alex


On Mon, Jan 14, 2013 at 2:32 AM, wlau <[hidden email]> wrote:
Hi Alessandro,

Thanks for your answer.
Can you please tell which steps do I have to follow in order to remove the
form from the database ?

Thanks in advance.




--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Deleting-the-library-form-caused-a-bug-tp4656126p4656184.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws




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


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Deleting the "library" form caused a bug

wlau
Hi,

Actually, I'm don't know (I'm not an advanced user : I only use basic form controls of Form builder to build and deploy my forms).
I've only deployed the orbeon "war" (delivered in your site) in the webapps of my cms. I didin't configure any database.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Deleting the "library" form caused a bug

wlau
I have a HSQL database embeded in my cms.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Deleting the "library" form caused a bug

wlau
Hi Alex,

Do you have an idea of how can I resolve my problem please ?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Deleting the "library" form caused a bug

Alessandro  Vernet
Administrator
In reply to this post by wlau
Hi Wafa,

If you didn't setup Orbeon Forms to use another database, then it is using eXist by default. The easiest is to call the Orbeon REST persistence API. For this, you need to issue an HTTP request. You can do this in many ways. The most popular is maybe to use command lines like curl or wget. If you prefer to have a UI, I personally like the Postman extension for Chrome a lot:


If you're on a 4.0 build, you'll first want to allow calls to the persistence API. The easiest is to temporarily add the two properties in this paragraph to your properties-local.xml:


Then, using curl, wget, Postman or your favorite tool, issue a DELETE to (in that URL replacing the host, your-app, and your-form as needed):


Alex

On Wed, Jan 16, 2013 at 1:19 AM, wlau <[hidden email]> wrote:
Hi,

Actually, I'm don't know (I'm not an advanced user : I only use basic form
controls of Form builder to build and deploy my forms).
I've only deployed the orbeon "war" (delivered in your site) in the webapps
of my cms. I didin't configure any database.



--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Deleting-the-library-form-caused-a-bug-tp4656126p4656192.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws




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


--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet