Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

2.0.3 Upgrading Question

Quote Reply
2.0.3 Upgrading Question
Hi,

If I have added new fields to the Demographics, and changed the requirement for an email address on anohter, will the upgrade script recognise this or will it just completely write over the old ones?

Or have there been no changes to the db tables so I don't need to do anything with them anyway?

Just being cautious...

Cheers,
R.


Quote Reply
Re: 2.0.3 Upgrading Question In reply to
Hi,

No, there are no database changes from 2.0.2 to 2.0.3.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: 2.0.3 Upgrading Question In reply to
Were their any changes to the templates? I'm just wondering if I will need to go through and manually apply all of the changes I made to the templates from 2.0.2

Quote Reply
Re: 2.0.3 Upgrading Question In reply to
There were quite a few fixes to the templates. I'd do a diff on the old and new ones (I'd recommend you make a manual backup of your templates before the install) and integrate those fixes.

Adrian
Quote Reply
Re: 2.0.3 Upgrading Question In reply to
What about 2.0.1 to 2.0.x? I probably won't upgrade till a couple more updates have been made. I've added demographic tables too, will there be any problems?


Regards

Jason

Quote Reply
Re: 2.0.3 Upgrading Question In reply to
Hi,

Yes a few were made (about 6). I've outlined them at:

http://gossamer-threads.com/...mail_2_0_2-2_0_3.txt

This is a diff file. It outlines the change in each file. You can read it by looking at each Index: line as in:

In Reply To:
Index: addresses.htm
===================================================================
40c40
< if (re2.test(selectObj.options.text) || x != 1) {
---
> if (re2.test(selectObj.options.text) && x != 1) {
150c150
< document.write('<tr><td colspan=2><font face="Tahoma,Arial,Helvetica" size="2"><form name="SearchForm" action="javascript:search();"><P><input type="text" name="name" size="20" onFocus="DoIt(\'start\');" onBlur="DoIt(\'stop\');" onChange="search();"><input type="Image" onClick="search();" src="<%url_images%>/templates/<%t%>/Search.gif"></p></form></font></td></tr>');
---
> document.write('<tr><td colspan=2><font face="Tahoma,Arial,Helvetica" size="2"><form name="SearchForm" action="javascript:search();"><P><input type="text" name="name" size="20" onFocus="DoIt(\'start\');" onBlur="DoIt(\'stop\');" onChange="search();"><a href="javascript:search()"><img src="<%url_images%>/templates/<%t%>/Search.gif"></a></p></form></font></td></tr>');
The first line says:

Index: addresses.htm

it tells you what file changed. The second line:

40c40

says starting at line 40 on the old version, 40 on the new one, lines starting with a < have been removed, and lines starting with a > have been added. So to update the addresses.htm file, you would look for:

if (re2.test(selectObj.options.text) || x != 1) {

and replace it with:

if (re2.test(selectObj.options.text) && x != 1) {

Let me know if this helps, is worthwhile, or makes sense. =)

Cheers,

Alex

--
Gossamer Threads Inc.