[
https://issues.apache.org/jira/browse/OFBIZ-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Montalbano Florian updated OFBIZ-7971:
--------------------------------------
Attachment: OFBIZ-7971.patch
Here is the patch to compute non-numerical task id.
While creating this patch, I encountered a weird character in the file jsgantt.js at the line 1908, column 63. It seems to be a '–' (it's not a dash, it's larger)(U+2013 in unicode, – in html).
There are several occurences of this character and it doesn't shows up correctly in my IDE. (it also causes error with sonar).
Do you have an idea on this ?
> Allow Gantt function to compute task with non-numerical ID
> ----------------------------------------------------------
>
> Key: OFBIZ-7971
> URL:
https://issues.apache.org/jira/browse/OFBIZ-7971> Project: OFBiz
> Issue Type: Bug
> Components: framework, specialpurpose/projectmgr
> Affects Versions: Trunk
> Reporter: Montalbano Florian
> Labels: gantt, javascript
> Attachments: OFBIZ-7971.patch
>
>
> The Gantt diagram is not generated when at least one of the taks composing it has a non-numerical workEffortId (e.g. A10001).
> When importing data or using duplication of workEffort, you can use such id.
> How to reproduce :
> - Check the Gantt diagram, it should be working fine :
https://localhost:8443/projectmgr/control/ganttChart?projectId=9100
> - Create a task with a non-numerical id for the project 9100 or iImport this entry :
> <entity-engine-xml>
> <WorkEffort workEffortId="A1000" sequenceNum="1" workEffortTypeId="TASK" currentStatusId="PTS_CREATED" lastStatusUpdate="2007-12-14 16:45:21.831" workEffortParentId="9101" scopeEnumId="WES_PRIVATE" workEffortName="ProblemTask" estimatedStartDate="2007-12-03 00:00:00.0" estimatedCompletionDate="2007-12-05 00:00:00.0" revisionNumber="1"/>
> </entity-engine-xml>
> - Check the Gantt diagram again and now it's failing :
https://localhost:8443/projectmgr/control/ganttChart?projectId=9100> (there is an error in the javascript console)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)