Skip to content

Fix incorrect model attribute deref in SqlAlchemy implementation of Log#2156

Merged
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_2155_sqlalchemy_log_id_attribute
Nov 6, 2018
Merged

Fix incorrect model attribute deref in SqlAlchemy implementation of Log#2156
sphuber merged 1 commit into
aiidateam:developfrom
sphuber:fix_2155_sqlalchemy_log_id_attribute

Conversation

@sphuber
Copy link
Copy Markdown
Contributor

@sphuber sphuber commented Nov 6, 2018

Fixes #2155

The id property was piping through to the objpk of the underlying
model instead of the id.

The `id` property was piping through to the `objpk` of the underlying
model instead of the `id`.
@sphuber sphuber requested a review from muhrin November 6, 2018 09:19
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-6.1%) to 62.605% when pulling 82c9d35 on sphuber:fix_2155_sqlalchemy_log_id_attribute into 300a8e2 on aiidateam:develop.

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 6, 2018

Coverage Status

Coverage decreased (-0.03%) to 68.689% when pulling 82c9d35 on sphuber:fix_2155_sqlalchemy_log_id_attribute into 300a8e2 on aiidateam:develop.

Copy link
Copy Markdown
Contributor

@muhrin muhrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@sphuber sphuber merged commit a3f8c84 into aiidateam:develop Nov 6, 2018
@sphuber sphuber deleted the fix_2155_sqlalchemy_log_id_attribute branch November 6, 2018 11:40
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