Closed (fixed)
Project:
TableField
Version:
8.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2020 at 22:13 UTC
Updated:
17 Dec 2024 at 19:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
s.abbott commentedComment #3
s.abbott commentedForgot to rename the files to include the issue #! Reuploading with correct name (contents are identical).
Comment #4
s.abbott commentedComment #5
chuyenlv commentedTested with Drupal 10 and I see some errors:
- Deprecated function: Creation of dynamic property Drupal\tablefield\Plugin\Field\FieldFormatter\TablefieldFormatter::$ModuleHandler is deprecated
- Deprecated function: Creation of dynamic property Drupal\tablefield\TableValue::$value is deprecated
I create the patch to fix these errors.
Comment #6
grimreaperHi,
Thanks for the patch comment 5, it solved the warnings.
Comment #7
dylan donkersgoed commentedThe clean-code-deprecated-dynamic-property-3170043-5.patch patch no longer applies to the latest dev/2.5-rc1 versions because the moduleHandler property name has been fixed. Attaching a new patch which includes only the setValue fix.
Comment #12
erutan commentedPatch #7 applies cleanly to dev / RC2 and solves the issue. This is the most important patch,
The following two patches have already been implemented:
3170043-code-cleanup--fix-indentation-3.patch
3170043-code-cleanup--fix-capitalization-3.patch
The following patch applies cleanly:
3170043-code-cleanup--add-return-documentation-3.patch
The following patch has been confirmed that there is no add_row property and applies cleanly:
3170043-code-cleanup--remove-unused-property-3.patch
Comment #13
liam morlandShould this be cherry-picked onto branch 3.0.x?
Comment #14
erutan commentedThe bugfix should be universally applied, the code cleanup is trivial but universal. It'd be nice to not have future patches have to deal with it (the capitalization of moduleHandler was fixed at least 3 times in different patches). It should be in both branches.