Form data disappearing on production for different user logins

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

Form data disappearing on production for different user logins

sverma
Hi,

We have created an orbeon form for both staging and production environments.
The form is a replication of each other in the two environments, with the
exception of some control settings for certain data fields (such as required
fields, etc.) The two roles ‘Admin’ and ‘Owner’ have been used. In the
production environment, an Owner cannot submit their form without entering
all the required data fields and clearing all validation errors. In the
staging environment, forms can be submitted by the Owner even if required
fields are missing or there exist validations.

We have set control to access Form builder only to the Admin. Ideally, the
owner should be able to Create, Save and Submit the form. The form that is
submitted by the Owner is then visible to the Admin for further Review,
Accept/ Reject and Publish functions. This workflow is working perfectly on
staging. However on the production environment, once the Owner creates,
saves and submits a form, it appears on the Summary page of the form for a
few hours corresponding to its respective status like “Submitted”, but when
checked after a few hours (say next day), the Owner cannot view the
submitted form (as if it was never created- Summary page says No form data
was found). This form however still remains visible to the Admin once it is
submitted by the Owner.

There is also one inconsistency noticed. The forms imported (all for
different logins) are all appearing on the view of the first user login used
to import the first form. Could this be a login/ logout issue? Since no such
icon exists from which you can logout and switch between different logins?

We have tried finding the cause of this, but are unable to spot anything. It
would be great if you can possibly suggest or throw some light on the
potential causes of such a scenario. I have attached the screenshots of
permission settings defined for both the environments. I’m also attaching
the Source code of the form on production as well as staging.

<http://discuss.orbeon.com/file/t375632/Orbeon_form_production-_permissions.jpg>

<http://discuss.orbeon.com/file/t375632/Orbeon_form_staging-_permissions.jpg>

Source-_Orbeon_production_form.txt
<http://discuss.orbeon.com/file/t375632/Source-_Orbeon_production_form.txt>  

Source-_Orbeon_staging_form.txt
<http://discuss.orbeon.com/file/t375632/Source-_Orbeon_staging_form.txt>  

Many thanks,
Sheena


--
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 post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Form data disappearing on production for different user logins

Alessandro  Vernet
Administrator
Hi Sheena,

One possible explanation for what you are seeing is that after a while the
owner session expires, and they are now seeing the summary page as an
anonymous user, which is indeed not allowed to see any data. Are you using
container-based or header-based authentication (see link below)? What page
do users need to access to log in?

https://doc.orbeon.com/form-runner/access-control-and-permissions/users

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 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: Form data disappearing on production for different user logins

sverma
Hi Alex,

We are using container- based authentication. The users need to access the
Form runner page to login.

Thanks,
Sheena

--
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 post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Form data disappearing on production for different user logins

Alessandro  Vernet
Administrator
Hi Sheena,

Got it about your setup using container-based authentication. With this
setup, is an anonymous user able to access the summary page without logging
in? (And if they are, I assume they won't be able to see any data, correct?)

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