firegento / firegento-magesetup

MageSetup
GNU General Public License v3.0
120 stars 81 forks source link

Checkout Agreement Element with id "position" already exists #354

Closed Hanmac closed 2 years ago

Hanmac commented 2 years ago

Since this https://github.com/OpenMage/magento-lts/issues/1288 is merged, it already adds Position to the Form

When https://github.com/firegento/firegento-magesetup/blob/development/src/app/code/community/FireGento/MageSetup/Model/Observer.php#L293 wants to add position to the Form too it crashes because it already exists.

it needs a protection to check if that Field is already added to the Form