question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgraded from 1.9.28 to 2.02, TextAreaEditor breaks dialog forms

See original GitHub issue

Any forms with a TextAreaEditor no longer load. Javascript errors in Serenity.Script.UI.js

var $Serenity_TextAreaEditor = function(input, opt) {
        ss.makeGenericType($Serenity_Widget$1, [$Serenity_TextAreaEditorOptions]).call(this, input, opt);
        if (this.options.cols !== 0) {
            input.attr('cols', this.options.cols.toString());
        }
        if (this.options.rows !== 0) {
            input.attr('rows', this.options.rows.toString());
        }
    };

if (this.options.cols !== 0) { input.attr('cols', this.options.cols.toString()); cols and rows is null, so the .toString() call is throwing a nullreference exception.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
wldkrd1commented, Apr 8, 2016

No worries; the problem was I didn’t follow instructions yesterday when I was told to back up the solution. The upgrade this morning went smoothly, I assume because I did the backup this time 👍 .

0reactions
volkanceylancommented, Apr 8, 2016

Thanks, sorry for trouble.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found