- First commit to issue fork.
- Status changed to Needs review
8 months ago 10:50am 16 August 2024 - Status changed to RTBC
8 months ago 2:21pm 16 August 2024 - πΊπΈUnited States smustgrave
Do a search for
entity_test/add'
and'entity_test_mulrevpub/add'
believe all instances have been found. - Status changed to Needs review
7 months ago 9:58am 19 September 2024 - π³πΏNew Zealand quietone
There was a test failure. I rebased and updated another link.
- Status changed to RTBC
7 months ago 12:52pm 19 September 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
The changes to the link templates here look good, but I'm concerned about the impact on contrib modules that are using these entity types for their tests. This can be seen by the large number of changes in the MR to add the additional type to the URL.
Can we try to revert all of those changes, and as well as fixing the add-form template, add an add-page template (using the original URL).
For instances where there's only one bundle, that will wire up
\Drupal\Core\Entity\Controller\EntityController::addPage
which handily redirects to the add-form template when there is only one bundle. For the vast majority of tests, there will only be one bundle because of the default value in\entity_test_entity_bundle_info
We can then assess how many tests are still broken, but I suspect it will be dramatically less. That will give us confidence that this change won't break as many contrib tests as the current approach most likely will.
- π³πΏNew Zealand quietone
@larowlan, thanks.
Made changes asked for in #35.
The Needs Review Queue Bot β tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- π³πΏNew Zealand quietone
Rebase with many conflicts due to π Convert entity type discovery to PHP attributes Needs review
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Updated credits.
There's one here still using annotations that I think should be attributes?
- π³πΏNew Zealand quietone
It would be out of scope for this issue to convert an entity from annotations to attributes. That entity was added in π Cannot use UUID as entity ID Needs work and there is a comment there suggesting that the conversion could be done as part of deprecating annotations, [#33101701-50]. That seems reasonable for a test entity.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Yes you're correct, sorry for missing that was already using annotations rather than it being added here
-
larowlan β
committed be3b0198 on 11.x
Issue #2699959 by quietone, dragos-dumi, smustgrave, larowlan, joachim:...
-
larowlan β
committed be3b0198 on 11.x
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Committed to 11.x
As we're in RC phase for 11.1 I think this doesn't meet the requirements for backport.Thanks all ποΈ
Automatically closed - issue fixed for 2 weeks with no activity.