Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-filestorage
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-filestorage
Commits
8d36610e
Commit
8d36610e
authored
Apr 09, 2017
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added an error message
parent
f1af04a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
intranet-filestorage-procs.tcl
tcl/intranet-filestorage-procs.tcl
+3
-2
No files found.
tcl/intranet-filestorage-procs.tcl
View file @
8d36610e
...
...
@@ -1616,11 +1616,12 @@ ad_proc -public im_filestorage_base_component { user_id object_id object_name ba
im_exec chmod ug+w
$find
_path
set file_list
[
im_exec
$find
_cmd
$find
_path -noleaf
]
set files
[
lsort
[
split
$file
_list
"
\n
"
]]
}
err_msg
]
}
{
}
err_msg
]
}
{
ns_log Error
"im_filestorage_base_component: find_path=
$find
_path, err_msg=
$err
_msg"
return
"<ul><li>
[
_ intranet-filestorage.lt_Unable_to_get_file_li
]
:<br><pre>find_path=
$find
_path
\n
$err
_msg</pre></ul>"
}
# remove the first
(
root path
)
from the list of files returned by
"find"
.
set files
[
lrange
$files
1
[
llength
$files
]]
...
...
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