deck9 / input

A privacy-focused, no-code, open-source form builder designed for simplicity and brand consistency.
https://getinput.co
GNU Affero General Public License v3.0
196 stars 31 forks source link

Issue During Questionnaire Submission #168

Open pliciwebstephane opened 2 months ago

pliciwebstephane commented 2 months ago

We created a form and are using "input" under Docker. During the submission of the form, at the final step, it fails.

We have an XHR request that returns a 404 error.

https://yyyyyyyyyyyy/api/public/forms/jY85

Response: { "message": "No query results for model [App\Models\FormBlockInteraction]." }

No more log seems available.

PhilReinking commented 2 months ago

I will investigate if this is a general issue. Have you published the form or is it in draft mode?

pliciwebstephane commented 2 months ago

Thank you very much for your research. It is a published form.

PhilReinking commented 2 months ago

@pliciwebstephane I tried to reproduce it, but haven't had success.

would it be possible to get an export of your form structure: https://[your-host]/forms/jY85/settings#template-export-import

It might help to see if it is related to a specific setup you have in your form.

Also have you tried to create a second form, and does it have the same behavior?

pliciwebstephane commented 2 months ago

With pleasure, is there a way to send it to you privately?

pliciwebstephane commented 2 months ago

i send you a mail.

PhilReinking commented 2 months ago

Thanks for that! Can you also tell me what version you are using right now? Is it the latest release?

PhilReinking commented 2 months ago

Ok, from your import, I can see that you are probably not on the latest version right now. It would be very nice if you could upgrade to https://github.com/deck9/input/releases/tag/v1.9.2 and then send me again a new export. Unfortunately all versions before that had a bug regarding the export of forms containing groups. Sry for that!

pliciwebstephane commented 2 months ago

i changed my dockerimage from ghcr.io/deck9/input:main to ghcr.io/deck9/input:v1.9.2 And i lost my form... I don't understand the reason. So bad news for me...

PhilReinking commented 2 months ago

ok, i will try to work with the import you send me and then send you a fresh import.json that you can use to restore your form.

pliciwebstephane commented 2 months ago

ok it is ok it is my app_url the problem

pliciwebstephane commented 2 months ago

Now, my form is ready again.

pliciwebstephane commented 2 months ago

i will test it

pliciwebstephane commented 2 months ago

image Still problem, send you my export by email.