PR-6.1-dev Success

User tests: Successful: Unsuccessful:

avatar jiteshkhatri11
jiteshkhatri11
21 Apr 2026

Summary

Fixes an issue where publishing start and end date fields are not visible when creating a new article on the frontend.

Cause

The condition if (!is_null($this->item->id)) restricted the publishing fields to existing articles only.

Fix

Removed the condition so publish_up and publish_down are always displayed.
Kept featured fields restricted via permission checks.

Testing Instructions

  1. Create a new article (frontend)
  2. Check publishing start/end dates are visible
  3. Edit existing article → still visible

Expected Result

Publishing dates visible for both new and existing articles.

BC Break?

No

Documentation Changes

No

avatar jiteshkhatri11 jiteshkhatri11 - open - 21 Apr 2026
avatar jiteshkhatri11 jiteshkhatri11 - change - 21 Apr 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Apr 2026
Category Front End com_content
avatar jiteshkhatri11
jiteshkhatri11 - comment - 21 Apr 2026

@joomla-cms-maintainers please review

avatar alikon
alikon - comment - 21 Apr 2026

duplicate of #47640

avatar brianteeman
brianteeman - comment - 23 Apr 2026

There was a very good reason why you were given a template to complete when you submitted this PR. Please update your pr with the required details or this will have to be closed. you can find the template here https://github.com/joomla/joomla-cms/blob/5.4-dev/.github/PULL_REQUEST_TEMPLATE.md

avatar jiteshkhatri11
jiteshkhatri11 - comment - 23 Apr 2026

Closing this PR as the issue has already been addressed in #47640.

Thanks for the feedback.

avatar joomdonation joomdonation - change - 24 Apr 2026
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2026-04-24 01:47:43
Closed_By joomdonation
Labels Added: PR-6.1-dev
avatar joomdonation joomdonation - close - 24 Apr 2026
avatar joomdonation
joomdonation - comment - 24 Apr 2026

Closing this PR as the state above.

Add a Comment

Login with GitHub to post a comment