| Summary | Incorrect size calculation for FB (work)week view |
| Queue | Kronolith |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | tasin (at) fhm (dot) edu |
| Created | 04/26/2005 (7502 days ago) |
| Due | |
| Updated | 04/27/2005 (7501 days ago) |
| Assigned | |
| Resolved | 04/27/2005 (7501 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
instead of
"... It will only calculate correctly if the range is exactly 9 hours."
it should be
"... It will only calculate correctly if the range is exactly the
value of _startHour."
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Incorrect size calculation for FB (work)week view
Queue ⇒ Kronolith
New Attachment: FBView.diff
(i.e. implementing startHour and endHour), the size of the busy blocks
are not calculated correctly. It will only calculate correctly if the
range is exactly 9 hours.
- Even the calculation of the number of blocks a day will not be
correctly, if the time range for a day isn't dividable by 3 (modulus
!= 0).
- if endHours is set to 19:30 (i.e. 39), any view is calculated only
for 19:00 due to the floor() call in FBView.php
- This patch makes _getBlockes() inside workview.php obsolete (and so
the patch should also close
Bug #1557for HEAD).