-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving an Image to a checklist fails to be stored on server's hard drive #28
Comments
Commit 73d2533 should address this. Feel free to take a read of the changes if you like. In deploying to Nightly B, I saw a strange error regarding datetime conversion on fetching the list, which should be an independent action of this, so we may have database corruption issues. @scaspers, could you blow away the DB so we can test again? Nightly-B should not have those missing folders and then should make them JIT on image save. |
I was worried that would happen.... I'll be investigating what I can do in mono about this. Directory.SetAccessControl() documentation While not related to the exact exception above, if I could have access to work with the database directly and view it and operate on it like you did in the browser, that would be a big help not for this bug but for all the other database issues. |
Here's the culprit in Mono's source... The stacktrace was actually helpful for a change! I'll look to see if there is another way around that doesn't take much time for now; otherwise it might be something to revisit and solve in a different way than directly invoking that API and instead maybe run a script that does it or something. Alternatively, I may start investigation of migrating to .NET Core in the near future, where all of these basics are implemented natively. |
Maybe this will help with setting permissions. |
This is gonna be a time sink, and both of us don't want me spending time on this right now. Lets kick this can a bit further down the road. @scaspers , let me know which idea you prefer to run with from below. I'll need your help either way.
|
@scaspers did I sell you on deferring this? Not trying to be pushy, just trying to manage the backlog! |
Yes we can defer. After we figure out how many checklists we might actually have we may even decide that a list view would be better. |
@scaspers , agreed. If you decide you think the list view would be better, I'm thinking I could make that swap in a long evening at worst so if you sense a need to change the UI for that, we can work that out for V1. |
The folders "Uploads/Checklists/" and any similar folders weren't autogenerated on saving a picture. These folders should be 777 perms
Improve ImageService Implementation to create both directories prior to any save.
The text was updated successfully, but these errors were encountered: