Bug 546831

Summary: Non-Working Days Not Shown in HTML Export
Product: [Fedora] Fedora Reporter: David Le Sage <dlesage>
Component: plannerAssignee: David Tardon <dtardon>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: caolanm, middleware-docs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-04 01:46:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 546833    
Attachments:
Description Flags
example .planner none

Description David Le Sage 2009-12-12 06:21:59 UTC
Description of problem:
Non-working days are depicted in "Gantt Chart" and "Resource Usage" modes by grey vertical bars running down the screen.  However, when the file is exported as HTML, these lines do not appear in the web-rendering.

Version-Release number of selected component (if applicable):
0.14.4 (Fedora 12)

How reproducible:
Every Time.

Steps to Reproduce:
1. Open a project in Planner.
2. Go to the Gantt Chart view.  You will observe that the weekends and any other non-working days that have been added via the Project->Manage Calendars dialogue box are represented by the grey vertical bars running down through the time line.
3. File->Export->HTML
4. Open the file that is produced in the web browser of your choice.
  
Actual results:
Grey bars for non-working days not exported.  Do not appear in the web browser view.

Expected results:
This information should appear in the HTML version.

Additional info:

Comment 1 Caolan McNamara 2009-12-14 09:18:15 UTC
caolanm->dtardon: planner export is xslt, i.e.
/usr/share/planner/stylesheets/planner2html.xsl
could you have a look at this and see if we could munge gray bars into the export for the non-working days

Comment 2 Caolan McNamara 2009-12-14 09:18:46 UTC
Created attachment 378176 [details]
example .planner

Comment 3 David Tardon 2009-12-14 13:37:02 UTC
dtardon->caolanm: It's not as much a task for XSLT but HTML + CSS. My first thought was to add colspans with specified border-left property, but unfortunately that didn't work, because the line is just one cell with colspan that covers whole width of the table. I would probably have to refactor it before going further.

I need to refresh CSS before trying that, though. I'm going to return to this the next week.

Comment 4 Bug Zapper 2010-11-04 03:33:54 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Bug Zapper 2010-12-04 01:46:57 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.