Download & Extend

The publish date of an announcement must be before its expiration date.

Project:Announcements
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

Good Day,

When I click on preview button, I get this warning The publish date of an announcement must be before its expiration date.
If you look at my screen shot, publication date is before expiration date. Is this a bug?

Please see attached. As you can see from the picture I have tried putting the publication date all the way to 1900 and the expiration to 2050. I have tried different publication date and expiration date.

if I set it to a year apart I get this

Fatal error: Unsupported operand types in local/mysamplesite.com/includes/common.inc on line 1079

Thank you,

Mark

AttachmentSize
submit announcement.png8.01 KB

Comments

#1

#2

Assigned to:Anonymous» NancyDru

I can't reproduce the date problem, but I can reproduce the "Unsupported operand..." error. I have a suspicion that they have the same cause. I am still trying to figure that out.

#3

Status:active» fixed

Fix committed. Theme_announcements_dates needed preview logic.

temp

Automatically closed -- issue fixed for two weeks with no activity.

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

#5

Version:5.x-1.0» 6.x-1.3
Assigned to:NancyDru» Anonymous
Status:closed (fixed)» active

This is still a bug.

#6

This other report of "Fatal error: Unsupported operand types in C:\xampp\htdocs\drupal_testing\includes\common.inc on line 1079" is not what this report was. This was for "The publish date of an announcement must be before its expiration date." This error: "The publish date of an announcement must be before its expiration date." is still a bug.

#7

Status:active» postponed (maintainer needs more info)

I cannot reproduce this with the -dev version. Please try that and see if you are still seeing this.

nobody click here