From 8381226b3478d594a5afe43995fef810c77a67e6 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 26 May 2003 17:32:58 +0000 Subject: [PATCH] noted upgrade problem --- docs/gotcha.txt | 13 +++++++++++++ docs/upgrades/upgrade_5.3.0-5.3.1.sql | 3 +++ 2 files changed, 16 insertions(+) diff --git a/docs/gotcha.txt b/docs/gotcha.txt index 613b3c0b1..6e3a0a20e 100644 --- a/docs/gotcha.txt +++ b/docs/gotcha.txt @@ -8,6 +8,19 @@ versions. Be sure to heed the warnings contained herein as they will save you many hours of grief. +5.3.1 +-------------------------------------------------------------------- + * If you downloaded and installed 5.3.0 from scratch (not an + upgrade) then you've likely noticed it didn't work. The + create script for new installs was faulty due to a build + process problem. You'll need to drop the database and start + the install from scratch with 5.3.1. + + NOTE: Users upgrading from another version to 5.3.0 or 5.3.1 + should have no problems and can disregard this message. + + + 5.3.0 -------------------------------------------------------------------- * If you are not using sbin/upgrade.pl then you'll need to do all diff --git a/docs/upgrades/upgrade_5.3.0-5.3.1.sql b/docs/upgrades/upgrade_5.3.0-5.3.1.sql index 7856712ac..492599a70 100644 --- a/docs/upgrades/upgrade_5.3.0-5.3.1.sql +++ b/docs/upgrades/upgrade_5.3.0-5.3.1.sql @@ -1,2 +1,5 @@ insert into webguiVersion values ('5.3.1','upgrade',unix_timestamp()); +delete from international where languageId=1 and namespace='DataForm' and internationalId=83; +insert into international (internationalId,languageId,namespace,message,lastUpdated,context) values (83,1,'DataForm','The following template variables are available for Data Form templates.\r\n

\r\n\r\nacknowledgement
\r\nThe acknowledgement specified in the wobject\'s properties. This message should be displayed after a user submits data.\r\n

\r\nexport.tab.url
\r\nFollowing this URL will export the data stored to this data form as a tab delimited file.\r\n

\r\n\r\nexport.tab.label
\r\nThe default label for the export.tab.url variable.\r\n

\r\n\r\nentryList.url
\r\nFollowing this URL will display a list of all the record entries in this data form.\r\n

\r\n\r\nentryList.label
\r\nThe default label for the entryList.url variable.\r\n

\r\n\r\ncanEdit\r\nA conditional indicating whether the current user has the privileges to edit an existing entry or export the form\'s data.\r\n

\r\n\r\nback.url
\r\nA url that will take you back to the default page in the form.\r\n

\r\n\r\nback.label
\r\nThe default label for the back.url variable.\r\n

\r\n\r\nusername*
\r\nThe username of the user that submitted the data.\r\n

\r\n\r\nuserId*
\r\nThe user id of the user that submitted the data.\r\n

\r\n\r\ndate*
\r\nThe date that this data was submitted or last updated formatted as the user\'s preferred date/time format.\r\n

\r\n\r\n\r\nepoch*
\r\nThe date that this data was submitted or last updated formatted as an epoch date.\r\n

\r\n\r\nipAddress*
\r\nThe IP address of the user that submitted the data.\r\n

\r\n\r\nedit.url*
\r\nThe URL to the page to edit this entry.\r\n

\r\n\r\nerror_loop*
\r\nA loop containing error information, for instance if someone doesn\'t fill out a required field.\r\n

\r\n\r\n

\r\n\r\nerror.message*
\r\nAn error message indicating what the user might have done wrong.\r\n\r\n
\r\n\r\naddField.url
\r\nThe URL that content managers will visit to add a new field to the form.\r\n

\r\n\r\naddField.label
\r\nThe default label for the addField.url variable.\r\n

\r\n\r\nform.start
\r\nThe beginning of the form.\r\n

\r\n\r\nfield_loop
\r\nA loop containing all of the field information.\r\n

\r\n\r\n

\r\n\r\nfield.form
\r\nThe form element for this field.\r\n

\r\n\r\nfield.name
\r\nThe name of this field.\r\n

\r\n\r\nfield.value
\r\nThe value of this field. If this is new data, then the default value will be used.\r\n

\r\n\r\nfield.label
\r\nThe text label for this field.\r\n

\r\n\r\nfield.isHidden
\r\nA conditional indicating whether this field is supposed to be hidden. \r\n

\r\n\r\nfield.isDisplayed
\r\nA conditional indicating whether this field is supposed to be displayed. \r\n

\r\n\r\nfield.isEditable
\r\nA conditional indicating whether this field is editable. \r\n

\r\n\r\nfield.isRequired
\r\nA conditional indicating whether this field is required. \r\n

\r\n\r\nfield.isMailField
\r\nA conditional indicating whether this field is present only to facilitate sending an email. \r\n

\r\n\r\n\r\nfield.subtext
\r\nA description of the field so that users know what to put in the field.\r\n

\r\n\r\nfield.controls
\r\nWebGUI\'s administrative controls for this field.\r\n

\r\n\r\n

\r\n\r\nform.send
\r\nA form button with the word "send" printed on it.\r\n

\r\n\r\nform.save/b>
\r\nA form button with the word "save" printed on it.\r\n

\r\n\r\nform.end
\r\nThe end of the form.\r\n

\r\n\r\n*Only available if the user has already submitted the form.', 1053948922,NULL); +