[dev] [patch] Mottle as guest

Chuck Hagenbuch chuck at horde.org
Thu Sep 2 12:11:11 PDT 2004


Quoting Roel Gloudemans <roel at gloudemans.info>:

> When accessigng mottle as guest (via a giapeto block) you get the 
> message that set() is not defined in mottle/lib/base.php.

No, you get (got) a message that set() was not present in the 
PEAR_Error class.
Big difference.

> Reading the source I get the impression that set should be a method of
> Horde_Share. It is not present in Horde_Share, so the messgae is correct.

No, it's a method of DataTreeObject_Share, which extends DataTreeObject, which
has a set() method.

> If you remove the call to the set function, mottle works just fine. 
> Don't know if this is the right thing to do, but tha patch is 
> attached.

Nope. Fix committed - we simply shouldn't try to create shares as guests.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the dev mailing list