-
Notifications
You must be signed in to change notification settings - Fork 10
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
File upload broken #34
Comments
I've reproduced the issue. |
The issue is not fully fixed but goes over the error. In the mean time, please use this blueprint (updated for the upcoming version):
EDIT: updated to use |
very cool to see the extra menu items! while this does not completely solve the issue i have, it's a lot better already! thank you for your help. I'm looking forward to the new release :) |
I installed the latest version today and am having an issue with the file type. When creating or editing a flex object I choose an image and it saves without any errors or warnings. The file doesn't appear to be uploaded and the image field in the markdown file does not have a value. I am wondering if the problem I am describing is related to this issue or if I am doing something wrong. I tried using the blueprint provided by @mahagr to make sure it wasn't just an issue with my blueprint. |
I am facing this issue too, @mahagr why in your blueprint it's missing the destination option under the header.img field? Just asking. |
Should be fixed. @ricardo118 Can you test it out? |
@mahagr using the blueprint above I get without using a destination, no save happens for the object. Using a destination like The object saves with
|
Updated the blueprint again and fixed the bug in Grav. Thanks for testing, now it really works. |
@mahagr I reckon this will work with the next Release Candidate? I’m on Admin v1.10.0-rc.11 which was released three weeks prior to your comment here. I copied the above pasted blueprint and everything works except the file upload – no matter whether I added a |
@mahagr addressed file uploads in an independent branch of grav. It’s a big change to unify and cleanup the logic and has not been merged yet. https://github.com/getgrav/grav/tree/feature/1.7-media |
File upload fails with
Undefined index: name
:user/blueprints/flex-objects/slides.yaml
:The text was updated successfully, but these errors were encountered: