Closed michielbdejong closed 2 years ago
One thing is certain: SSP create should return the share.
The share should have a full id and a share time. Fixed in nc-sciencemesh dev branch now.
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?
Tracing again:...
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.
OK! fixed on the NC side, now the reva side...
Fixed in the dev branch of nc-sciencemesh and the efss-backend-fixes branch of reva
In file '/var/www/html/lib/private/Share20/Manager.php' line 822.
This is because I inverted create and createInternal.
The flow is:
files_sharing
ShareAPIController calls our ShareAPIHelper to create$oldShare
$newShare
$oldShare
is merged into$newShare
in https://github.com/nextcloud/server/blob/v25.0.1/lib/private/Share20/Manager.php#L821Question is: should our SAH or our SSP make the call to our RHC and thus to Reva?
More detailed: