[Xerte-dev] Re: testing upgrade

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Jul 13 10:11:40 BST 2012


In the xerte svn, do a view log on website/downloads/xertetoolkits.zip. There are versions going back to April 2010.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 13 July 2012 10:04
To: For Xerte technical developers
Subject: [Xerte-dev] Re: testing upgrade

and i guess we've not got anything prior to 1.7 in the SVN?

On Fri, Jul 13, 2012 at 10:02 AM, Ron Mitchell <ronm at mitchellmedia.co.uk> wrote:
>>> 1. At some point in demo.txt $_SESSION['toolkits_logon_username'] =
>>> "guest"; was changed to $_SESSION['toolkits_logon_username'] =
>>> "guest2"; and the current 1.7 zip download has
>>> $_SESSION['toolkits_logon_username'] = "guest2";
>
> -----Original Message-----
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> Sent: 13 July 2012 09:50
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: testing upgrade
>
> what is in the zip on the site?
>
> On Fri, Jul 13, 2012 at 9:43 AM, Ron Mitchell <ronm at mitchellmedia.co.uk>
> wrote:
>> I'd agree except that more recent versions of xot demo.txt had guest2
>> so it seems to me that there are less likely to be issues for those
>> using 1.7 and more recent versions to change the 1.8 code to also use
> guest2.
>>
>> If there's not an easy way to check for this and change what is used
>> dynamically my suggestion is that we change 1.8 to use guest2 and add
>> a note somewhere for those using much earlier versions. Especially as
>> we need a note for earlier versions anyway about running upgrade.php
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>> Lockley
>> Sent: 13 July 2012 09:34
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: testing upgrade
>>
>> I can't help much on this as I don't know how the new authentication
>> works, but guest makes more sense than guest2
>>
>> If it was up to me, I'd not want demo.txt users to upgrade really,
>> think that'll get painful.
>>
>> On Fri, Jul 13, 2012 at 9:31 AM, Ron Mitchell
>> <ronm at mitchellmedia.co.uk>
>> wrote:
>>> Hi
>>>
>>> I tested upgrading some older localhost xampp installations yesterday
> e.g.
>>> by dragging 1.8 code over the top of the earlier version and also
>>> running upgrade.php
>>>
>>> As far as tests so far this seems to work fine but I did notice there
>>> had been a change in demo.txt at some point which could cause
>>> problems for those upgrading a xampp install. I guess this might be a
>>> question for Pat and a judgement call as to what to use for the guest
>>> account
>> username....
>>>
>>>
>>>
>>> 1. At some point in demo.txt $_SESSION['toolkits_logon_username'] =
>>> "guest"; was changed to $_SESSION['toolkits_logon_username'] =
>>> "guest2"; and the current 1.7 zip download has
>>> $_SESSION['toolkits_logon_username'] = "guest2";
>>>
>>>
>>>
>>> 2. The xot1.8 code in /library/Xerte/Authentication/Guest.php sets
>>> guest as the username e.g.
>>>
>>> public function getUsername() {
>>>
>>>         return 'guest';
>>>
>>>     }
>>>
>>>
>>>
>>> 3. The reason this is relevant is that at the moment if someone
>>> upgrades a xampp 1.7 install which is using demo.txt code rather than
>>> switch.txt code they won't see their previous projects. Solution for
>>> that would be to change Guest.php to use guest2 rather than guest.
>>> However in older versions and I'm not sure exactly when the username
>>> in demo.txt was guest rather than guest2 so upgrading these works fine.
>>>
>>>
>>>
>>> Questions:
>>>
>>> a) Should we change the 1.8 code to use guest2? e.g. will work ok for
>>> more recent installs and perhaps add a note about changing this for
>>> older installs
>>>
>>> b) Or should we leave 1.8 code as guest and add a note about changing
>>> this for more recent installs?
>>>
>>> c) Or is there a way we can check for in the code and use guest or
>>> guest2 accordingly?
>>>
>>>
>>>
>>> HTH
>>>
>>> Ron
>>>
>>>
>>> This message and any attachment are intended solely for the addressee
>>> and may contain confidential information. If you have received this
>>> message in error, please send it back to me, and immediately delete
>>> it. Please do not use, copy or disclose the information contained in
>>> this message or in any attachment. Any views or opinions expressed by
>>> the author of this email do not necessarily reflect the views of the
>> University of Nottingham.
>>>
>>> This message has been checked for viruses but the contents of an
>>> attachment may still contain software viruses which could damage your
>> computer system:
>>> you are advised to perform your own checks. Email communications with
>>> the University of Nottingham may be monitored as permitted by UK
>> legislation.
>>>
>>>
>>> _______________________________________________
>>> Xerte-dev mailing list
>>> Xerte-dev at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>>
>>> This message and any attachment are intended solely for the addressee
>>> and may contain confidential information. If you have received this
>> message in
>>> error, please send it back to me, and immediately delete it.   Please do
>> not
>>> use, copy or disclose the information contained in this message or in
>>> any attachment.  Any views or opinions expressed by the author of
>>> this email do not necessarily reflect the views of the University of
>> Nottingham.
>>>
>>> This message has been checked for viruses but the contents of an
>>> attachment may still contain software viruses which could damage your
>> computer system:
>>> you are advised to perform your own checks. Email communications with
>>> the University of Nottingham may be monitored as permitted by UK
>> legislation.
>>>
>>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev



More information about the Xerte-dev mailing list