cloudinary / cloudinary/cloudinary_gem

preview:duration effect was shortened to preview:du when uploading a video

Open
#528 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
420
Forks
285
PR merge metrics
No merged PRs in 30d

Description

## Bug report for Cloudinary Ruby SDK
v1.28.0

## Describe the bug in a sentence or two.
Issue - preview:duration effect was shortened to preview:du when uploading a video using `Cloudinary::Uploader.upload`

Error - CloudinaryException: Eager Invalid effect in transformation: du_15.0

## Issue Type (Can be multiple)
- [ ] Build - Cannot install or import the SDK
- [ ] Performance - Performance issues
- [ ] Behaviour - Functions are not working as expected (such as generate URL)
- [ ] Documentation - Inconsistency between the docs and behaviour
- [ ] Other (Specify)

## Steps to reproduce
## Error screenshots or Stack Trace (if applicable)

## Operating System
- [ ] Linux
- [ ] Windows
- [ ] macOS
- [ ] All

## Environment and Libraries (fill in the version numbers)
- Cloudinary Ruby SDK version - 1.28.0
- Ruby Version - 3.2.1
- Rails Version - 6.1.7.4
- Other Libraries (Carrierwave, ActiveStorage, etc) - 6.1.7.4

## Repository

If possible, please provide a link to a reproducible repository that showcases the problem

Contributor guide

Open the contributing guide

Research direction

Start at Cloudinary::Uploader.upload and reproduce the reported video upload with the stated SDK and Ruby versions, checking where preview:duration becomes preview:du. The issue names no file or test; done means the full effect name is preserved and the upload no longer returns the du_15.0 invalid-effect error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.