Issue Number | 588 |
---|---|
Summary | [Calendar] Weekly and daily calendar views broken |
Created | 2021-02-10 18:10:19 |
Issue Type | Bug |
Submitted By | Kline, Bob (NIH/NCI) [C] |
Assigned To | Kline, Bob (NIH/NCI) [C] |
Status | Closed |
Resolved | 2021-08-16 09:24:18 |
Resolution | Fixed |
Path | /home/bkline/backups/jira/oceebms/issue.284687 |
Only all-day events appear on the daily and weekly calendar
views. The problem is a known (but ignored) bug which was reported
back in October. I set up a fresh Drupal 7 docker container to
reproduce the bug, confirming that it’s still present with the latest
dev versions of both
the calendar
and date
modules. If they’re
really walking away from all of the outstanding bugs for
the calendar
module, as the maintenance team seem
to be saying (there are 92 open issues), then I don’t see that I’ll
have much choice other than to hack the module (the bug is in JavaScript
which dynamically kills the visibility for the date/time cells and
leaves it that way, so this isn’t something I could address with custom
css). At least we’ll only have to maintain the hack until we get off of
Drupal 7. Bugs like this one reinforce my inclination to implement our
own calendar functionality (assuming we use Drupal 9 for
the EBMS rewrite), building on supported JavaScript libraries, rather
than leave ourselves at the mercy of modules (date/calendar) which have
a horrible support history (the modules’ creator, Karen Stevenson, silently
walked away from the modules one day without any warning and left them
unsupported for years).
Fixed on DEV.
There appears to be some extra text on the daily view of the calendar on DEV around the "ADD EVENT" button (pasted below).
// BEGIN EBMS PATCH ++
+ ADD
EVENT +
+
+// END EBMS PATCH
Garbage removed.
Verified on DEV.
Verified on QA.
Verified on PROD. Closing issue.
Elapsed: 0:00:00.000629