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

Element 'indexField': This element is not expected. #578

Open
Morgy93 opened this issue Dec 19, 2024 · 1 comment · May be fixed by #579
Open

Element 'indexField': This element is not expected. #578

Morgy93 opened this issue Dec 19, 2024 · 1 comment · May be fixed by #579

Comments

@Morgy93
Copy link

Morgy93 commented Dec 19, 2024

Admin Panel Route: payone/protocol_transactionstatus/index

Error:

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): The XML in file "vendor/payone-gmbh/magento-2/view/adminhtml/ui_component/payone_protocol_transactionstatus_grid.xml" is invalid:
Element 'indexField': This element is not expected.
Line: 87
The xml was: 
82:            </childDefaults>
83:        </settings>
84:        <column name="id">
85:            <settings>
86:                <indexField>id</indexField>
87:                <sorting>desc</sorting>
88:                <label translate="true">ID</label>
89:            </settings>
90:        </column>
91:        <column name="txid">

Verify the XML and try again.

Magento: 2.4.7-p3
Payone: 3.13.2

@Morgy93
Copy link
Author

Morgy93 commented Dec 19, 2024

Same issue for vendor/payone-gmbh/magento-2/view/adminhtml/ui_component/payone_protocol_api_grid.xml

payone/protocol_api/index

Morgy93 added a commit to Morgy93/magento-2 that referenced this issue Dec 19, 2024
Fixes PAYONE-GmbH#578

Fix the XML error 'Element 'indexField': This element is not expected' in the admin panel route `payone/protocol_transactionstatus/index`.

* Remove the `<indexField>id</indexField>` element from the `<column name="id">` section in `view/adminhtml/ui_component/payone_protocol_transactionstatus_grid.xml`.
* Remove the `<indexField>id</indexField>` element from the `<column name="id">` section in `view/adminhtml/ui_component/payone_protocol_api_grid.xml`.
@Morgy93 Morgy93 linked a pull request Dec 19, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant