fusionchart- Undefined offset

Status
Not open for further replies.

s6930064

Member
new fusionchart :

If you have 2 element in options (from the same list) and hit save you get :
Notice: Undefined offset: 0 in \components\com_fabrik\models\plugin.php on line 181
 
OK, i see what is happening, but not why. Raised a github ticket for Rob to take a look.

Rob - when the setting group is duplicated, when we inject the new div, around line 30 of repeatgroup.js:

Code:
c.injectAfter(div);

... it resets existing radio buttons in the original div to no selection. So if the viz gets submitted without re-selecting the radio selection, we get that PHP error.

-- hugh
 
this is one of those things I never figured out.
Its due to all the radio buttons having the same name when duplicated
For now i've just switched over that element to be a list, which does not exhibit this bug
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top