- Issue created by @UsingSession
- @usingsession opened merge request.
- πΊπ¦Ukraine UsingSession
A current failed test is not related to my issue.
You are able to see error in raw log pipeline .An appropriate screenshot with the error is attached.
- π³πΏNew Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies β .
- π¬π§United Kingdom oily Greater London
@usingsession I just re-ran the failing test. I recommend re-running if there are one or two random failures.
- πΊπΈUnited States smustgrave
Can MR be updated to 11.x also please
If you are another contributor eager to jump in, please allow the previous poster at least 48 hours to respond to feedback first, so they have the opportunity to finish what they started!
- πΊπ¦Ukraine UsingSession
@oily
Looks like test coverage goes in SqlContentEntityStorageSchemaTest.php
Okay than, I will try to investigate in more detail.
- π¬π§United Kingdom oily Greater London
@usingsession By all means! Remember the #testing channel on Slack, too. You should get good support.
- @usingsession opened merge request.
- πΊπ¦Ukraine UsingSession
Regarding the pull request for the branch "3502900-inappropriate-error-when" β the issue with the failing test is related to Catch potential exception when calling Request::create() in PathBasedBreadcrumbBuilder π Catch potential exception when calling Request::create() in PathBasedBreadcrumbBuilder Needs review
For 11.x everything is fine.
- πΊπ¦Ukraine UsingSession
I believe we could simplify this by adding a check for the presence of $table before
array_intersect_key
.
However, in my opinion, the current solution is better because it provides a clearer understanding of the situation. - πΊπΈUnited States smustgrave
Sometimes helps to add test coverage of the scenario so we can see the fix is covered.
- πΊπ¦Ukraine UsingSession
I've added a test to cover this scenario:
testUpdateFieldStorageDefinitionThrowsException()
. This test ensures that attempting to change the cardinality of a field with existing data correctly triggers theFieldStorageDefinitionUpdateForbiddenException
. This approach verifies that the fix is properly enforced and prevents unintended schema changes.