Skip to content

PATCH on Container representation silently fails #71

Description

@uvdsl

Tried authenticated PATCH on https://storage-b94d19e0da65ece04c3a1ee3ad2ef66f.solid-01.muze.nl/public/, e.g.

@prefix solid: <http://www.w3.org/ns/solid/terms#>.
@prefix dcterms: <http://purl.org/dc/terms/>.

_:patch a solid:InsertDeletePatch ;
  solid:inserts {
    <https://storage-b94d19e0da65ece04c3a1ee3ad2ef66f.solid-01.muze.nl/public/> dcterms:title "testing" .
  } .

returns a 200 OK with an HTML page detailing

<br />
<b>Warning</b>:  file_put_contents(/opt/solid/pods/b94d/19e0/da65/ece0/4c3a/1ee3/ad2e/f66f/public): Failed to open stream: Is a directory in <b>/opt/solid/vendor/league/flysystem/src/Adapter/Local.php</b> on line <b>199</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /opt/solid/vendor/league/flysystem/src/Adapter/Local.php:199) in <b>/opt/solid/lib/StorageServer.php</b> on line <b>144</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /opt/solid/vendor/league/flysystem/src/Adapter/Local.php:199) in <b>/opt/solid/lib/StorageServer.php</b> on line <b>150</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /opt/solid/vendor/league/flysystem/src/Adapter/Local.php:199) in <b>/opt/solid/lib/StorageServer.php</b> on line <b>150</b><br />

Patches on non-container resources seem to work fine 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions