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

Open
#528 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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

Dominant language
Ruby
Stars
420
Forks
282
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudinary/cloudinary_gem

All issues in cloudinary/cloudinary_gem

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.