Language Change PR-5.4-dev PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Mahesh-Gite-28
Mahesh-Gite-28
27 Apr 2026
  • 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

Replace str_replace("\n", ' ', print_r($values, 1)) with
json_encode($values, JSON_UNESCAPED_SLASHES) in three JDEBUG-only
debug log statements inside BaseController.

Affected methods:

  • checkEditId()
  • holdEditId()
  • releaseEditId()

Testing Instructions

  1. Enable JDEBUG in Joomla configuration.
  2. Trigger actions that call:
    checkEditId()
    holdEditId()
    releaseEditId()
  3. Verify log output.

Ensure that:

  • Logs are generated correctly
  • Output is in JSON format
  • No functional behavior is affected

Actual result BEFORE applying this Pull Request

Debug logs used print_r() combined with str_replace(),
producing verbose and less readable output with unnecessary processing overhead.

Expected result AFTER applying this Pull Request

Debug logs use json_encode(), producing cleaner, compact, and
more efficient single-line output without extra processing.

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 Mahesh-Gite-28 Mahesh-Gite-28 - open - 27 Apr 2026
avatar Mahesh-Gite-28 Mahesh-Gite-28 - change - 27 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2026
Category Libraries
avatar github-actions[bot]
github-actions[bot] - comment - 27 Apr 2026

This pull request has conflicts, please resolve those before we can evaluate the pull request.

avatar Mahesh-Gite-28 Mahesh-Gite-28 - change - 27 Apr 2026
Labels Added: Conflicting Files PR-5.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2026
Category Libraries Administration com_installer com_joomlaupdate Language & Strings Layout Libraries
avatar Mahesh-Gite-28 Mahesh-Gite-28 - change - 27 Apr 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-04-27 10:12:39
Closed_By Mahesh-Gite-28
Labels Added: Language Change PR-6.2-dev
Removed: Conflicting Files
avatar Mahesh-Gite-28 Mahesh-Gite-28 - close - 27 Apr 2026
avatar Mahesh-Gite-28
Mahesh-Gite-28 - comment - 27 Apr 2026

Thanks for your guidance. I have updated the pull request to target 6.2-dev and resolved the merge conflicts.

avatar Mahesh-Gite-28
Mahesh-Gite-28 - comment - 27 Apr 2026

Thanks for your guidance. I have updated the pull request to target 6.2-dev and resolved the merge conflicts.

Add a Comment

Login with GitHub to post a comment