Note that lineage is missing from assets created during www_add and give examples for assets that need to override www_edit/getEditTemplate.
This commit is contained in:
parent
eee4269fe2
commit
7bfcdd1d8c
1 changed files with 8 additions and 1 deletions
|
|
@ -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.
|
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
|
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
|
WebGUI::Shop::Vendor
|
||||||
====================
|
====================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue