X Tutup
Skip to content

Fix bug with attribute disabled being saved as null#36086

Merged
PVince81 merged 1 commit intomasterfrom
fix_share_attribute_enabled
Aug 26, 2019
Merged

Fix bug with attribute disabled being saved as null#36086
PVince81 merged 1 commit intomasterfrom
fix_share_attribute_enabled

Conversation

@mrow4a
Copy link
Contributor

@mrow4a mrow4a commented Aug 24, 2019

This commit (2ef190a) broke the logic of share attributes in case where share attribute "enabled" was set to false.

This fixes it by checking for null instead.

@mrow4a mrow4a force-pushed the fix_share_attribute_enabled branch from 8f93dfe to c616d1c Compare August 24, 2019 14:00
@codecov
Copy link

codecov bot commented Aug 24, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #36086   +/-   ##
=======================================
  Coverage      54%      54%           
=======================================
  Files          63       63           
  Lines        7403     7403           
  Branches     1307     1307           
=======================================
  Hits         3998     3998           
  Misses       3019     3019           
  Partials      386      386
Flag Coverage Δ
#javascript 54% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba57c90...c616d1c. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Aug 24, 2019

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #36086   +/-   ##
=======================================
  Coverage      54%      54%           
=======================================
  Files          63       63           
  Lines        7403     7403           
  Branches     1307     1307           
=======================================
  Hits         3998     3998           
  Misses       3019     3019           
  Partials      386      386
Flag Coverage Δ
#javascript 54% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba57c90...c616d1c. Read the comment docs.

Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81 PVince81 merged commit 097ef53 into master Aug 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix_share_attribute_enabled branch August 26, 2019 07:01
@phil-davis
Copy link
Contributor

Fixes #36090 which I noticed (richdocuments tests for extra attributes were failing)

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

X Tutup