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

Usage of a preparse field in cp table view causes an error #101

Closed
knufri opened this issue Jul 15, 2024 · 3 comments
Closed

Usage of a preparse field in cp table view causes an error #101

knufri opened this issue Jul 15, 2024 · 3 comments

Comments

@knufri
Copy link

knufri commented Jul 15, 2024

First of all I want to say thank you to @jalendport to upgrade this plugin for Craft 5. I upgraded a site from Craft 4 to 5 and also the preparse plugin. It works so far but when I use the field in the table preview it causes an 500 error:

Bildschirmfoto 2024-07-15 um 09 51 01
Twig\Error\RuntimeError: Calling unknown method: jalendport\preparse\fields\PreparseFieldType::getTableAttributeHtml() in /Users/jan/Sites/jswebdev/versteigerungskalender.de/vendor/craftcms/cms/src/templates/_elements/tableview/elements.twig:107

Steps to reproduce:

  1. Add an preparse field to an entry type
  2. Try to use it in the table view in the control panel
PHP version - 8.2.21
MariaDB - 11.2.2
Craft Pro - 5.2.6
Preparse - 3.0.0-alpha.1
jalendport added a commit that referenced this issue Jul 15, 2024
@jalendport
Copy link
Owner

Thanks for reporting; fixed in 3.0.0-alpha.2... 🙌

@knufri
Copy link
Author

knufri commented Jul 15, 2024

WOW @jalendport this was quick 😄

@jalendport
Copy link
Owner

jalendport commented Jul 15, 2024

@knufri I had an hour to wait at the airport this morning so it worked out perfectly 👌😁

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

2 participants