superset/superset-frontend/packages/superset-ui-core/test
Eric Briscoe ab6ec89f68
fix: [sc-54864] Adds safety check to provide near term fix to save query (#21034)
* [sc-54864] Adds safety check to provide near term fix for Queries not saving

There is an error when casting the columns array to String() for saving queries where the objects in the array are missing the toString method.   This is a near term rapid patch to fix workflow in production which will have a follow up to identify root cause.

* fix typo

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>

* Adjusted chekc to be explicit for undefined instead of truthy

This fixes issue caught by unit test where the if statement was using a truthy check where it should be explicitly checking for value of undefined

* Adds new unit test to get 100% coverage for callApi

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2022-08-10 10:33:47 -07:00
..
__mocks__ refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00
chart chore: removing Druid from front- and back- end (#20338) 2022-07-08 17:57:03 +02:00
chart-composition refactor: import value name from root of superset-ui/core (#17947) 2022-01-08 09:16:24 +08:00
color chore: Update color scheme when deleted or changed (#20589) 2022-07-25 18:50:49 -04:00
connection fix: [sc-54864] Adds safety check to provide near term fix to save query (#21034) 2022-08-10 10:33:47 -07:00
dimension fix: avoid while cycle in computeMaxFontSize for big Number run forever when css rule applied (#20173) 2022-05-25 18:04:04 +08:00
dynamic-plugins refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00
math-expression refactor: import value name from root of superset-ui/core (#17947) 2022-01-08 09:16:24 +08:00
models feat: UI override registry (#19671) 2022-04-14 08:44:26 -07:00
number-format chore(frontend-tests): Spelling (#19853) 2022-04-26 10:35:01 -07:00
query fix: core coverage and add a coverage step in workflow (#20784) 2022-07-20 08:56:03 -03:00
style refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00
time-format chore(frontend-tests): Spelling (#19853) 2022-04-26 10:35:01 -07:00
translation fix: suppress translation warning in jest (#20404) 2022-06-21 20:38:58 +08:00
ui-overrides chore: rename "uiOverrideRegistry" -> "extensionsRegistry" (#20628) 2022-07-06 11:35:19 -07:00
utils feat: a simple LRUCache in frontend (#20842) 2022-07-26 15:02:10 +08:00
validator refactor: import value name from root of superset-ui/core (#17947) 2022-01-08 09:16:24 +08:00
fixtures.ts refactor: import value name from root of superset-ui/core (#17947) 2022-01-08 09:16:24 +08:00
index.test.ts refactor: import value name from root of superset-ui/core (#17947) 2022-01-08 09:16:24 +08:00
tsconfig.json feat(select): keep options order when in single mode (#19085) 2022-03-11 13:01:38 -08:00