Modify

Opened 4 years ago

Last modified 4 years ago

#7443 new defect

When setting ResourceName, always PercentComplete become 0 percent.

Reported by: okazaki Owned by: okazaki
Priority: normal Component: VisualBasicTracConnectorIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description


Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by anonymous

In ProjectConnector::addTicket

-    If complete <> "" Then
-        t.PercentComplete = complete
-    Else
-        If status = "resolved" Or status = "closed" Then
-            t.PercentComplete = "100"
-        End If
-    End If
+    If complete = "" Then
+        If status = "resolved" Or status = "closed" Then
+            complete = "100"
+        End If
+    End If
+    t.PercentComplete = complete
     If tasknum = m_pj.Tasks.count Then '葉タスクの場合のみ
         t.ResourceNames = owner 'リソースを追加する
+        t.PercentComplete = complete
     End If

Add Comment

Modify Ticket

Action
as new The owner will remain okazaki.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.