==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=4995
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
jeff <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from jeff <[email protected]> 2009-02-08 04:59:59 ---
fixed in 715.
*Note* to the docs team...
You might want to update your documentation regarding programming rules for
migrate fragments....
==============cut=========================
Important notes about migrate fragments
* Please be careful with migrate fragments. Although they should only
modify entries within the current database, there are no restrictions placed on
what they can do. The ability to open and even modify other databases may be
required to perform a migration.
* Migrate fragments must be safe to run multiple times. They should migrate
the value when required and do nothing in other cases.
* Migrate fragments should never call croak or die. This will cause the
database migration to stop. If an error is detected, call carp or warn to note
the error in the logs.
* Migrate fragments should be owned by the package requiring the migration
so that the migration only occurs when that package is installed.
* Migrate fragments should be self-contained and ideally perform only one
migration per fragment.
* It is also possible to initialize and migrate database values in action
scripts, but creation of migrate fragments is strongly preferred. Creating
defaults is a simple matter of creating text files and migrate fragments
require far less code than action scripts.
================cut===========================
You might also want to mention that a Perl fragment should call good
termination with return(0) rather than exit(0).
Perhaps obvious to the architect but maybe not to the humble application
programmer.
-715 will be available shortly.
--
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam