Skip to content

Document actionNotFound hook - #2163

Merged
jolelievre merged 1 commit into
PrestaShop:9.xfrom
mattgoud:hooks/add-actionnotfound
Aug 27, 2026
Merged

Document actionNotFound hook#2163
jolelievre merged 1 commit into
PrestaShop:9.xfrom
mattgoud:hooks/add-actionnotfound

Conversation

@mattgoud

@mattgoud mattgoud commented Aug 27, 2026

Copy link
Copy Markdown
Contributor
Questions Answers
Branch? 9.x
Description? Adds the missing documentation page for the actionNotFound hook. The hook was introduced by PrestaShop/PrestaShop@4ee3078 and first shipped in 9.1.5; it is also present in 9.2.x. It went undocumented for a scheduling reason: that commit landed on 2026-07-09 at 14:35, a few hours after #2158 regenerated the hook documentation at 11:43 the same day — so the generator run never saw it. Running php bin/console prestashop:update:hooks-documentation against current 9.x produces exactly this one new file and modifies nothing else. Two manual notes: the files: list was completed by hand, because the generator only records a single origin file while actionNotFound is dispatched from three front controllers (PageNotFoundController, ProductController, listing/CategoryController); and the URLs point at 9.2.x rather than 9.1.x because the 9.1.x branch has since been deleted upstream, which would make those links dead.
Fixed ticket?
Sponsor company PrestaShop

Generated by prestashop:update:hooks-documentation. The hook was added to
install-dev/data/xml/hook.xml in PrestaShop/PrestaShop@4ee3078 a few hours
after PR PrestaShop#2158 regenerated the 9.2.x hook documentation, so it was missed.

The files list was completed by hand: the generator only records a single
origin file, while the hook is dispatched from three front controllers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the 9.x label Aug 27, 2026
locations:
- 'front office'
type: action
hookAliases:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
hookAliases:

@jolelievre
jolelievre merged commit 4228fb2 into PrestaShop:9.x Aug 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants