17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1209 Views |
-
CMSVersion in 2.0.2-rc3

13 July 2007 at 3:37pm
I don't know if this is an issue, since I've guessing it only happens in release candidates, but I noticed in 2.0.2-rc3 that there are 3 "undefined offset" errors when you go to admin.
It turns out they're caused by LeftAndMain::CMSVersion - the regular expressions don't allow for the /rc/ in the version string.
If you put "(?:\/rc)?" in each of the 3 regexes like this: "/sapphire\/(?
?:branches)|(?:tags))(?:\/rc)?\/([A-Za-z0-9._-]+)\/silverstripe_version/"
it fixes the errors
-
Re: CMSVersion in 2.0.2-rc3

16 July 2007 at 3:40pm
Yes I noticed this too, but thanks very much for supplying the patch!
| 1209 Views | ||
|
Page:
1
|
Go to Top |


