-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: FC - Ecosystem - API Framework
-
1
-
Severity 3 - Minor
Issue Summary
The title is self-explanatory. Go through the below steps to reproduce the issue.
Steps to Reproduce
- Create a page;
- Using the update content REST API endpoint, update this page to add a web image, setting up its width to 35 or less - you can use the below payload to your (it was reproduced with JavaScript):
{ "title": "<PAGE_TITLE>", "type": "page", "status": "current", "version": { "number": <VERSION NUMBER>, "minorEdit": true }, "body": { "storage": { "value": "<table data-layout=\"default\" ac:local-id=\"80031594-cd0b-45d1-9f3b-e1d8e19a55a0\"><colgroup><col style=\"width: 226.67px;\" /><col style=\"width: 226.67px;\" /><col style=\"width: 226.67px;\" /></colgroup><tbody><tr><th><p><strong>Header1</strong></p></th><th><p><strong>Header2</strong></p></th><th><p><strong>Header3</strong></p></th></tr><tr><td><p>Text1</p></td><td><p>Text2</p></td><td><p>Text3</p></td></tr><tr><td><p>Text4</p></td><td><ac:image ac:width=\"35\" ><ri:url ri:value=\"http://pm1.narvii.com/6871/fe3fffb2f85f0f800fcb1075c34fbc1e7d790703r1-628-800v2_00.jpg\" /></ac:image></td><td><p>Text6</p></td></tr></tbody></table>", "representation": "storage" } } } - Go to your page and check the image.
Expected Results
The image is set according to the width we set.
Actual Results
Either the image doesn't show up or, depending on the browser's width, sometimes it gets bigger, sometimes it disappears.
Notes
- The behavior is more consistent when the images have a smaller width, like 25, for example - 35 was the average size we could get the behavior to happen more often.
Workaround
Manually update the image to the page and set its ideal size by dragging and dropping its border.