Re: I'm afraid 0.16.2 is broken (or I am :- ) )
Lukas Kahwe Smith <[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Tim Daeleman wrote:
> Hi,
>
> OK, I give up!!
>
> I started up from scratch again to see what I was doing wrong since
> updating from 0.15.1 to 0.16.2. I build the most basic login system with
> my (custom field) needs, but the result was still the same behaviour.
>
> But apparantly the strange behaviour I encountered is also present in
> the examples, even example 1!!!
> I extended example 1 with 1 custom field (name) in the xml file and as
> follows in the config:
Ok .. this should be fixed in CVS.
note however that there were BC breaks in the process.
in getProperty() you will now need to use the unaliased keys as defined
in the storage layer.
so this means
$LU->getProperty('handle') // may remain as is
$LU->getProperty('lastlogin') // used to be 'lastLogin'
$LU->getProperty('is_active') // used to be 'isActive'
$LU->getProperty('perm_user_id') // used to be 'permUserId'
$LU->getProperty('perm_type') // used to be 'userType'
$LU->getProperty('group_ids') // used to be 'groupIds'
etc.
Therefore it might be a good idea to make the next release 0.17.0 ..
and push the caching stuff into 0.18.0 ..
opinions?
regards,
Lukas