Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix: Clarifying that trace reports have fixed units and formating.

  • Loading branch information...
commit 8e7c76e3ef78973a1303ce7d070454a2e9f2d44f 1 parent 43cc25d
Chris Schlaeger scrapper authored
8 lib/taskjuggler/TjpSyntaxRules.rb
View
@@ -7065,6 +7065,10 @@ def rule_traceReport
all kinds of values that are being tracked. Report formats that don't support
a mix of different values will just show the values of the second column.
+The values in the CSV files are fixed units and cannot be formated. Effort
+values are always in resource-days. This allows other software to interpret
+the file without any need for additional context information.
+
The HTML version generates SVG graphs that are embedded in the HTML page.
These graphs are only visble if the web browser supports HTML5. This is true
for the latest generation of browsers, but older browsers may not support this
@@ -7133,6 +7137,7 @@ def rule_tsNewTaskHeader
})
arg(1, 'task', 'ID of the new task')
end
+
def rule_tsReportHeader
pattern(%w( _timesheetreport !optionalID $STRING ), lambda {
newReport(@val[1], @val[2], :timeSheet, @sourceFileInfo[0]) do
@@ -7144,7 +7149,8 @@ def rule_tsReportHeader
end
@property.set('scenarios', [ scenarioIdx ])
# Show all tasks, sorted by seqno-up.
- @property.set('hideTask', LogicalExpression.new(LogicalOperation.new(0)))
+ @property.set('hideTask',
+ LogicalExpression.new(LogicalOperation.new(0)))
@property.set('sortTasks', [ [ 'seqno', true, -1 ] ])
# Show all resources, sorted by seqno-up.
@property.set('hideResource',
2  lib/taskjuggler/reports/TraceReport.rb
View
@@ -228,7 +228,7 @@ def generatePropertyListValues(idx, propertyList, query)
query.property = property
query.process
- @table[idx] << query.result
+ @table[idx] << query.to_s
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.