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

Disabling limits sets enabled to false #1609

Merged
merged 1 commit into from
Oct 12, 2024
Merged

Disabling limits sets enabled to false #1609

merged 1 commit into from
Oct 12, 2024

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented Oct 3, 2024

closes #1596

Yet another backend change for the frontend bug. I can't understand why we were deleting the 'enabled' attribute instead of setting it to false but that seems wrong and it breaks the frontend because if the only field is 'enabled' now I have no limits at all. Note that the Python code in packet_item.py is already setting enabled = False correctly.

@jmthomas jmthomas requested a review from ryanmelt October 3, 2024 19:39
Copy link

sonarcloud bot commented Oct 3, 2024

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.79%. Comparing base (7725769) to head (01f1d44).
Report is 28 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1609      +/-   ##
==========================================
+ Coverage   76.77%   76.79%   +0.01%     
==========================================
  Files         614      614              
  Lines       46403    46405       +2     
  Branches      827      827              
==========================================
+ Hits        35628    35638      +10     
+ Misses      10683    10675       -8     
  Partials       92       92              
Flag Coverage Δ
frontend 56.20% <ø> (ø)
python 84.62% <ø> (+0.05%) ⬆️
ruby-api 47.62% <ø> (ø)
ruby-backend 82.82% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ryanmelt ryanmelt merged commit 58cd6aa into main Oct 12, 2024
34 checks passed
@ryanmelt ryanmelt deleted the item_limits branch October 12, 2024 04:12
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.

Disabling item with state limits can't be re-enabled
2 participants