Skip to content

Commit 7bfcdd1

Browse files
committedOct 16, 2011
Note that lineage is missing from assets created during www_add and give examples for assets that need to override www_edit/getEditTemplate.
1 parent eee4269 commit 7bfcdd1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎docs/migration.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,14 @@ www_add is now its own page, it is no longer handled by www_edit. www_addSave
307307
is also its own page, it is no longer handled by www_addSave.
308308

309309
If you had previously overrode www_edit to provide a template, you must move
310-
that code into an overridden getEditTemplate.
310+
that code into an overridden getEditTemplate. See WebGUI::Asset::Event,
311+
WebGUI::Asset::Post, WebGUI::Asset::Wobject::GalleryAlbum for examples.
312+
313+
Lineage
314+
--------------------
315+
Assets created for use during www_add do NOT have a lineage. Calling
316+
getLineage on them will return assets from below the root asset, and not
317+
the child. See WebGUI::Asset::Wobject::GalleryAlbum::getFileIds.
311318

312319
WebGUI::Shop::Vendor
313320
====================

0 commit comments

Comments
 (0)
Please sign in to comment.