?
avatar snehal0904
snehal0904
19 Oct 2019

Steps to reproduce the issue

  • Create an article
  • Add Start Publishing date as today's date or any future date
  • Add Finish Publishing date as any past date, it is getting accepted.

Expected result

Actual result

There should be an error message if Finish Publishing date is less than start publishing date

System information (as much as possible)

Additional comments

avatar snehal0904 snehal0904 - open - 19 Oct 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Oct 2019
avatar nielsnuebel
nielsnuebel - comment - 19 Oct 2019

I can't confirm that. You can select it in the DatePicker but after saving it sets the start date to the end date and the end date to the start date. What I actually find crazy.
https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Table/Content.php#L268_L274

avatar Quy
Quy - comment - 16 Nov 2019

@richard67 Please comment and close if expected behavior. Thanks.

avatar richard67
richard67 - comment - 16 Nov 2019

@Quy Why me? I haven’t invented that. But @nielsnuebel is right, it works that way, and comments in code look as if this was expected behavior.

avatar richard67
richard67 - comment - 16 Nov 2019

@Quy How can I close that?

avatar Quy Quy - change - 16 Nov 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-11-16 23:32:46
Closed_By Quy
avatar Quy
Quy - comment - 16 Nov 2019

@richard67 You worked with dates lately so I thought you might understand it best. If you have permission, you can close it here and in the issue tracker. For now, I will close it. Thanks.

avatar Quy Quy - close - 16 Nov 2019

Add a Comment

Login with GitHub to post a comment