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

[FIX] Settings: check for attributes before comparing #2258

Closed
wants to merge 1 commit into from
Closed

[FIX] Settings: check for attributes before comparing #2258

wants to merge 1 commit into from

Conversation

jerneju
Copy link
Contributor

@jerneju jerneju commented Apr 24, 2017

Issue

https://sentry.io/biolab/orange3/issues/256593225/

Description of changes
Includes
  • Code changes
  • Tests
  • Documentation

@jerneju
Copy link
Contributor Author

jerneju commented Apr 24, 2017

@jerneju
Copy link
Contributor Author

jerneju commented Apr 24, 2017

@jerneju jerneju changed the title Settings: check for attributes before comparing [FIX] Settings: check for attributes before comparing Apr 24, 2017
@astaric
Copy link
Member

astaric commented Apr 24, 2017

Why would there be a context that does not have attributes?

@codecov-io
Copy link

Codecov Report

Merging #2258 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2258   +/-   ##
=======================================
  Coverage   72.47%   72.47%           
=======================================
  Files         319      319           
  Lines       55130    55130           
=======================================
  Hits        39958    39958           
  Misses      15172    15172

@astaric
Copy link
Member

astaric commented Apr 24, 2017

Context handlers should be allowed to assume that the context is of the correct kind. The right way to approach this should be fixing the offending widget, which is (although at the moment incorrectly) being done in #2254. Let's continue the discussion there.

@astaric astaric closed this Apr 24, 2017
@jerneju jerneju deleted the attribute-settings branch April 26, 2017 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants