- Issue created by @devil2005
- π―π΄Jordan Rajab Natshah Jordan
Facing the same issue with Drupal 10.1.0-beta1, PHP 8.1 on install from the browser and by drush.
- last update
over 1 year ago 533 pass - @rajab-natshah opened merge request.
- Status changed to Needs review
over 1 year ago 11:02am 15 May 2023 - Status changed to Needs work
over 1 year ago 11:14am 15 May 2023 - last update
over 1 year ago 533 pass - last update
over 1 year ago 533 pass - Status changed to Needs review
over 1 year ago 11:43am 15 May 2023 - last update
over 1 year ago 533 pass - π―π΄Jordan Rajab Natshah Jordan
Attaching a patch file for Webform 6.2.0-beta5
- last update
over 1 year ago Composer require-dev failure - π¨πSwitzerland berdir Switzerland
Hm, this is ugly. The new core method was added in π Allow EntityListBuilder::getEntityIds() to easily extend the query Fixed and it just happens to conflict with the method name that webform uses a lot.
Possibly the method should be renamed instead here, it's not really an override of the parent method but something else, the switch between getEntityIds() and getQuery() is different.
- last update
over 1 year ago Composer require-dev failure - π©πͺGermany a.dmitriiev
I also don't think that
getQuery
frommodules/webform_submission_log/src/WebformSubmissionLogManager.php
has anything to do with core change toListBuilder
. - πΊπΈUnited States mherchel Gainesville, FL, US
Although I'm not versed enough to review the actual code, I verified #11 fixed the issue for me.
- Status changed to Needs work
over 1 year ago 4:12pm 17 May 2023 - π¨π¦Canada bbombachini London, ON
Moving this to needs work as the solution previously presented might not be the right approach.
- πΊπΈUnited States cosmicdreams Minneapolis/St. Paul
- Status changed to Needs review
over 1 year ago 8:20am 18 May 2023 - last update
over 1 year ago Patch Failed to Apply - π¨πSwitzerland berdir Switzerland
It's an unrelated change that implements its own interface which was not changed, it's not even the same return type, I fully agree that this doesn't belong in here. Same for WebformSubmissionExporter. This is tricky enough as it is, lets focus on the actually required changes.
The different arguments are tricky as well, but changing the name or the arguments (they seem to come from properties always, so they could also just be dropped) has its own risk of introducing more issues if people customize those classes on their own.
I updated the patch to only have the required changes. I am adding a change to require-dev though so we can actually test this on D10+, feel free to commit that separately. I didn't update the MR, might be easier to proceed with the patch as the MR also had unrelated changes it seems.
- last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago Patch Failed to Apply - last update
over 1 year ago 533 pass - π¨πSwitzerland berdir Switzerland
Here's a patch that applies on 6.2.x.
- last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require-dev failure - last update
over 1 year ago Composer require-dev failure - πΊπΈUnited States kreynen
THANKS! Applying the patch from #20 fixed the issue for me.
- πΊπΈUnited States cosmicdreams Minneapolis/St. Paul
+1 on #20 for keeping the return type hints in the method signature.
- last update
over 1 year ago Composer require-dev failure - π¨πSwitzerland berdir Switzerland
I also brought this up in slack and core maintainers would be open to rename the added core method to not break Webform: https://drupal.slack.com/archives/C1BMUQ9U6/p1684156596053419.
- π¬π§United Kingdom longwave UK
I opened π Rename EntityListBuilder::getQuery() to something less generic Fixed to solve this in core, but we do not have much time to get this in.
- π¬π§United Kingdom longwave UK
π Rename EntityListBuilder::getQuery() to something less generic Fixed landed.
- π©πͺGermany Anybody Porta Westfalica
Thanks @longwave, so that means we should close this works as designed?
Is the core fix perhaps worth a Drupal 10.1.0-beta2 release to fix this critical conflict? Or is betaX after beta1 also tied to a schedule? - First commit to issue fork.
- last update
over 1 year ago 533 pass -
jrockowitz β
committed 60d2fc63 on 6.2.x authored by
Rajab Natshah β
Issue #3360357 by Berdir, jrockowitz: Fix the declaration of the...
-
jrockowitz β
committed 60d2fc63 on 6.2.x authored by
Rajab Natshah β
- Status changed to Fixed
over 1 year ago 11:48am 25 May 2023 - π¨πSwitzerland berdir Switzerland
Yeah, this could have been closed as a won't fix too as it will be fixed in the next core beta/rc release.
Automatically closed - issue fixed for 2 weeks with no activity.