superset icon indicating copy to clipboard operation
superset copied to clipboard

'NoneType' object has no attribute 'strip' error when editing the dashboard setting

Open syazshafei opened this issue 7 years ago • 8 comments

A clear and concise description of what the bug is.

Expected results

Dashboard title changed

Actual results

'NoneType' object has no attribute 'strip' appear

Screenshots

Screenshot from 2019-06-12 15-39-29

How to reproduce the bug

  1. Go to 'Dashboard' section
  2. Click on 'Edit record' on dashboard
  3. Edit the dashboard title and save
  4. See error

or

  1. Go to 'Dashboard' section
  2. Click on '+' button which is 'Add a new record'
  3. Save without content
  4. See error

Environment

(please complete the following information):

  • superset version: 0.28.1
  • python version: Python 3.6
  • node.js version: 10.16.0
  • npm version: 6.9.0

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [ ] I have reproduced the issue with at least the latest released version of superset.
  • [x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

syazshafei avatar Jun 12 '19 07:06 syazshafei

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 12 '19 07:06 issue-label-bot[bot]

Hi @syazwan0913,

Please fill out the issue template, thank you

dpgaspar avatar Jun 12 '19 07:06 dpgaspar

Thanks @syazwan0913, can you fill the "How to reproduce the bug" steps

dpgaspar avatar Jun 12 '19 09:06 dpgaspar

Replicated your steps and got no errors. Can you post the server log?

dpgaspar avatar Jun 13 '19 10:06 dpgaspar

Is it on superset version 0.28.1 ?

syazshafei avatar Jun 17 '19 00:06 syazshafei

Fixed it already

syazshafei avatar Jul 23 '19 09:07 syazshafei

Fixed it already How did you fix it?

AasthaPoddar avatar Jan 02 '20 09:01 AasthaPoddar

@AasthaPoddar use the latest version

syazshafei avatar Jan 07 '20 13:01 syazshafei