dosubot[bot] commented on issue #33733:
URL: https://github.com/apache/superset/issues/33733#issuecomment-2960045821

   <!-- Answer -->
   This looks like a formatting bug in the toast message for syncing columns. 
The frontend expects to interpolate the number of new columns into the message, 
but if the backend doesn't return the expected value (for example, if 
`diff.added` is missing or not an array), you'll see the raw `%s` placeholder 
instead of a number. This can happen if there's an issue with how the backend 
computes or returns the column diff, or if the frontend doesn't properly handle 
null/undefined values when displaying the toast. Ensuring the backend always 
returns `diff.added` as an array and the frontend checks for valid values 
before rendering the message should resolve this issue. The bug is in how the 
frontend and backend coordinate the data for this toast message, not in your 
environment or browser configuration. More details on the frontend logic can be 
found 
[here](https://github.com/apache/superset/blob/86e7139245e7444e749b5e8ad1d5167b4df53ce9/superset-frontend/src/features/datasets/AddDataset/Dat
 asetPanel/index.tsx).
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/1f53a117-f14c-4306-8d0c-f8a56220ab90?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[!
 [Share on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/33733)


-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to