| Summary | realm and conf.php |
| Queue | Vacation |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 2. Medium |
| Owners | |
| Requester | tinu (at) humbapa (dot) ch |
| Created | 04/13/2006 (7149 days ago) |
| Due | |
| Updated | 11/16/2009 (5836 days ago) |
| Assigned | 04/18/2006 (7144 days ago) |
| Resolved | 05/05/2006 (7127 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
* kolab/issue3768 (Kolab server 2.2.2 resmgr doesn't copy attendee
status (rt#5801))
* kolab/issue3767 (Kolab server 2.2.0 resmgr creates incorrect event
attendee status values)
http://cvs.horde.org/diff.php/framework/Kolab_Filter/lib/Horde/Kolab/Resource.php?rt=horde&r1=1.15.2.8&r2=1.15.2.9&ty=u
http://cvs.horde.org/diff.php/framework/Kolab_Filter/package.xml?rt=horde&r1=1.18.2.16&r2=1.18.2.17&ty=u
http://cvs.horde.org/diff.php/framework/Kolab_Filter/test/Horde/Kolab/Filter/ResourceTest.php?rt=horde&r1=1.4.2.4&r2=1.4.2.5&ty=u
State ⇒ Resolved
configuration specific to the user's realm. If you want realm
specific configuration, add it below the marker line in conf.php
manually.
allways be domain:
(main.php)
@list($user, $realm) = explode('@', Auth::getAuth(), 2);
if (empty($realm)) {
$realm = 'default';
}
but the getParam methode from class Vacation_Driver will only fall
back to the default realm when I don't use any realm at all:
(lib/Driver.php)
function getParam($param, $realm = 'default')
{
return isset($this->_params[$realm][$param]) ?
$this->_params[$realm][$param] : null;
}
maybe something like this:
function getParam($param, $realm = 'default')
{
if ($realm != 'default' && !isset($this->_params[$realm][$param])) {
$realm = 'default';
}
return isset($this->_params[$realm][$param]) ?
$this->_params[$realm][$param] : null;
}
State ⇒ Assigned
configuration specific to the user's realm. If you want realm specific
configuration, add it below the marker line in conf.php manually.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ realm and conf.php
Queue ⇒ Vacation
State ⇒ Unconfirmed
$driver->getParam('hordeauth', $realm) tries to get an array like
$this->_params['domain.com']['hordeauth']
the params array is read from config/conf.php and there the realm is
allways 'default'
is this really a bug or am I just missing something?
thanks a lot
martin luethi