Problem/Motivation

When I upload a JSON file it populates the Lottiefile URL with an absolute path to the file. This causes problems when migrating to other domains or using domain prefixes (www).

Steps to reproduce

Install module, create a media and upload a JSON file

Proposed resolution

To display the lottie JSON, use relative paths or simply the path to the stored file in /sites/default/files

Comments

lluisandreu created an issue. See original summary.

  • 04bcdd73 committed on 2.0.x
    Issue #3461419: Do not use absolute URL to display lottie JSON file
    

  • d96753f6 committed on 2.0.x
    Issue #3461419: Do not use absolute URL to display lottie JSON file
    

  • f027a063 committed on 2.0.x
    Issue #3461419: Do not use absolute URL to display lottie JSON file
    
harivenuv’s picture

Fixed

Added field update hook, Please do a configuration export after this update.

harivenuv’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.