Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-ganttproject
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-ganttproject
Commits
4f9d5442
Commit
4f9d5442
authored
May 29, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed importing milestones
parent
6e4a4c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
intranet-ganttproject-procs.tcl
tcl/intranet-ganttproject-procs.tcl
+3
-1
No files found.
tcl/intranet-ganttproject-procs.tcl
View file @
4f9d5442
...
...
@@ -1102,7 +1102,7 @@ ad_proc -public im_gp_save_tasks2 {
set expand_p
[
$task
_node getAttribute expand
""
]
set end_date
[
db_string end_date
"select :start_date::date + :duration::integer"
]
set is_null 0
set milestone_p
""
set milestone_p
[
$task
_node getAttribute meeting
"false"
]
set effort_driven_p
"t"
set effort_driven_type_id
[
im_timesheet_task_effort_driven_type_fixed_work
]
set note
""
...
...
@@ -1117,6 +1117,8 @@ ad_proc -public im_gp_save_tasks2 {
set gantt_field_update
{}
set xml_elements
{}
if
{
"true"
eq
$milestone
_p
}
{
set milestone_p
"t"
}
if
{
"false"
eq
$milestone
_p
}
{
set milestone_p
"f"
}
# Microsoft Project uses tags instead of attributes
foreach taskchild
[
$task
_node childNodes
]
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment