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

Wrong parameters for Pdsinterop\Rdf\Flysystem\Exception #4

Closed
ylebre opened this issue Mar 29, 2021 · 0 comments · Fixed by #5
Closed

Wrong parameters for Pdsinterop\Rdf\Flysystem\Exception #4

ylebre opened this issue Mar 29, 2021 · 0 comments · Fixed by #5
Labels
bug Something isn't working

Comments

@ylebre
Copy link
Member

ylebre commented Mar 29, 2021

I'm getting an error in solid-nextcloud, traced it back to this lib:

Error: Exception: Wrong parameters for Pdsinterop\Rdf\Flysystem\Exception([string $message [, long $code [, Throwable $previous = NULL]]]) at <>

Looks to be caused by this bit of code (line 213) in Flysystem\Adapter\Rdf:

} catch (EasyRdf_Exception $exception) {
		throw new Exception(self::ERROR_COULD_NOT_CONVERT, [
				'file' => $path,
				'format' => $format,
				'error' => $exception->getMessage(),
		], $exception);
}

It looks to me like this file should have a throwException function much like the one in Flysystem/Plugin/ReadRdf.php
to create a correct error, but I'm not 100% sure.

@Potherca Potherca added the bug Something isn't working label Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants