Skip to content

Commit

Permalink
Note that lineage is missing from assets created during www_add and g…
Browse files Browse the repository at this point in the history
…ive examples for assets that need to override www_edit/getEditTemplate.
  • Loading branch information
perlDreamer committed Oct 16, 2011
1 parent eee4269 commit 7bfcdd1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/migration.txt
Expand Up @@ -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
====================
Expand Down

0 comments on commit 7bfcdd1

Please sign in to comment.