[Tickets #11455] Re: Quota calculation does not work

bugs at horde.org bugs at horde.org
Mon Oct 1 09:06:09 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11455
------------------------------------------------------------------------------
  Ticket             | 11455
  Updated By         | Valetin.Vidic at CARNet.hr
  Summary            | Quota calculation does not work
  Queue              | Gollem
  Version            | 2.0.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Valentin.Vidic at CARNet.hr (2012-10-01 09:05) wrote:

Clicking on Check quota in gollem shows:

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.





More information about the bugs mailing list