You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a problem with the Providers Datasources. I've discovered it using the Section Schema Datasource extension.
The extension is providing it's editor page correctly, in particular the fields for a chosen section, and it is building the select box with one set of these fields.
When the section is $_POSTed, there are multiple copies of the same field handle posted. This means that if a field has been de-selected in the editor, it's duplicate being sent through re-selects it after save, also the section schema datasource created after the edit has a compounded list of these fields.
Does the Javascript interfere with these POST values at all? Is it possible it is duplicating them?
By the time the data is posted through the __formAction function of content.blueprintsdatasources.php, the extra fields have been added.
Debugging this is going to be a nightmare, as the __form function is 936 lines of code. This is insane! It must be broken down, but that's another discussion.
The text was updated successfully, but these errors were encountered:
There's a problem with the Providers Datasources. I've discovered it using the Section Schema Datasource extension.
The extension is providing it's editor page correctly, in particular the fields for a chosen section, and it is building the select box with one set of these fields.
When the section is
$_POST
ed, there are multiple copies of the same field handle posted. This means that if a field has been de-selected in the editor, it's duplicate being sent through re-selects it after save, also the section schema datasource created after the edit has a compounded list of these fields.Does the Javascript interfere with these
POST
values at all? Is it possible it is duplicating them?By the time the data is posted through the
__formAction
function ofcontent.blueprintsdatasources.php
, the extra fields have been added.Debugging this is going to be a nightmare, as the
__form
function is 936 lines of code. This is insane! It must be broken down, but that's another discussion.The text was updated successfully, but these errors were encountered: