linkeddata / rdflib.js

Linked Data API for JavaScript
http://linkeddata.github.io/rdflib.js/doc/
Other
564 stars 143 forks source link

Flush metadata #512

Closed timbl closed 1 year ago

timbl commented 3 years ago

This is designed to address https://github.com/linkeddata/rdflib.js/issues/441 along with other code to call updater.flagAuthorizationMetadata when the login state changes.

bourgeoa commented 1 year ago

@timbl can you review Angelo comments?

bourgeoa commented 1 year ago

After merging main, build succeed, but new tests fail :

update callback uri = undefined, ok = false, text = <<<Exception in update: Error: Update: Loaded <https://example.com/test/foo>but stil can't figure out what editing protcol it supports.
Error: Update: Loaded <https://example.com/test/foo>but stil can't figure out what editing protcol it supports.
  undefined
    Error: Update: Loaded <https://example.com/test/foo>but stil can't figure out what editing protcol it supports.  undefined
        at UpdateManager.update (/mnt/d/github/source/workspaces/rdflib/src/update-manager.ts:832:17)  undefined
        at /mnt/d/github/source/workspaces/rdflib/src/update-manager.ts:836:16  undefined
        at processTicksAndRejections (node:internal/process/task_queues:96:5)>>>
angelo-v commented 1 year ago

The failing tests are