Otto-AA / solid-filemanager

A file manager for solid pods.
https://otto-aa.github.io/solid-filemanager/
35 stars 18 forks source link

Reading a file fails if some predicates are not present #23

Closed happybeing closed 5 years ago

happybeing commented 5 years ago

I filed a bug for solid-file-client which applies to your code as you also use folderUtils.js getStats().

See here: https://github.com/jeff-zucker/solid-file-client/issues/30

BTW I'm finding solid-filemanager very useful for developing a fork of solid-auth-client which will work on both Solid and SAFE Network.

Otto-AA commented 5 years ago

Thank you for also mentioning this here, I will watch for updates in the issue. In the meantime, I've commented mtime out from the stats, as my program didn't use it anyway. (Built and uploaded)

And I'm glad that the app is useful to you :)

Otto-AA commented 5 years ago

I've removed the unused stats, so only the size property is checked. If the size property is not available it simply hides it, so there shouldn't be errors with that from now on.