Fields sorting issue (solution included)
Permalink Browser Info Environment
Hi,
Firstly, it's a great add-on! Good job!
Noticed an issue while trying to re-order some fields after a form has been created, the site will return the 500 internal server error instead.
It turned out the issue is in resort() of /packages/formify/controllers/api/fields.php:
$ff = \Concrete\Package\Formify\Src\FormifyField::get($ff->ffID);
should be revised to
$ff = \Concrete\Package\Formify\Src\FormifyField::get($ff);
Been using this add-on in Concrete5 Ver. 8.1, but I suspect this issue is existing in all compatible Concrete5 versions.
Keep up the good work. Best wishes.
Marty
Firstly, it's a great add-on! Good job!
Noticed an issue while trying to re-order some fields after a form has been created, the site will return the 500 internal server error instead.
It turned out the issue is in resort() of /packages/formify/controllers/api/fields.php:
$ff = \Concrete\Package\Formify\Src\FormifyField::get($ff->ffID);
should be revised to
$ff = \Concrete\Package\Formify\Src\FormifyField::get($ff);
Been using this add-on in Concrete5 Ver. 8.1, but I suspect this issue is existing in all compatible Concrete5 versions.
Keep up the good work. Best wishes.
Marty
Type: | Ticket |
---|---|
Status: | New |