Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline bars of OAP are to long #87

Open
lordsurfer opened this issue Feb 23, 2014 · 5 comments
Open

Timeline bars of OAP are to long #87

lordsurfer opened this issue Feb 23, 2014 · 5 comments

Comments

@lordsurfer
Copy link
Collaborator

timeline

@lordsurfer lordsurfer added bug and removed open-issue labels Feb 23, 2014
@lordsurfer
Copy link
Collaborator Author

You use the wrong start date!!!!!

@lordsurfer
Copy link
Collaborator Author

And this will happen if you link the OAP as dependencies:
timeline

The tasks are too short...

@janek-bieser
Copy link
Collaborator

when logging the start dates to the console, it showed that most date object represented some day at 2pm. that might be one reason why the work packages are too short.
from looking at the timeline source code (APCalendarPanel.java) it seems like the timeline is getting the correct dates but maybe the calculation itself ist wrong.
We might have to rethink the time calculation based on the new MySQL backend. Right now the class TimeCalc.java is a bit difficult to understand and therefore its hard to find and fix bugs.

@lordsurfer
Copy link
Collaborator Author

The WPs are 1 Day...

@janek-bieser
Copy link
Collaborator

A workaround for the strange timeline behavior can be found in the iss87_testing_workaround branch (https://github.com/paffman/WBS-Project/tree/iss87_testing_workaround) inside APCalendarPanel#createDataset

This workaround is very limited though. Its expecting you to only use hole numbers for the BAC of any work package (4.5, 7.6..., are not working correctly). So a project might look like this:

timeline_workaround

One Day is shown from 12:01 am to 11:59 pm. This is only done for displaying the work packages on the timeline. The dates of the actual work packages are not changed.

All the work packages have a BAC of 1 and are correctly represented on the timeline. March 1st ist a Saturday and March 2nd a Sunday, which is the reason for the gap. There is still one problem though with the first work package (1.1.0.0 - Teil 1). Its BAC is 1, the start date is Feb 25 but calculated release is Feb 26. When I created the project it was Feb 25 in the evening, so maybe the tool knows that the next work day is Feb 26 and therefore the work package should be completed at that date. But it is ignoring this fact for the calculation of the start date for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants