Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Test not working #8

Open
MajorKuprich opened this issue Jun 1, 2022 · 0 comments
Open

Form Test not working #8

MajorKuprich opened this issue Jun 1, 2022 · 0 comments

Comments

@MajorKuprich
Copy link

MajorKuprich commented Jun 1, 2022

Hello,

Tested on Magento 2.4.4

Hyvä Form Test from System -> Tools option not working.
You can take a look at screen, please:

stacktrace

It's related to:

  1. getSections() in https://github.com/hyva-themes/magento2-hyva-admin/blob/main/view/adminhtml/templates/form.phtml#L23
  2. In ViewModel this method missing return statement in https://github.com/hyva-themes/magento2-hyva-admin/blob/main/ViewModel/HyvaFormViewModel.php#L90
  3. getFormStructure() in https://github.com/hyva-themes/magento2-hyva-admin/blob/main/ViewModel/HyvaFormViewModel.php#L95
  4. buildStructure() method in https://github.com/hyva-themes/magento2-hyva-admin/blob/main/Model/FormStructure/FormStructureBuilder.php#L41

Additionaly We can see between lines 43 https://github.com/hyva-themes/magento2-hyva-admin/blob/main/Model/FormStructure/FormStructureBuilder.php#L43 & 52 https://github.com/hyva-themes/magento2-hyva-admin/blob/b011c6b59bcaaf109bf845dcb73122d351cb6561/Model/FormStructure/FormStructureBuilder.php#L52 some methods which aren't defined in this class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant