Comments (1)
When you receive a POST /location
, I see the uploaded file data being sent in file
param (which includes the filename), but I don't see the controller actually using that data to form an uploaded file object. It only seems to use uploaded file IDs and refreshes the metadata, which won't retrieve the original filename, as it's not stored on the storage service.
So, the reason the original filename is getting lost is because you're not passing it all the way through.
from shrine.
Related Issues (20)
- [Bug]: no _dump_data is defined for class Proc (Shrine with Rails Cache) HOT 1
- [Bug]: `create_derivatives` uploads files already in the store HOT 2
- Website search broken after migrating to Docusaurus v2
- Support retries with remote_url HOT 1
- Unpermitted parameter: :images with dropzonejs HOT 4
- Specifying host: with plugin :url_options has no effect on the returned URL HOT 5
- Disabling cache is tricky HOT 2
- [Bug] File not promoted on permanent storage if reload the model inside a transaction HOT 4
- Using Shrine with Cloudflare R2 causes error Aws::S3::Errors::NotImplemented - x-amz-tagging HOT 5
- Documentation for `image_url` options HOT 2
- Is it possible to pass storage config dynamically ?
- Shrine 3.5.0 does not support Rack 3 (undefined method `map' for #Rack::Files::Iterator) HOT 3
- WARN: Job arguments to PromoteJob do not serialize to JSON safely. This will raise an error in Sidekiq 7.0. HOT 3
- Resize original file HOT 4
- SignatureDoesNotMatch error when uploading to DigitalOcean Spaces with presigned URL HOT 1
- Unable to upload GIFs HOT 3
- heroku - rails 5.2. - paperclip -> shrine HOT 1
- Huge memory consumption when using ImageProcessing::Vips for derivatives HOT 1
- Using :url_options alongside :default_storage and :dynamic_storage does not work as expected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shrine.