You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Montalbano Florian (JIRA)" <ji...@apache.org> on 2016/08/23 13:20:21 UTC

[jira] [Comment Edited] (OFBIZ-7971) Allow Gantt function to compute task with non-numerical ID

    [ https://issues.apache.org/jira/browse/OFBIZ-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432760#comment-15432760 ] 

Montalbano Florian edited comment on OFBIZ-7971 at 8/23/16 1:19 PM:
--------------------------------------------------------------------

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, &#8211 ; 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 ?



was (Author: florian m):
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, &#8211; 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)