RemovedUnusedFunctionalityFromReportPage

Introduction

A number of the options ReportPage offers are never used and should be removed:
reportpage02.png

Currently the only some report types are used, as a result these rewrite files should be renamed and the rest can go:

  • xhtml-total.xsl - basic. Ordered by date, contains everything
  • xhtml-total-per-project.xsl - projects-total. Ordered by project name, lists project name, hours declarable and hours undeclarable
Two new rewrite files will be added:

Technical description

  • in ops_project
    • remove unused xsls: csv.xsl, xhtml-total-per-employee.xsl, xhtml-total-per-week-summary.xsl, xhtml-total-per-week-OOo.xsl, xhtml-total-per-week.xsl and xhtml.xsl
    • xhtml-total-per-project.xsl: rename projects-total, rewrite to order projects by name
    • xhtml-total.xsl rename to basic. Ensure its ordered by date
  • Remove unused components from ReportPage
  • Make locale configurable in localConfig, set with Spring, rewite Projectmanager.getLocales accordingly

Testing

There are 4 timesheets, 2 for ivana and 2 for dexter. These are identical save for filename and owner.

  • <naam>.ics
  • <naam>-20060201-20070201.ics

date summary projectid project name task decl? duration
20070312T171902Z scwcd - authorisation constraints not an event 145DE5EF-81D7-7D7D-3839-8AFBA06C6940 Func. Opleiding HelloWorld? app Y  
20080819T083718Z New Event         4,5
20080819T092129Z dingen met elkaar laten praten F04CF6B3? -1758-2F5A-BE8A-F64BCCC51A98 Func. OPS Admin project management Y 4,75

date summary projectid project name task decl? duration
20070201T171039Z kick-off 145DE5EF-81D7-7D7D-3839-8AFBA06C6940 Func. Opleiding overleg Y 2,5
20070201T171925Z Installaties: ops\, eclipse plugins etc 9D7EE4C9-6C1D-90E8-0F42-68F82C07A15D Func. Intern onderhoud werkplek Y 4,83

these calendars should yield the following report for project-total:

project totaltime declarable undeclarable
Func. Intern 9.66 9.66 0
Func. Opleiding 5 5 0
Func. OPS Admin 9.5 9.5 0
total 24.16 24.16 0

Estimates

task hours todo
remove unused files 1 0
projects-total 2 0
basic 2 0
ReportPage 3 0
configure Locale 4 0
Total 12 0

Extra

When the story was in progress the following came up and made it run overtime:

  • the (ops)webservices query returns a different project list than the opsadmin query. Specifically, 2 projects (out of 512) are not returned by the webservices. The ldap query finds these projects but the axis server does not include them in the response. The cause is not clear but since its always the same two legacy projects, solving the problem has been postponed till replacing axis (which will likely solve the problem).
  • With mock data the project grouping in projects-total does not work. Refactoring of the xsl fixed this.
  • In projects-total the duration is calculated in decimal hours (4.5 = 4 hours 30 mins). Then the totals are calculated using the original numbers so the total does not equal the sum over all the rows. This is a repoted bug. Proposed solution: dont use decimal time. Four and a half hours will be 4:30.

Estimates for the extra tasks

task hours todo
project list difference 4 0
project grouping 4 0
hours and mins 4 0
Total 12 0


Discussion

-- IvanaCace - 18 Aug 2008

Topic attachments
I Attachment Action Size Date Who Comment
pngpng reportpage02.png manage 50.4 K 18 Aug 2008 - 12:33 IvanaCace reportpage
Topic revision: r5 - 27 Aug 2008 - 14:34:06 - IvanaCace

tip TWiki Tip of the Day
Custom rendered bullets
The RenderListPlugin can render bulleted lists in a variety of different ways. Use % nop RENDERLIST ... Read on Read more

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback