Cannot create board description (but can edit an existing one)
Closed, ResolvedPublic

Description

On a page that never had a board description, the editor does not initialize properly. In this case the cancel button is also broken.

Can be easily tested in the Flow_test_talk namespace on beta. For instance: https://en.wikipedia.beta.wmflabs.org/wiki/Flow_test_talk:Page2

SBisson created this task.Jan 18 2018, 11:57 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 18 2018, 11:57 AM

Change 405051 had a related patch set uploaded (by Catrope; owner: Catrope):
[mediawiki/extensions/Flow@master] BoardDescriptionWidget: Fix init when no description created yet

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

Change 405051 merged by jenkins-bot:
[mediawiki/extensions/Flow@master] BoardDescriptionWidget: Fix init when no description created yet

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

Note: For testing after deployment - https://www.mediawiki.org/wiki/User_talk:Zilant17 . There is the Console error: Uncaught TypeError: Cannot read property 'getModel' of null. And "The "content" parameter must be set." when 'Save description' is clicked.

Etonkovidova closed this task as Resolved.Jan 20 2018, 1:55 AM
SBisson added a subscriber: Xaosflux.

This will be deployed with the train next week.