Forum OpenACS Development: Filestorage/fs_portlet question

Collapse
Posted by Jeroen van Dongen on
Hi,

I'm using fs_portlet to integrate a file-storage view in a page. fs_portlet at some point calls folder-chunk in the regular file-storage package, which in turn calls content_item__get_path(folder_id, root_folder_id). And that
returns apperently a path that look like:

/file-storage_1139/my-folder/my-file.txt

The url to view such a file as generated by folder-chunk then becomes something like

[path_to_filestorage_instance]/view//file-storage_1139/my-folder/my-file.txt

The problem being that I get a "content item not found" error. This seemed to be caused by the "file-storage_1139" part. If I strip that, it works. However, it is put in there by the CR, so I guess it has some function?

Can somebody shed some light on this for me?

thanks in advance,
Jeroen