6.0.0-alpha10
5/14/25

[#15134] dev-FRAMEWORK_6_0 birthday and anniversary
Summary dev-FRAMEWORK_6_0 birthday and anniversary
Queue Turba
Queue Version Git master
Type Bug
State Unconfirmed
Priority 3. High
Owners
Requester impuser (at) bitrealm (dot) com
Created 02/04/2023 (830 days ago)
Due
Updated 02/05/2023 (829 days ago)
Assigned
Resolved
Milestone
Patch No

History
02/05/2023 10:48:15 PM impuser (at) bitrealm (dot) com Comment #2 Reply to this comment
Can't create a contact with a birthdate or anniversary date, unless 
the year is 2023-2033. Form in contact shows a drop-down list of 
dates and will not allow one to type a year. Drop-down available 
years are 2023-2033...can't go back any further forward or backwards.

Display date for imported days appear fine, but then one cannot edit 
the contact as the year field isn't being filled in properly.
It appears that on line 529 of 
$horde-root//vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php, 
there is the following declaration:

for ($i = $var->type->getProperty('start_year');

On my system, "$var->type->getProperty('start_year')" is coming up 
NULL. I don't know where it is trying to find "start_year" and decides 
that this will be the current year.

I hard-coded the start year to 1900 and now birthdays/anniversaries 
work back to the year 1900.

for ($i = 1900; $i <= $var->type->getProperty('end_year'); $i++) {


02/04/2023 11:28:55 PM impuser (at) bitrealm (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ dev-FRAMEWORK_6_0 birthday and anniversary
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
Reply to this comment
Can't create a contact with a birthdate or anniversary date, unless 
the year is 2023-2033. Form in contact shows a drop-down list of dates 
and will not allow one to type a year. Drop-down available years are 
2023-2033...can't go back any further forward or backwards.

Display date for imported days appear fine, but then one cannot edit 
the contact as the year field isn't being filled in properly.

Saved Queries