Skip to content
Permalink
Browse files

Note that lineage is missing from assets created during www_add and g…

…ive examples for assets that need to override www_edit/getEditTemplate.
  • Loading branch information...
perlDreamer committed Oct 16, 2011
1 parent eee4269 commit 7bfcdd1d8c939324748e18615ae444bd6bd8257f
Showing with 8 additions and 1 deletion.
  1. +8 −1 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
====================

0 comments on commit 7bfcdd1

Please sign in to comment.
You can’t perform that action at this time.