Error

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

Error

akail
Hello,

For me is showing a error message, there link: http://s14.postimg.org/43xeakbq9/error_message.png

I create a autocomplete and it is visibile when I write a number 2 in previous field.

That message is show when I change a number.

So what to do?
Reply | Threaded
Open this post in threaded view
|

Re: Error

Erik Bruchez
Administrator
It would be ideal if you could create a standalone example that shows the error.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Error

akail
Reply | Threaded
Open this post in threaded view
|

Re: Error

Erik Bruchez
Administrator
I tried running your form, but you seem to be calling a local service. I tried instead calling instead the service:

/xforms-sandbox/service/zip-states?state=

With this I don't get errors (although I don't get autocompletion either).

Are you using 4.3?

-Erik
Reply | Threaded
Open this post in threaded view
|

RE: Error

akail

Yes, I use 4.3 orbeon version

 

From: Erik Bruchez [via Orbeon Forms community mailing list] [mailto:[hidden email]]
Sent: Wednesday, October 30, 2013 6:20 AM
To: akail
Subject: Re: Error

 

I tried running your form, but you seem to be calling a local service. I tried instead calling instead the service:

/xforms-sandbox/service/zip-states?state=

With this I don't get errors (although I don't get autocompletion either).

Are you using 4.3?

-Erik


If you reply to this email, your message will be added to the discussion below:

http://discuss.orbeon.com/Error-tp4657547p4657571.html

To unsubscribe from Error, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Error

akail
In reply to this post by Erik Bruchez
Yes, I use 4.3 version of Orbeon
Reply | Threaded
Open this post in threaded view
|

RE: Error

Alessandro  Vernet
Administrator
In reply to this post by akail
So we can reproduce this, would you be able to update your example to use a publicly available service, or built-in service (like /xforms-sandbox/service/zip-states?state=…), or just a static XML file somewhere available on a public server?

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

RE: Error

akail
Reply | Threaded
Open this post in threaded view
|

RE: Error

Alessandro  Vernet
Administrator
Hi Jovita,

I couldn't reproduce this. Here is how things look like for me.

I put the XML file you pointed at a public URL, so the form could load it. I also updated the paths to match the XML. Here is the source of the updated form: form.xml.

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

RE: Error

akail
Alex,

I can't open Your XML, maybe You can again add a link with XML. Because I open this and it show only two words "COUNTRY CODE" and that is.
Reply | Threaded
Open this post in threaded view
|

RE: Error

Erik Bruchez
Administrator
Use your browser's "Save Link As..." or similar to download the content of that link to your computer.

-Erik
Reply | Threaded
Open this post in threaded view
|

RE: Error

akail
But the error is.

When you go to test mode and write for example "2" in NATIVIE VACATION, the appears two vacation row. So then we write  "1" instead "2" in NATIVIE VACATION field, and that moment for as is show a error message.

So if you get a error message? If no, then I make a video for that error.
Reply | Threaded
Open this post in threaded view
|

RE: Error

Alessandro  Vernet
Administrator
OK, I think I understand what needs to be done to reproduce this. I will try tomorrow, and will let you know what I find. (And if recording a video is simple for you, and it should with Jing, in the future I'd recommend you do that, as it really helps understanding that the issue is.)

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

RE: Error

Alessandro  Vernet
Administrator
A quick update: I was able to reproduce this. It is happening when an autocomplete becomes non-relevant, and the error is: "Reference to non-existing model id: autocomplete-model", autocomplete.xbl line 256, which corresponds to a:

    <xf:setvalue ev:observer="external-value" ev:event="xforms-disabled" ref="$local/relevant" id="xf-599">

I'll have to investigate this further, and will let you know what I find.

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

RE: Error

Alessandro  Vernet
Administrator
Just to confirm that this is an issue. I create a bug for this, and we'll try to fix this "soon", as this directly impacts users creating form in Form Builder using an autocomplete that may become non-relevant.

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

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

RE: Error

ricetrac
Hello,

I have the same issue with orbeon 4.4. Have You find a fix ?

Thank You.

Julien
Reply | Threaded
Open this post in threaded view
|

RE: Error

Erik Bruchez
Administrator
Julien,

Sorry, no fix so far, the bug is still open:

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

-Erik
Reply | Threaded
Open this post in threaded view
|

RE: Error

Erik Bruchez
Administrator
All,

This bug is now fixed:

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

-Erik