Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Queries browser - Bug loading queries #1192

Open
ClotildeToullec opened this issue Oct 17, 2024 · 0 comments
Open

Queries browser - Bug loading queries #1192

ClotildeToullec opened this issue Oct 17, 2024 · 0 comments

Comments

@ClotildeToullec
Copy link
Member

To reproduce:

  • Open a query browser
  • Create a simple query
  • Store it on disk
  • Open a new query browser
  • Load the query
  • #new was sent to nil :(

The bug comes from an announcement that triggers the #whenSelectedItemChangedDo:behavior of the query types droplist defined in MiQueryListItemPresenter>>#initializeQueryTypesDropList.

The QueryListItemPresenter seems to be configured correctly but then the announcement messes with it, trying to make the droplist select nil.

TODO: find why this annoucement triggers this behavior and decide if it is legitimate or not, if it can be changed and if it can't, how to get the correct behavior anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant