Skip to content

IBX-12180: [ibexa/page-builder] Added REST routing import to experience and commerce recipes - #260

Merged
alongosz merged 1 commit into
masterfrom
ibx-12180-page-builder-rest-routing-import
Aug 30, 2026
Merged

alongosz merged 1 commit into
masterfrom
ibx-12180-page-builder-rest-routing-import

Conversation

@alongosz

@alongosz alongosz commented Aug 29, 2026

Copy link
Copy Markdown
Member
🎫 Issue IBX-12180

Related PRs:

Description:

Redo of ibexa/recipes#117 in the correct repo. ibexa/recipes serves recipes for released versions only. Flex doesn't support tagging recipe versions, so development changes land here, in recipes-dev, and get fast-forwarded onto ibexa/recipes during the release. #117 went straight into ibexa/recipes and reached existing installations through the documented upgrade step (composer recipes:install ibexa/experience --force), crashing the router on 5.0.10 with Unable to find file "@IbexaPageBuilderBundle/Resources/config/routing_rest.yaml" — the file doesn't exist in any released ibexa/page-builder. Reported by a Customer, reverted via ibexa/recipes@aeec5db.

The change itself is byte-identical to #117:

ibexa/page-builder#569 adds GET /api/ibexa/v2/page/structure. The bundle declares its routes in Resources/config/routing_rest.yaml without the API prefix (same convention as ibexa/taxonomy, ibexa/calendar and others), so the application has to import that file with prefix: '%ibexa.rest.path_prefix%'.

  • Added the ibexa.page_builder.rest import to config/routes/ibexa_page_builder.yaml of every edition recipe shipping ibexa/page-builder (experience and commerce, 5.0 and 6.0), mirroring the existing ibexa.taxonomy.rest import in ibexa_taxonomy.yaml.

Note

#117 claimed existing installations need this snippet added by hand. The Customer report proved otherwise: composer recipes:install <edition> --force re-applies the recipe during upgrade, so existing installations get the import through the regular upgrade flow — as long as this is released together with a page-builder version shipping routing_rest.yaml.

For QA:

On a fresh 5.0 or 6.0 experience/commerce installation created after this change, with ibexa/page-builder#569 applied:

  1. config/routes/ibexa_page_builder.yaml contains the ibexa.page_builder.rest import.
  2. php bin/console debug:router lists ibexa.page_builder.rest.page_structure with path /api/ibexa/v2/page/structure.

Documentation:

Covered by the page-builder PR. Nothing recipe-specific to add.

🤖 Generated with Claude Code

…ipes

Co-Authored-By: Bartłomiej Nowak <5451843+bnowak@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Thanks for contribution! 🎉

To test the changes please execute:

composer config extra.symfony.endpoint https://api.github.com/repos/ibexa/recipes-dev/contents/index.json?ref=flex/pull-260

before executing the recipes.

@sonarqubecloud

Copy link
Copy Markdown

@alongosz
alongosz merged commit ecf7fd1 into master Aug 30, 2026
3 checks passed
@alongosz
alongosz deleted the ibx-12180-page-builder-rest-routing-import branch August 30, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant