Closed yoichiro closed 9 years ago
Probably, the cause is the follows:
In #41, I added the cache layer. That is, in the step4, the metadata of the created new file should be returned. However, its metadata does not exist in the cache, therefore, "NOT_FOUND" returned. As the result, ChromeOS didn't fire the onFileWriteRequested or onTruncateRequested event.
Currently, if the specified directory was cached and the specified file doesn't exist in the cache, "NOT_FOUND" returned without fetching the metadata from the server. To solve this issue, I intend to change this logic. That is, when the situation occurs, fetch the metadata from the server and return it.
Fixed this issue at next version: #46
1.4.1 has just been released. Close this issue.
When I save a new text file with the application "Text", the file was created, but the file size is zero.