[Owncloud] Sharing broken?

Robin Appelman icewind at owncloud.com
Tue Oct 2 13:21:42 UTC 2012


On Tuesday 02 October 2012 00:37:17 Frank Karlitschek wrote:
> Hmm. This could be a problem with not compatible apps.
> 
> It is possible that you use a not yet ported usermanagement backend?
> 
> Frank
> 
> On 01.10.2012, at 23:54, peter at chubb.wattle.id.au wrote:
> >>>>>> "peter" == peter  <peter at chubb.wattle.id.au> writes:
> > Frank> Can you test the latest 4.5 RC ?
> > 
> > Peter> I'll give it a go later.
> > 
> > peter> I tried it.  On first connecting to the new instance I see a
> > peter> backtrace:
> > 
> > 
> > 
> > I truncated the oc_sharing table, then tried again.  Now I get another
> > backtrace:
> > 
> > 
> > ( ! ) Fatal error: Declaration of OC_USER_PWAUTH::deleteUser() must be
> > compatible with OC_User_Interface::deleteUser($uid) in
> > /var/www/owncloud/apps/user_pwauth/user_pwauth.php on line 116 Call Stack
> > #	Time	Memory	Function	Location
> > 1	0.0002	244168	{main}( )	../index.php:0
> > 2	0.0374	1433320	OC::handleRequest( )	../index.php:28
> > 3	0.0375	1433720	OC_User::isLoggedIn( )	../base.php:438
> > 4	0.0375	1434160	OC_App::loadApps( )	../user.php:279
> > 5	0.0406	1459440	OC_App::loadApp( )	../app.php:58
> > 6	0.0427	1473408	require_once(
> > '/var/www/owncloud/apps/user_pwauth/appinfo/app.php' )	../app.php:85
> > 
> > This is relatively easy to fix: deleteUser is a noop for user_pwauth
> > 
> > but then you get another backtrace from getUsers. I fixed that one.
> > 
> > Now,
> > 
> > 	1.  Sharing by email no longer seems possible.
> > 	2. The SVG editor keeps coming up even though I'm not asking
> > 	for it.  I've disabled it for now.
> > 
> > Peter C

This isn't a problem with porting to 4.5, the developer of the user backend 
used an incorrect signature for deleteUser in his backend.

With oc < 4.5 this would have only thrown an error when you actually try to 
delete a user though, now it loads an error when the backend is loaded.

 - Robin Appelman



More information about the Owncloud mailing list