[pmwiki-users] Bug or mis-feature in transition.php?

Patrick R. Michaud pmichaud at pobox.com
Sun Jun 29 19:34:44 CDT 2008


On Mon, Jun 30, 2008 at 10:50:10AM +1200, john.rankin at affinity.co.nz wrote:
> We may have found a bug in transition.php.
> If a local customisation sets (in this case):
> 
>   $Transition['fplbygroup'] = 1;
> 
> This appears to cause transition.php to evaluate
> (@$Transition['version'] < vnnnmmm) as always true,
> thereby turning all $Transition array settings to 1.
> The fix is to add this at the start of local/config.php:
> 
>   $Transition['version'] = 2001999;
> 
> Or explicitly setting individual $Transition['fixup']
> elements to 0.
> 
> Is this a bug or a feature?

Definitely a bug.  I'll come up with an adjustment and prepare
a release shortly (like, within the next 24 hours unless
I get more interruptions around here).

Pm



More information about the pmwiki-users mailing list