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
94cdd592
Commit
94cdd592
authored
Jan 24, 2013
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- GanttProject Import:
fixed
parent
438a9375
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
intranet-ganttproject-procs.tcl
tcl/intranet-ganttproject-procs.tcl
+8
-4
No files found.
tcl/intranet-ganttproject-procs.tcl
View file @
94cdd592
...
...
@@ -497,7 +497,6 @@ ad_proc -public im_gp_save_xml {
lappend params
[
list
stacktrace
$stack
_trace
]
lappend params
[
list
error_type gantt_import
]
lappend params
[
list
error_content
$file
_content
]
lappend params
[
list
error_content_filename
$upload
_gan
]
lappend params
[
list
top_message
"
<h1>Error Parsing Project XML</h1>
<p>We have found an error parsing your project file. <br> <br>
...
...
@@ -902,7 +901,7 @@ ad_proc -public im_gp_save_tasks {
ad_proc -public im_gp_save_tasks2
{
{
-debug_p
0
}
{
-debug_p
1
}
-create_tasks
-save_dependencies
task_node
...
...
@@ -949,7 +948,7 @@ ad_proc -public im_gp_save_tasks2 {
set is_null 0
set milestone_p
""
set effort_driven_p
"t"
set effort_driven_type_id
0
set effort_driven_type_id
[
im_timesheet_task_effort_driven_type_fixed_work
]
set note
""
set task_nr
""
set task_id 0
...
...
@@ -1094,7 +1093,11 @@ ad_proc -public im_gp_save_tasks2 {
set cust_value
[
$taskchild
getAttribute value
""
]
switch
$cust
_key
{
tpc0
{
set task_nr
$cust
_value
}
tpc1
{
set task_id
$cust
_value
}
tpc1
{
# Fraber 130124: Disabled
# Because importing from a different computer can cause trouble
# set task_id
$cust
_value
}
}
}
}
...
...
@@ -1198,6 +1201,7 @@ ad_proc -public im_gp_save_tasks2 {
}
}
# -----------------------------------------------------
# Map the M$/GanttProject uid into a
]
po
[
task_id
...
...
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