-
Bug
-
Resolution: Fixed
-
Critical
-
2.1 Final
-
None
-
all
The DialogMVCHandler has lost a feature compared to previous releases. It is less general.
It is not possible anymore to target any content container to store data entered through a dialog.
Following patch reintroduces this feature:
— originals/magnolia-2.1-SNAPSHOT/src/main/info/magnolia/module/admininterface/DialogMVCHandler.java 2005-07-13 17:15:08.000000000 +0200
+++ patched/magnolia-2.1-SNAPSHOT/src/main/info/magnolia/module/admininterface/DialogMVCHandler.java 2005-07-24 19:19:18.000000000 +0200
@@ -217,9 +217,14 @@
try {
Content parentContent = hm.getContent(path);
if (StringUtils.isEmpty(nodeName)) {
+ if (StringUtils.isEmpty(nodeCollectionName))
else
{ + storageNode = parentContent.getContent(nodeCollectionName); + }+ }
+ else {
if (StringUtils.isEmpty(nodeCollectionName)) {
storageNode = parentContent.getContent(nodeName);