From 7bfcdd1d8c939324748e18615ae444bd6bd8257f Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 15 Oct 2011 17:57:41 -0700 Subject: [PATCH] Note that lineage is missing from assets created during www_add and give examples for assets that need to override www_edit/getEditTemplate. --- docs/migration.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/migration.txt b/docs/migration.txt index 08f53a7a2..fad56eace 100644 --- a/docs/migration.txt +++ b/docs/migration.txt @@ -307,7 +307,14 @@ www_add is now its own page, it is no longer handled by www_edit. www_addSave is also its own page, it is no longer handled by www_addSave. If you had previously overrode www_edit to provide a template, you must move -that code into an overridden getEditTemplate. +that code into an overridden getEditTemplate. See WebGUI::Asset::Event, +WebGUI::Asset::Post, WebGUI::Asset::Wobject::GalleryAlbum for examples. + +Lineage +-------------------- +Assets created for use during www_add do NOT have a lineage. Calling +getLineage on them will return assets from below the root asset, and not +the child. See WebGUI::Asset::Wobject::GalleryAlbum::getFileIds. WebGUI::Shop::Vendor ====================