Page MenuHomePhabricator

Pressing CTRL+S with no translation cause Save error
Closed, ResolvedPublic

Description

From CX Error event logging.

........."error\":{\"code\":\"invalidhtml\",\"info\":\"html cannot be empty\",\"*\":\"See https://vi.wikipedia.org/w/api.php for API usage\"}}', '1'

To reprodce: open a language pair in CX. Dont do any translation. As soon as the page loaded. press CTRL+S. You will see the yellow banner appearing saying "Error while saving translation"

Event Timeline

santhosh raised the priority of this task from to Medium.
santhosh updated the task description. (Show Details)
santhosh added a subscriber: santhosh.

Change 207393 had a related patch set uploaded (by Santhosh):
Refactor the drafts module and fix a bug about saving empty content

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

Change 207393 merged by jenkins-bot:
Refactor the drafts module and fix a bug about saving empty content

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

santhosh raised the priority of this task from Medium to High.Apr 30 2015, 10:07 AM
Nikerabbit added a subscriber: Nikerabbit.