Skip to content

[5.4] Start/End Featured#46003

Merged
muhme merged 2 commits intojoomla:5.4-devfrom
brianteeman:featured
Aug 29, 2025
Merged

[5.4] Start/End Featured#46003
muhme merged 2 commits intojoomla:5.4-devfrom
brianteeman:featured

Conversation

@brianteeman
Copy link
Copy Markdown
Contributor

@brianteeman brianteeman commented Aug 28, 2025

Pull request for 45838 #29942

Steps to reproduce the issue

not using workflows
Create an article and in the publishing tab set a date for feature start and save

Expected result

Article is saved and on the set date the article will be featured - basically same behaviour as with start publishing

Actual result

Article is saved without any error but the date is NOT saved.

Additional comments

You have to set the article to be featured before the date will be saved. This bug was caused by a change when workflows was integrated . Before that change the start/end featured fields were only displayed when the article was set to featured.

Summary of Changes

This simple PR restores the behaviour that the start/end featured fields are only displayed after already setting the article to be featured.

If you are using workflows then there is no change. The start/end featured are always displayed and the date is never saved even if the article has been set to featured with workflows. #35308

So not a perfect fix but at least it fixes it for the majority of users who dont use workflows - unless someone has a better fix for all cases

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Signed-off-by: BrianTeeman <brian@teeman.net>
@richard67
Copy link
Copy Markdown
Member

The issue is labelled as "Feature", so this PR would also get that label. But we have already feature freeze in 5.4 and 6.0. So it would have to go into 6.1.

@richard67
Copy link
Copy Markdown
Member

Or is it a bug fix because different to the original intention of the issue?

@richard67 richard67 added bug and removed Feature labels Aug 28, 2025
@brianteeman
Copy link
Copy Markdown
Contributor Author

For me its a bug as its broken behaviour (and basically going back to the original j3 behaviour)

@richard67
Copy link
Copy Markdown
Member

I've changed the label from feature to bug. No need to hurry, if it does not go into beta 2 it will go into beta 3.

@richard67
Copy link
Copy Markdown
Member

P.S:: But can we close the issue?

@brianteeman
Copy link
Copy Markdown
Contributor Author

My bad I referenced the wrong issue - i have now corrected it to #29942

@richard67
Copy link
Copy Markdown
Member

@brianteeman Can you close the issue now as we have a pull request?

@exlemor
Copy link
Copy Markdown

exlemor commented Aug 29, 2025

@brianteeman I seem to have found a bug?

Without the PR applied, as you described the Start/Finish Featured is typed in but does not get saved:

ScreenFloat Shot of Safari on 2025-08-29 at 01-55-23

but
With the PR applied, the Start/Finish Featured fields disappeared ?!:

ScreenFloat Shot of Safari on 2025-08-29 at 01-55-01

The Inspect Element view when PR is applied (the field flashes --> gets hidden)

ScreenFloat Shot of Safari on 2025-08-29 at 02-02-07

Hope that helps.

Fresh install Joomla 5.4 Nightly - 28 August 2025 00:42:47 UTC, Install Blog data, installed French, Installed Multi-lingual Same Data, caching On conservative, Error Reporting: Maximum, HTTPS - Entire site, SEF turned on.

@brianteeman
Copy link
Copy Markdown
Contributor Author

Please read the test instructions

@richard67
Copy link
Copy Markdown
Member

Please read the test instructions

To be more precise: Section "Additional comments" in the testing instructions.

@brianteeman
Copy link
Copy Markdown
Contributor Author

its there twice - also in the summary of changes

@exlemor
Copy link
Copy Markdown

exlemor commented Aug 29, 2025

@brianteeman

( I had read that and it does work WITH setting the article to Featured but causing the fields to be hidden seemed so opposite of what we usually do (we typically do not change the behavior or an already established feature (aside from major releases) that it felt like we're basically introducing a b/c break in the way the CMS behaves for a user and I thought it was important to say something. ) (sorry if I was wrong, just trying to help).

If you think it isn't or it's fine for now, I will validate my test.

@brianteeman
Copy link
Copy Markdown
Contributor Author

@exlemor its not a b/c break. The fields are only relevant if you have already set the article to featured. The bug/confusion is that people expect to be able to just set the start and end dates withotu first setting it to featured. If you try that then the dates are not stored and you think its broken. It is common throughout Joomla to have certain fields hidden and only shown when the feature is enabled not sure what you mean when you say "opposite of what we usually do"

Note it completely doesnt work at all when using workflows - thats a seperate issue

@exlemor
Copy link
Copy Markdown

exlemor commented Aug 29, 2025

I have tested this item ✅ successfully on 259abcd

I have tested this successfully. Thank you very much @brianteeman for the (extra) detailed explanation.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46003.

@muhme
Copy link
Copy Markdown
Contributor

muhme commented Aug 29, 2025

I have tested this item ✅ successfully on 7ade64d

Tested with JBT, before the PR

  • Start and Finished Featured dates are not saved

With the PR, graft full package, w/o workflows

  • ✅ w/o Featured enabled the Start and Finished Featured date fields are not available
  • ✅ w/ Featured enabled the Start and Finished Featured date fields are available and date can be saved

⚠️ Found already existing error before this PR and even in 5.3 with time reset, see #46013


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46003.

@richard67
Copy link
Copy Markdown
Member

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46003.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 29, 2025
@muhme muhme merged commit ce4e5e9 into joomla:5.4-dev Aug 29, 2025
41 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Aug 29, 2025
@muhme muhme added this to the Joomla! 5.4.0 milestone Aug 29, 2025
@muhme
Copy link
Copy Markdown
Contributor

muhme commented Aug 29, 2025

Thank you @brianteeman for your contribution. Thank you @exlemor for testing.

@brianteeman brianteeman deleted the featured branch August 29, 2025 19:23
rdeutz pushed a commit to rdeutz/joomla-cms that referenced this pull request Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants