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.
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):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
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 thenpublish
would produce updated persistent directory trees for the affected directories. Again, worth noting is that themv
method does return the correct filesystem response, but it is reverted when trying topublish
.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.