pondersource / sciencemesh-php

Connect your Nextcloud server to Sciencemesh
MIT License
0 stars 1 forks source link

Call to a member function setNode() on null #115

Closed michielbdejong closed 2 years ago

michielbdejong commented 2 years ago

In file '/var/www/html/lib/private/Share20/Manager.php' line 822.

This is because I inverted create and createInternal.

The flow is:

Question is: should our SAH or our SSP make the call to our RHC and thus to Reva?

More detailed:

michielbdejong commented 2 years ago

One thing is certain: SSP create should return the share.

michielbdejong commented 2 years ago

The share should have a full id and a share time. Fixed in nc-sciencemesh dev branch now.

michielbdejong commented 2 years ago

The problem is, when I move this code from SSP create to SSP createInternal (where it should be because there we can fill in the true id), then the error is back. So should we maybe make the call to RHC from SSP create, then?

michielbdejong commented 2 years ago

Tracing again:...

michielbdejong commented 2 years ago

OK, moved the call to reva from the helper to the provider, great progress! Now that the helper almost does nothing we could also maybe avoid having to register it (only register the provider, not the helper)

Anyway, next step: pass the ID through reva.

michielbdejong commented 2 years ago

OK! fixed on the NC side, now the reva side...

michielbdejong commented 2 years ago

Fixed in the dev branch of nc-sciencemesh and the efss-backend-fixes branch of reva