-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bump publiclab-editor from 3.0.1 to 3.0.2 #9323
Bump publiclab-editor from 3.0.1 to 3.0.2 #9323
Conversation
Bumps [publiclab-editor](https://github.com/publiclab/PublicLab.Editor) from 3.0.1 to 3.0.2. - [Release notes](https://github.com/publiclab/PublicLab.Editor/releases) - [Commits](https://github.com/publiclab/PublicLab.Editor/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Codecov Report
@@ Coverage Diff @@
## main #9323 +/- ##
=======================================
Coverage ? 82.26%
=======================================
Files ? 98
Lines ? 5870
Branches ? 0
=======================================
Hits ? 4829
Misses ? 1041
Partials ? 0 |
Odd, the second doesn't seem editor related... Not sure why the first one is failing either...
|
Oof now this error:
|
I've seen this error before I think...I will try to reopen |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
So weird this... but ok this is the only one i saw last time i ran it:
Really almost nothing else has changed about the editor though... since 3.0.0 - https://github.com/publiclab/PublicLab.Editor/commits however it's odd, i don't actually see a commit for 3.0.1, i wonder if i published that from a branch mistakenly... |
That system test just won't pass. I think we should try running a diff on the library between |
plots2/app/controllers/images_controller.rb Lines 19 to 37 in 01242e5
In fact based on line 36 maybe we can modify the Rails to detect 0 as being same as null? |
@@ -33,7 +33,7 @@ def create | |||
title: params[:image][:title], | |||
notes: params[:image][:notes]) | |||
end | |||
@image.nid = Node.find(params[:nid].to_i).nid unless params[:nid].nil? || params[:nid] == 'undefined' | |||
@image.nid = Node.find(params[:nid].to_i).nid unless params[:nid].nil? || params[:nid] == 'undefined' || params[:nid].to_i == 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use params[:nid].to_i.zero?
instead of params[:nid].to_i == 0
.
Code Climate has analyzed commit 623400a and detected 1 issue on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
I did a rebuild of this issue and the tests are now passing, this should be okay? @jywarren or is the |
Wow i don't know why it passed this time, but it sounds great! We'll just
watch out for this test failing again in future PRs. Thanks!!!
…On Fri, Mar 19, 2021 at 1:21 PM Ruth ***@***.***> wrote:
I did a rebuild of this issue and the tests are now passing, this should
be okay? @jywarren <https://github.com/jywarren> or is the nid = 0 a
concern?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9323 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAF6J3ZXLQMATX3DO5A6ADTEOBZRANCNFSM4ZJPSTIQ>
.
|
Bumps publiclab-editor from 3.0.1 to 3.0.2.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readmeAdditionally, you can set the following in the
.dependabot/config.yml
file in this repo: