How to fix broken image links in rich text fields?
This article explains how to fix broken image links in rich text fields in Agility.
What's happening
Broken image icons display in your rich text content (in description fields) instead of the image you inserted.
Cause
The Winter Release '14 (version 14.0) added the capability to insert images directly into rich text fields (such as descriptions). When a user inserts an image, the image resource is stored in its own table and a link to the image resource is inserted into the rich text field. The link contains the fully-qualified URL to the image resource, including the protocol, host, and Digital.ai Agility application instance.
If your Digital.ai Agility instance is moved to a new host or if it is renamed, the links to image resources will be broken and a broken image icon will display instead of the inserted image. When this occurs, you can run the database script below to correct the image resource links.
How to fix it
Follow these steps to correct the image resource links.
- Download the SQL script: https://github.com/versionone/scripts/blob/master/fixes/change-server-address-in-long-string-fields.sql.
- Set the variables that represent your old and new host information. For both, include the fully-qualified URL including the protocol, host, and Digital.ai Agility application instance.
- Run the database script using the database administrator account.
Related concepts
Managing Stories Backlog Items