Summary | Quota calculation does not work |
Queue | Gollem |
Queue Version | 2.0.2 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | Valentin.Vidic (at) carnet (dot) hr |
Created | 10/01/2012 (4649 days ago) |
Due | |
Updated | 11/16/2012 (4603 days ago) |
Assigned | |
Resolved | 10/25/2012 (4625 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 2.0.3 |
Patch | No |
application menu any more. Accessing quota.php via URL displays a
report saying the quota is not set. If I restore the code removed from
Auth.php by the patches quota starts working again. Can you check this
again?
commit 23338be0888370bb52b0ca653ebb095fb0d84378
Author: Jan Schneider <jan@horde.org>
Date: Thu Oct 25 19:00:00 2012 +0200
[jan] Fix setting quota parameters to the VFS backend (
Bug #11455).gollem/docs/CHANGES | 1 +
gollem/lib/Auth.php | 26 --------------------------
gollem/lib/Factory/Vfs.php | 30 +++++++++++++++++++++++++++++-
gollem/package.xml | 2 ++
4 files changed, 32 insertions(+), 27 deletions(-)
http://git.horde.org/horde-git/-/commit/23338be0888370bb52b0ca653ebb095fb0d84378
commit 6afa638347561a7b7976fda03f0ee0f4052ee74f
Author: Jan Schneider <jan@horde.org>
Date: Thu Oct 25 18:49:32 2012 +0200
Fix check whether quota limit is set (
Bug #11455).framework/Vfs/lib/Horde/Vfs/Base.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/6afa638347561a7b7976fda03f0ee0f4052ee74f
State ⇒ Resolved
Milestone ⇒ 2.0.3
commit 23338be0888370bb52b0ca653ebb095fb0d84378
Author: Jan Schneider <jan@horde.org>
Date: Thu Oct 25 19:00:00 2012 +0200
[jan] Fix setting quota parameters to the VFS backend (
Bug #11455).gollem/docs/CHANGES | 1 +
gollem/lib/Auth.php | 26 --------------------------
gollem/lib/Factory/Vfs.php | 30 +++++++++++++++++++++++++++++-
gollem/package.xml | 2 ++
4 files changed, 32 insertions(+), 27 deletions(-)
http://git.horde.org/horde-git/-/commit/23338be0888370bb52b0ca653ebb095fb0d84378
commit 6afa638347561a7b7976fda03f0ee0f4052ee74f
Author: Jan Schneider <jan@horde.org>
Date: Thu Oct 25 18:49:32 2012 +0200
Fix check whether quota limit is set (
Bug #11455).framework/Vfs/lib/Horde/Vfs/Base.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/6afa638347561a7b7976fda03f0ee0f4052ee74f
commit c54e2a5c2b18218a89809fcd9d188f91bbadfe3c
Author: Jan Schneider <jan@horde.org>
Date: Thu Oct 25 19:00:00 2012 +0200
[jan] Fix setting quota parameters to the VFS backend (
Bug #11455).Conflicts:
gollem/docs/CHANGES
gollem/package.xml
gollem/docs/CHANGES | 1 +
gollem/lib/Auth.php | 26 --------------------------
gollem/lib/Factory/Vfs.php | 30 +++++++++++++++++++++++++++++-
gollem/package.xml | 2 ++
4 files changed, 32 insertions(+), 27 deletions(-)
http://git.horde.org/horde-git/-/commit/c54e2a5c2b18218a89809fcd9d188f91bbadfe3c
commit c04902c6e8f57f4326d7ccc1e5bee8297b1d04db
Author: Jan Schneider <jan@horde.org>
Date: Thu Oct 25 18:49:32 2012 +0200
Fix check whether quota limit is set (
Bug #11455).framework/Vfs/lib/Horde/Vfs/Base.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/c04902c6e8f57f4326d7ccc1e5bee8297b1d04db
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Quota calculation does not work
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
0.00MB / -0.00MB (-170500.00%)
Gollem is configured as follows:
$backends['domain.hr'] = array(
'name' => 'Documents',
'driver' => 'file',
'hordeauth' => 'full',
'params' => array(
// The base location under which the user home directories live.
'vfsroot' => '/srv/gollem-vfs/',
// The default permissions to set for newly created
folders and files.
// 'permissions' => $conf['umask']
),
'loginparams' => array(),
'root' => '/' . $GLOBALS['registry']->getAuth(),
'createhome' => true,
// 'filter' => '^regex$',
'quota' => '100 MB',
'clipboard' => true,
'attributes' => array('type', 'name', 'edit', 'download',
'modified', 'size')
);
For some reason getQuota in quota.php returns -1 for limit. Could it
be the quota object is not passed correctly throught the injector
interface:
$quota_info = $injector->getInstance('Gollem_Vfs')->getQuota();
If I add a getQuota call to Auth.php where the object is created and
initialized it returns the correct values.