FB: Incorrect Error - Duplicate id found for static id

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

FB: Incorrect Error - Duplicate id found for static id

ajw625
I have a form with a control named 'camps-and-buildings_camps_total-merchantable-timber'. The underscores delimit the section, subsection, and control names. The idea is to namespace the control names in a large form with many controls. I'm not sure if the long name is causing this issue or not.

Initially when I hit the gear button and set this control name, there was no error and I saved the form without issue. However, later on I attempted to change the control name to 'camps_total-merchantable-timber'. When I clicked Apply, I got the popup saying "An error has occurred". I reloaded the page and tried again without even changing the Control Name and the error occurred again. I checked the orbeon.log and it says:

Duplicate id found for static id: camps-and-buildings_camps_total-merchantable-timber-bind

I've attached the log that includes everything after clicking Apply. I've also attached the source for the form and the library that the form references.

now_mine-information.xml
now_library.xmlorbeon_log_duplicate_id.txt
Reply | Threaded
Open this post in threaded view
|

Re: FB: Incorrect Error - Duplicate id found for static id

ajw625
I just notice that two of the files I posted are on the same line and look like one file name.
Reply | Threaded
Open this post in threaded view
|

Re: FB: Incorrect Error - Duplicate id found for static id

Alessandro  Vernet
Administrator
Hi Andrew,

So you're talking about renaming the field with hint "Total Merchantable Timber", highlighted in: http://screencast.com/t/Xit1TdoidfC. I am reproducing this; we will look into the issue and follow-up here. (And thank you for sharing with us all of the necessary files to reproduce the problem.)

Alex

On Fri, Mar 6, 2015 at 10:34 AM ajw625 <[hidden email]> wrote:
I just notice that two of the files I posted are on the same line and look
like one file name.


--
View this message in context: http://discuss.orbeon.com/FB-Incorrect-Error-Duplicate-id-found-for-static-id-tp4659638p4659639.html
Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.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 post to this group, send email to [hidden email].

--
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 post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: FB: Incorrect Error - Duplicate id found for static id

ajw625
Hi Alex,

That's right. Thanks for looking into it. I ended up having to delete the control and recreate it. So, fortunately there is an easy workaround.
Reply | Threaded
Open this post in threaded view
|

Re: FB: Incorrect Error - Duplicate id found for static id

Erik Bruchez
Administrator
This issue is now fixed. The details:

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

It only occurred when the `fr:grid` element had a remaining `id` attribute on it.

-Erik