Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xowiki
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
xowiki
Commits
46fbc311
Commit
46fbc311
authored
Nov 14, 2010
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Implementing Versia extensions for SLA management
parent
9b9e425f
Pipeline
#682
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
package-procs.tcl
tcl/package-procs.tcl
+5
-1
No files found.
tcl/package-procs.tcl
View file @
46fbc311
...
...
@@ -922,7 +922,7 @@ namespace eval ::xowiki {
my instvar id folder_id
#my msg
"--f
[
my isobject ::$folder_id
]
folder_id=
$folder
_id"
if
{
$folder
_id == 0
}
{
if
{
$folder
_id == 0
||
$folder
_id ==
""
}
{
# TODO: we should make a parameter allowed_page_types
(
see content_types
)
,
# but the package admin should not have necessarily the rights to change it
set folder_id
[
::xowiki::Page require_folder
\
...
...
@@ -941,12 +941,16 @@ namespace eval ::xowiki {
}]
break
}
if
{[
info
exists item_id
]}
{
# we have a valid item_id and get the folder object
#my log
"--f fetch folder object -object ::
$folder
_id -item_id
$item
_id"
::xowiki::Object fetch_object -object ::$folder_id -item_id
$item
_id
}
else
{
# we have no folder object yet. so we create one...
ns_log Notice
"xowiki: folder_id=
$folder
_id"
::xowiki::Object create ::$folder_id
::$folder_id set text
"# this is the payload of the folder object
\n\n\
#set index_page
\"
index
\"\n
"
...
...
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