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 |
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.
$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++) {
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ dev-FRAMEWORK_6_0 birthday and anniversary
Queue ⇒ Turba
Milestone ⇒
Patch ⇒ No
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.