Comment #1 on issue 1739 by [email protected]: Can't save an information
object if no repository assigned
http://code.google.com/p/qubit-toolkit/issues/detail?id=1739
This temporary solution worked for me (I needed this form to be working :P):
Index: actions/editAction.class.php
===================================================================
--- actions/editAction.class.php (revision 7793)
+++ actions/editAction.class.php (working copy)
@@ -245,7 +245,11 @@
if (isset($value))
{
$params =
$this->context->routing->parse(Qubit::pathInfo($value));
- $this->resource[$field->getName()] =
$params['_sf_route']->resource;
+
+ if (isset($params['_sf_route']->resource))
+ {
+ $this->resource[$field->getName()] =
$params['_sf_route']->resource;
+ }
}
break;
--
You received this message because you are subscribed to the Google Groups "Qubit
Toolkit Issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-issues?hl=en.