Skip to content

TagsBundle v6.0.3: the tag view and router take the id as an integer

Choose a tag to compare

@se7enxweb se7enxweb released this 25 Oct 01:33
· 5 commits to master since this release

se7enxweb/tagsbundle v6.0.3

Release line for Exponential Platform Nexus 1.3 and Platform Legacy 5.x (Ibexa 5). Based on Netgen Tags Bundle 6.0.2.

Fixed

  • The tag view loads the tag of /tags/id/{tagId}. Route parameters are always strings, and the view
    builder handed the ID to TagsService::loadTag(int) unchanged. With strict types that is a TypeError, so
    the URL answered 500. It is the URL the Netgen Admin UI (ngadminui) and the legacy tag links open. The view
    builder and the router's URL generation now cast the ID to an integer. The route already accepts digits only.

Changed

  • The package is named se7enxweb/tagsbundle and replaces netgen/tagsbundle (self.version). Netgen
    Layouts' tags query and the site bundles ask for netgen/tagsbundle, and this package satisfies them.
    Composer never installs both. To switch, a project requires se7enxweb/tagsbundle: ~6.0.3.