- Status changed to RTBC
almost 2 years ago 10:01am 27 January 2023 - π©πͺGermany Sarika Wirtz
I installed module and applied the patch #2 and #10 using drupal10 and cloned node successfully.
- Status changed to Needs work
almost 2 years ago 10:22am 27 January 2023 - π©πͺGermany Grevil
@smustgrave interesting! I just ran upgrade_status over the 8.x-1.x dev version using drush and "only" got these 2 deprecation notices:
(The core_version_requirement should definitly be fixed. I am wondering how the Project Update Bot did not fix the most basic D10 compatibility issue).But I can not gather any information on
Drupal\address\Event\InitialValuesEvent
, so you are probably correct with your deprecation notice! Still wondering why I'm not getting the same notice... did you run upgrade_status through the UI or through drush?I also ran PHPStan with Drupal Standards on the module and PHPUnit in a Drupal 10 environment, still no further deprecation errors!
Maybe one of the maintainers can clear up the use of
Drupal\address\Event\InitialValuesEvent
andINITIAL_VALUES
here, so we can finally resolve this issue and create a new release! - π©πͺGermany Grevil
@Sarika Wirtz nice find! Patch #10 doesn't contain the changes from Patch #2, for some reason...
- Assigned to Sarika Wirtz
- π©πͺGermany Sarika Wirtz
I tested Merge request !11 using drupal10 and tried to clone the node. When I clicked on "clone node" it gave me no option to change content or title (attached screen shot "merge_request-11-2023-01-27.png"). However when i tried to save the node it gave me an error "The website encountered an unexpected error. Please try again later."
Also error from Log:
InvalidArgumentException: Field submit is unknown. in Drupal\Core\Entity\ContentEntityBase->getTranslatedField() (line 587 of /var/www/html/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php).
- Issue was unassigned.
- π©πͺGermany Anybody Porta Westfalica
@smustgrave any updates after reading the comments? How to proceed here?
- πΊπΈUnited States smustgrave
Unfortunately I don't know how to proceed with those address deprecations.
- π³π±Netherlands megachriz
I see that the latest Address release is 8.x-1.11 β . So there's no Address 2.0 yet. While it would be a good thing to get that deprecation fixed, it may not be a showstopper for a D10 compatible release.
I do see that there are test failures too and an issue reported in #24. These I would call showstoppers.
- First commit to issue fork.
- πΊπΈUnited States sker101 NYC
Revert the change of extending Entityform seems to be fix the test failures.
I don't think we should be changing the extending class just because the parent class is marked as `@internal`.
See discussion in
https://github.com/mglaman/phpstan-drupal/issues/284
https://www.drupal.org/project/drupal/issues/2491057#comment-14356806 π Streamline the entity deletion form class hierarchy Needs review
Perhaps we should add @phpstan-ignore-next-line as well?
- πΊπΈUnited States markdorison
Is anyone still experiencing issues? I am testing the latest changes committed to 8.x-1.x from this issue and I seem to be able to enable the module and clone nodes as expected.
- π§πͺBelgium victonator
No issue's on a fresh Drupal 10 project, works perfectly
- Status changed to Fixed
over 1 year ago 12:50am 14 March 2023 - πΊπΈUnited States markdorison
8.x-1.16 has been tagged/released with D10 compatibility.
Automatically closed - issue fixed for 2 weeks with no activity.