oddsdk / ts-odd

An SDK for building apps with decentralized identity and storage.
https://odd.dev/
Apache License 2.0
179 stars 24 forks source link

mv function not publishing #480

Closed ha6755ad closed 1 year ago

ha6755ad commented 1 year ago

Summary

Inability to publish the results of moving a file or directory

Problem

The fs.mv function is returning the proper filesystem result from its promise, but the result cannot be published successfully.

Impact

mv is rendered ineffective.

Solution

No error is produced, so knowing exactly what the a likely fix is would be hard for me to say. Something to do with refactoring the trees for old and new parent directories a file or directory is moved into - I'm not familiar with what exactly this entails.

Detail

Describe the bug

To Reproduce Please see example project here for reproducible error https://github.com/bgins/webnative-fs-mv-test

Expected behavior It is expected that fs.mv and then publish would produce updated persistent directory trees for the affected directories. Again, worth noting is that the mv method does return the correct filesystem response, but it is reverted when trying to publish.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

icidasset commented 1 year ago

Fix will be in version 0.36, releasing later today.