Pending

User tests: Successful: Unsuccessful:

avatar krishnagandhicode
krishnagandhicode
21 Feb 2026

Pull Request resolves #46885

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

fixes the undefined array key warnings for "value" and "from_stage_id" that show up when a user is denied "Execute Transition" permissions in Workflows. The code was assuming these keys always exist, but they are missing for restricted users. I added fallback checks (?? 0) in HtmlView.php and ContentHelper.php to stop the errors.

Testing Instructions

Described in #46885

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar krishnagandhicode krishnagandhicode - open - 21 Feb 2026
avatar krishnagandhicode krishnagandhicode - change - 21 Feb 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Feb 2026
Category Administration com_content
avatar krishnagandhicode krishnagandhicode - change - 21 Feb 2026
Title
[5.4] fix undefined array key warnings in workflo permissionns
[5.4] fix undefined array key warnings in workflow permissionns
avatar krishnagandhicode krishnagandhicode - edited - 21 Feb 2026

Add a Comment

Login with GitHub to post a comment