Skip to content

Symfony NEXT (8.2-dev) leg: two component position tests fail #585

Closed

Description

@silverbackdan

Since #584 the Symfony NEXT 8.2 leg runs the suite on stable PHPUnit 13.4.6 / ParaTest 7.27.5 (before, ParaTest 7.x-dev crashed against PHPUnit 13.5-dev and hid all results). With every other package on dev versions, 2 of 5809 tests fail; every stable leg passes.

Run: https://github.com/components-web-app/api-components-bundle/actions/runs/43031967565/job/130561031450

  1. Component\ComponentGroupOrderTest::test_the_order_carries_the_cache_tags_of_its_group_and_every_listed_position_so_a_position_write_purges_it — one listed position's IRI is not purged (The cache tag /_/component_positions/<id> was not purged; the other two positions and the collection were).
  2. Component\ComponentMoveTest::test_a_move_within_one_group_reorders_it_by_the_anchor — after a move within one group, the group lists 2 positions instead of 3 (ComponentSiteTrait.php:272).

Both involve component positions in a group's componentPositions (orphanRemoval, ordered by sortValue, id). To do: find which dev package changed behaviour (Symfony 8.2, Doctrine ORM/collections, API Platform dev…), and whether it is a bundle bug exposed by it or an upstream regression to report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions