Test: onContentBeforeDisplay Joomla 5/6 compatibility fix #74

Open
opened 2026-05-29 04:12:41 +00:00 by jmiller · 1 comment
Owner

Test: Article Editor Status Badges

What changed

Fixed onContentBeforeDisplay to accept Joomla 5/6 BeforeDisplayEvent object.

Steps to test

  1. Navigate to any article that has been cross-posted
  2. Verify cross-post status badges appear (green/red/yellow) in the admin article view
  3. Verify NO "Argument must be of type string, BeforeDisplayEvent given" error
  4. Check both article list view and single article edit view

Labels

type: testing, priority: critical

## Test: Article Editor Status Badges ### What changed Fixed onContentBeforeDisplay to accept Joomla 5/6 BeforeDisplayEvent object. ### Steps to test 1. Navigate to any article that has been cross-posted 2. Verify cross-post status badges appear (green/red/yellow) in the admin article view 3. Verify NO "Argument must be of type string, BeforeDisplayEvent given" error 4. Check both article list view and single article edit view ### Labels `type: testing`, `priority: critical`
Author
Owner

Branch created: feature/74-test-oncontentbeforedisplay-joomla-5-6-c

git fetch origin
git checkout feature/74-test-oncontentbeforedisplay-joomla-5-6-c
Branch created: [`feature/74-test-oncontentbeforedisplay-joomla-5-6-c`](https://git.mokoconsulting.tech/MokoConsulting/MokoJoomCross/src/branch/feature/74-test-oncontentbeforedisplay-joomla-5-6-c) ```bash git fetch origin git checkout feature/74-test-oncontentbeforedisplay-joomla-5-6-c ```
Sign in to join this conversation.
No labels
Type Task
Status
Priority Critical
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoJoomCross#74