adelahmd / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Shared Collection was not found when requesting it #589

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create and store an Item Collection
2. Share Stored Collection (Public, no restriction)
3. Copy Link to Clipboard
4. Logout
5. Paste link in address bar to access it

What is the expected output? What do you see instead?

Expected download of collection.
I get "The requested share was not found".

What version of the product are you using? On what operating system?

2.5.24 on OpenBSD 5.2 

Please provide PHP error log and any additional information below.

Sharing of files works as expected. Sharing of collections (either public with 
no restriction, public with password or private) shows this error in PHP log:

[12-Jan-2015 21:30:10 UTC] MOLLIFY ERROR: ServiceException: 
INSUFFICIENT_PERMISSIONS=
[12-Jan-2015 21:30:10 UTC] MOLLIFY ERROR: 
{0:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/ItemCollection/dao/Item
CollectionDao.class.php, line:141, function:item, class:FilesystemController, 
type:->, args:{0:54b00159891fc}}, 
1:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/ItemCollection/dao/ItemC
ollectionDao.class.php, line:31, function:items, class:ItemCollectionDao, 
type:->, args:{0:{0:54b00159891fc, 1:54b0019c53a8c, 2:54b001a03db4a}}}, 
2:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/ItemCollection/ItemColle
ctionHandler.class.php, line:76, function:getItemCollection, 
class:ItemCollectionDao, type:->, args:{0:6}}, 
3:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/Share/ShareHandler.class
.php, line:288, function:getShareInfo, class:ItemCollectionHandler, type:->, 
args:{0:6, 1:{id:DBCFFA1616A5434BBA3FB5912B8A9A74, name:free, item_id:ic_6, 
active:1, restriction:}}}, 
4:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/Share/ShareHandler.class
.php, line:171, function:getCustomShareInfo, class:ShareHandler, type:->, 
args:{0:ic, 1:6, 2:{id:DBCFFA1616A5434BBA3FB5912B8A9A74, name:free, 
item_id:ic_6, active:1, restriction:}}}, 
5:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/Share/ShareHandler.class
.php, line:161, function:doGetSharePublicInfo, class:ShareHandler, type:->, 
args:{0:{id:DBCFFA1616A5434BBA3FB5912B8A9A74, name:free, item_id:ic_6, 
active:1, restriction:}}}, 
6:{file:/vhost/filosofias.es/htdocs/docs/backend/plugin/Share/PublicShareService
s.class.php, line:27, function:getPublicShareInfo, class:ShareHandler, type:->, 
args:{0:DBCFFA1616A5434BBA3FB5912B8A9A74}}, 
7:{file:/vhost/filosofias.es/htdocs/docs/backend/include/services/ServicesBase.c
lass.php, line:53, function:processGet, class:PublicShareServices, type:->, 
args:{}}, 
8:{file:/vhost/filosofias.es/htdocs/docs/backend/include/MollifyBackend.class.ph
p, line:85, function:processRequest, class:ServicesBase, type:->, args:{}}, 
9:{file:/vhost/filosofias.es/htdocs/docs/backend/r.php, line:81, 
function:processRequest, class:MollifyBackend, type:->, args:{0:Request}}}

Original issue reported on code.google.com by joaki...@gmail.com on 12 Jan 2015 at 9:40

GoogleCodeExporter commented 8 years ago
Fixed, will be in next release

Original comment by samuli.j...@gmail.com on 14 Jan 2015 at 7:46

GoogleCodeExporter commented 8 years ago
In .26

Original comment by samuli.j...@gmail.com on 14 Jan 2015 at 4:18