Page MenuHomePhabricator

VisualEditor: For large SVG images while trying to make it full size, it says "Size values are invalid"
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open a page with VE
2.Insert a svg image with large size
(I found this issue with this image: https://test2.wikipedia.org/wiki/File:MO-123.svg, which has full size of 2,543 × 2,160 pixels.
I tried with svg images of upto 2000 x 2000 pixels, but could not reproduce for them.)

3.Go to Media Settings tab of this image and go to Advanced Settings
4.Click on Make full size (it wont try to make it full size which is another bug)
5.Now again click on Make full size

Observed Result:
It changes the size values to the full size of the images but it also says "Size values are invalid"

Page:https://test2.wikipedia.org/wiki/19thjanFF?veaction=edit


Version: unspecified
Severity: normal

Details

Reference
bz66865

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz66865.

Change 142380 had a related patch set uploaded by Mooeypoo:
Unimplement wgSVGMaxSize

https://gerrit.wikimedia.org/r/142380

Change 142380 merged by jenkins-bot:
Unimplement wgSVGMaxSize

https://gerrit.wikimedia.org/r/142380

Verified the fix in Betalabs

Verified the fix in production