Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: add None checking to cast_to_num #10584

Merged
merged 2 commits into from
Aug 12, 2020

Conversation

villebro
Copy link
Member

SUMMARY

cast_to_num can be called with None, which causes an exception ('NoneType' object has no attribute 'isdigit').

TEST PLAN

CI + new tests

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@villebro villebro merged commit 85c0cad into apache:master Aug 12, 2020
@villebro villebro deleted the villebro/cast-to-num branch August 12, 2020 16:58
Ofeknielsen pushed a commit to ofekisr/incubator-superset that referenced this pull request Oct 5, 2020
* fix: add None checking to cast_to_num

* fix doctest
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 2020
* fix: add None checking to cast_to_num

* fix doctest
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.38.0 labels Mar 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 0.38.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants