Up until the updates done on May 13th, validation was functioning properly but now it seems that it is no longer working properly. I have tested this situation in MAMP and on a Linux sandbox and the problem exists in both places. All the testing I am doing is on the administrative side of the site.
I have a simple form that consists of 3 elements in addition to the standard elements brought in by the default template.
1. Employee: Database join linked to the Joomla Users table ID with the display set to name.
2. Employee Name: Read-only field
3. Employee Email: Read-only field. Validations are setup on this field for "areuniquevalues".
-- More fields will be added later when this is stabilized.
The objective is that when a user is creating a profile for a Joomla user, they select a user from a dropdown of users and the form autofills in the name and email address of the user from the Joomla users table. There can not be more than 1 profile per user so the uniqueness is key'ed from the email address.
The form has the autofill plugin enabled and mapped to auto populate the "Employee Name" and "Email Address". This is all working properly.
The problem is that if I try to add a second record for the same user, instead of the "areuniquevalues" validations being triggered and displaying an error on the same edit form, I get redirected to a rendered display-only view with no errors being displayed. This was working properly until I did an update from the Joomla3 branch of git yesterday.
When the rendered display view appears I get "autofill-min.js:2 Uncaught TypeError: Cannot read property 'get' of undefined" error within developer tools in chrome.
I have a simple form that consists of 3 elements in addition to the standard elements brought in by the default template.
1. Employee: Database join linked to the Joomla Users table ID with the display set to name.
2. Employee Name: Read-only field
3. Employee Email: Read-only field. Validations are setup on this field for "areuniquevalues".
-- More fields will be added later when this is stabilized.
The objective is that when a user is creating a profile for a Joomla user, they select a user from a dropdown of users and the form autofills in the name and email address of the user from the Joomla users table. There can not be more than 1 profile per user so the uniqueness is key'ed from the email address.
The form has the autofill plugin enabled and mapped to auto populate the "Employee Name" and "Email Address". This is all working properly.
The problem is that if I try to add a second record for the same user, instead of the "areuniquevalues" validations being triggered and displaying an error on the same edit form, I get redirected to a rendered display-only view with no errors being displayed. This was working properly until I did an update from the Joomla3 branch of git yesterday.
When the rendered display view appears I get "autofill-min.js:2 Uncaught TypeError: Cannot read property 'get' of undefined" error within developer tools in chrome.