Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing federated shares produces an error #29675

Closed
tomneedham opened this issue Nov 24, 2017 · 6 comments · Fixed by #29676
Closed

Importing federated shares produces an error #29675

tomneedham opened this issue Nov 24, 2017 · 6 comments · Fixed by #29676

Comments

@tomneedham
Copy link
Contributor

tomneedham commented Nov 24, 2017

10.0.3.3

Details still coming in.

Wrong constructor arguments here:

\OC::$server->getNotificationManager(),

Produces log:

Nov 24 11:31:52 owncloud-dev-1 ownCloud[6827]: {index} Exception: 
{"Exception":"TypeError","Message":"Argument 4 passed to 
OCA\\Files_Sharing\\External\\Manager::__construct() must implement 
interface OCP\\Notification\\IManager, instance of OC\\HTTPHelper given, 
called in \/var\/www\/owncloud\/apps\/files_sharing\/ajax\/external.php 
on line 75","Code":0,"Trace":"#0 
\/var\/www\/owncloud\/apps\/files_sharing\/ajax\/external.php(75): 
OCA\\Files_Sharing\\External\\Manager->__construct(Object(OC\\DB\\Connection), 
Object(OC\\Files\\Mount\\Manager), 
Object(OC\\Files\\Storage\\StorageFactory), Object(OC\\HTTPHelper), 
Object(OC\\Notification\\Manager), 
Object(OCA\\FederatedFileSharing\\DiscoveryManager), '0434156')\n#1 
\/var\/www\/owncloud\/lib\/private\/Route\/Route.php(155) : 
runtime-created function(1): require_once('\/var\/www\/ownclo...')\n#2 
[internal function]: __lambda_func()\n#3 
\/var\/www\/owncloud\/lib\/private\/Route\/Router.php(307): 
call_user_func('\\x00lambda_104', Array)\n#4 
\/var\/www\/owncloud\/lib\/base.php(928): 
OC\\Route\\Router->match('\/apps\/files_sha...')\n#5 
\/var\/www\/owncloud\/index.php(56): OC::handleRequest()\n#6 
{main}","File":"\/var\/www\/owncloud\/apps\/files_sharing\/lib\/External\/Manager.php","Line":80} 
@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @PVince81.

@tomneedham
Copy link
Contributor Author

Can confirm this as an issue on master currently.

  1. visit public share
  2. enter instance url in 'add to owncloud'
  3. accept import of share
  4. share should appear
    instead
  5. exception in error log

@PVince81
Copy link
Contributor

Likely regression after #28858

@individual-it
Copy link
Member

individual-it commented Nov 24, 2017

@individual-it individual-it self-assigned this Nov 24, 2017
@individual-it
Copy link
Member

reopening because UI tests are missing

@lock
Copy link

lock bot commented Aug 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants