6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#15134] dev-FRAMEWORK_6_0 birthday and anniversary
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ . . __ .__ __ [__)\ // `[ __/ ` | \/ \__.[_./\__.
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++) { > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers