johannes-ws commented on issue #34688:
URL: https://github.com/apache/superset/issues/34688#issuecomment-3187820669
When i try to edit json metadata in "Edit dashboard properties", by default
it gives this code.
{
"color_scheme": "",
"refresh_frequency": 0,
"expanded_slices": {},
"label_colors": {},
"timed_refresh_immune_slices": [],
"cross_filters_enabled": false,
"default_filters": "{}",
"chart_configuration": {},
"global_chart_configuration": {},
"filter_scopes": {}
}
I just changed <code>cross_filters_enabled</code> to be <code>true</code>,
apply, and save it. Superset gives success put request, but the response json
metadata for <code>cross_filters_enabled</code> is <code>false</code>. This is
the full response.
{
"id": 13,
"last_modified_time": 1755164410.0,
"result": {
"certification_details": "",
"certified_by": "",
"css": "",
"dashboard_title": "test1",
"json_metadata":
"{\"color_scheme\":\"\",\"refresh_frequency\":0,\"expanded_slices\":{},\"label_colors\":{},\"timed_refresh_immune_slices\":[],\"cross_filters_enabled\":false,\"default_filters\":\"{}\",\"chart_configuration\":{},\"global_chart_configuration\":{},\"positions\":{\"CHART-7bK3LOsS1E0rBg4KSvhft\":{\"children\":[],\"id\":\"CHART-7bK3LOsS1E0rBg4KSvhft\",\"meta\":{\"chartId\":124,\"height\":50,\"sliceName\":\"test3\",\"uuid\":\"fb89fc9a-73d4-4529-a9e5-ab6db2c2ebd2\",\"width\":4},\"parents\":[\"ROOT_ID\",\"GRID_ID\",\"ROW-UN3r3w6UwqmT9LHRK34-2\"],\"type\":\"CHART\"},\"CHART-eJ8qZi_5ujjfVIQVFhbf2\":{\"children\":[],\"id\":\"CHART-eJ8qZi_5ujjfVIQVFhbf2\",\"meta\":{\"chartId\":125,\"height\":50,\"sliceName\":\"test4\",\"uuid\":\"fbf5fe68-79da-4461-9daa-37878e9ad43a\",\"width\":4},\"parents\":[\"ROOT_ID\",\"GRID_ID\",\"ROW-UN3r3w6UwqmT9LHRK34-2\"],\"type\":\"CHART\"},\"DASHBOARD_VERSION_KEY\":\"v2\",\"GRID_ID\":{\"children\":[\"ROW-UN3r3w6UwqmT9LHRK34-2\"],\"id\":\
"GRID_ID\",\"parents\":[\"ROOT_ID\"],\"type\":\"GRID\"},\"HEADER_ID\":{\"id\":\"HEADER_ID\",\"type\":\"HEADER\",\"meta\":{\"text\":\"test1\"}},\"ROOT_ID\":{\"children\":[\"GRID_ID\"],\"id\":\"ROOT_ID\",\"type\":\"ROOT\"},\"ROW-UN3r3w6UwqmT9LHRK34-2\":{\"children\":[\"CHART-7bK3LOsS1E0rBg4KSvhft\",\"CHART-eJ8qZi_5ujjfVIQVFhbf2\"],\"id\":\"ROW-UN3r3w6UwqmT9LHRK34-2\",\"meta\":{\"background\":\"BACKGROUND_TRANSPARENT\"},\"parents\":[\"ROOT_ID\",\"GRID_ID\"],\"type\":\"ROW\"}},\"color_scheme_domain\":[],\"shared_label_colors\":[],\"map_label_colors\":{\"U7HPM7JHL\":\"#1FA8C9\",\"U014D0Q95K5\":\"#454E7C\",\"U80EFANJE\":\"#5AC189\",\"U017193F7JQ\":\"#FF7F44\",\"UHK31ESN4\":\"#666666\",\"UM4AW481K\":\"#E04355\",\"UDBV75S6M\":\"#FCC700\",\"U010L66PJ6N\":\"#A868B7\",\"U012CQL57CH\":\"#3CCCCB\",\"U7GMC60TV\":\"#A38F79\",\"UK6FK7KN3\":\"#8FD3E4\",\"UFWUGG1L3\":\"#A1A6BD\",\"UU98R2DSR\":\"#ACE1C4\",\"U012JGEUD4J\":\"#FEC0A1\",\"UA22VUQR1\":\"#B2B2B2\",\"UFUD53AAC\":\"#EFA1AA\",\"U7GSEN2S0\":\"#
FDE380\",\"UTQAXQT6H\":\"#D3B3DA\",\"U0101JVM9GX\":\"#9EE5E5\",\"U01E30VMWSY\":\"#D1C6BC\",\"U0173077ADN\":\"#454E7C\",\"UC81VFB6H\":\"#5AC189\",\"U7H3JCP5K\":\"#FF7F44\",\"U014B7R5ZGR\":\"#666666\",\"U9RJLLJUF\":\"#E04355\",\"U7GN92G9H\":\"#FCC700\",\"UE9KV6D8F\":\"#A868B7\",\"UE3BEAZA8\":\"#3CCCCB\",\"UEX4GB9K5\":\"#A38F79\",\"UV6TAD74M\":\"#8FD3E4\",\"U01D76V70Q3\":\"#A1A6BD\",\"UGJS3SEMA\":\"#ACE1C4\",\"UM0AX5TMX\":\"#FEC0A1\"},\"filter_scopes\":{}}",
"owners": [
1
],
"slug": null
}
}
Why the response changed back into false, however i already set it true?
@dosu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]