- 🇧🇷Brazil charlliequadros
Hi @catch
Is the file name "nodehooks1"?
I couldn't find it. Could you tell me where it is located? - First commit to issue fork.
Automatically closed - issue fixed for 2 weeks with no activity.
- First commit to issue fork.
- Issue created by @danrod
The Needs Review Queue Bot → tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇮🇳India rinku jacob 13 Kerala
rinku jacob 13 → made their first commit to this issue’s fork.
- 🇬🇧United Kingdom catch
It's not a 100% duplicate, e.g. query_node_access_alter only appears to be in this file. Might be necessary to merge it with NodeHooks.
- Issue created by @catch
- 🇩🇪Germany jurgenhaas Gottmadingen
I've left a few code change suggestions and comments in the MR. We should then also have some tests for this.
- 🇫🇷France nod_ Lille
There is a phpcs failure, needs to be fixed before I can commit
- 🇮🇳India adwivedi008
Hello @charlliequadros
I have checked the MR and it seems that the suggested changes have been implementedMoving the issue to RTBC and let's wait for some more feedback from @alexpott or @longwave,
- 🇧🇷Brazil charlliequadros
Hi @alexpott, @longwave,
I re-added the comment, fixed the typo, and submitted it for review again. - First commit to issue fork.
-
tim.plunkett →
committed 13820f2e on 2.0.x
Issue #3477335: Follow-up; Update core.phpcs.xml.dist
-
tim.plunkett →
committed 13820f2e on 2.0.x
- First commit to issue fork.
- First commit to issue fork.
- 🇮🇳India Sivaji_Ganesh_Jojodae Chennai
Updated the MR to reflect comment #34 and earlier.
- First commit to issue fork.
- 🇬🇧United Kingdom catch
Since it's just removing the file, going ahead from needs review here (would have been OK to restore the RTBC).
Committed/pushed to 11.x, thanks!
- 🇺🇸United States smustgrave
Since there hasn't been a follow up going to close out for now. If still an issue please reopen.
- First commit to issue fork.
- 🇧🇷Brazil charlliequadros
Hi @sivaji,
I made the change to organize it in the correct granularity order. - First commit to issue fork.
- 🇧🇷Brazil charlliequadros
Hi @joachim,
it's not clear what the comment is meant to convey. To me, it should include something like:// If $form_state->isRebuilding() was set by $form_state->setRebuild() and the input was // processed without validation errors, we are in a multi-step workflow // that is not yet complete. In this case, a new $form needs to be constructed based on // the changes made to $form_state during the request.
- 🇺🇸United States smustgrave
Have not reviewed but issue summary appears incomplete
Automatically closed - issue fixed for 2 weeks with no activity.
- 🇯🇵Japan tom konda Kanagawa, Japan
tom konda → made their first commit to this issue’s fork.
- @sivaji_ganesh_jojodae opened merge request.
- First commit to issue fork.
- 🇨🇦Canada danrod Ottawa
I attached a patch that checks for
isDefaultRevision()
being set to TRUE before runningnode_reindex_node_search
and same situation forcommentInsert
orcommentUpdate
and orcommentDelete
at/core/modules/node/src/Hook/NodeHooks1.php
I'm starting to do some Core contribution so bear with me when reviewing.
- 🇬🇧United Kingdom joachim
The failing test Drupal\Tests\file\Functional\DownloadTest is passing for me locally with this MR, and I don't see how it can be related anyway. Must be some glitch in the testing system.
- 🇧🇷Brazil charlliequadros
Hi @joachim,
I made the change you requested, assigning null to the second parameter to make the code clearer and easier to understand when read. It seems like there's an issue, but I'm not sure how to fix it.
I'm just starting to contribute, and I would really appreciate your advice on how to resolve this. - First commit to issue fork.
- 🇮🇳India ankitv18
ankitv18 → changed the visibility of the branch 3422332-fix-gitlab-pipeline to hidden.
- First commit to issue fork.
- First commit to issue fork.
-
batigolix →
committed bfef85db on 1.0.x authored by
nexusnovaz →
Issue #3458115 by nexusnovaz, arantxio, batigolix, pilot3, ankitv18:...
-
batigolix →
committed bfef85db on 1.0.x authored by
nexusnovaz →
- 🇧🇷Brazil brandonlira
I’ve adjusted the docblock formatting to ensure compliance with Drupal coding standards.
Thank you for your help!
- 🇬🇧United Kingdom joachim
> // If $form_state->isRebuilding() returns TRUE and input has been processed
This is correct and accurate, but from the POV of DX, it doesn't fix the problem.
The original docs approach this from answering the question, 'what do you need to do to the form to get this behaviour?'
> If $form_state->isRebuilding() has been set
It's just that the technical detail is wrong.
We need to change the detail, not the meaning being conveyed.
- 🇬🇧United Kingdom joachim
Thanks!
But all the @return docs must be a single paragraph -- see https://www.drupal.org/docs/develop/standards/php/api-documentation-and-... → .
-
batigolix →
committed bc0e50a1 on 2.0.x authored by
ankitv18 →
Issue #3471251 by solideogloria, batigolix, ankitv18: Make code pass...
-
batigolix →
committed bc0e50a1 on 2.0.x authored by
ankitv18 →
- First commit to issue fork.
- 🇧🇷Brazil brandonlira
Thanks for the feedback! I’ve removed the unsupported @note tag, kept the explanation in the standard comment format and fixed the coding standards.
- 🇬🇧United Kingdom joachim
The problem was that it needed a rebase -- 11.x had a new feature for week granularity, and the test for must have got pulled in by merging 11.x into the branch and not properly resolving the merge conflict.
I've rebased and resolved the merge conflict and the test passes now.
- 🇬🇧United Kingdom joachim
Please post text rather than screenshots! I can't copy a class name from a screenshot!
- 🇬🇧United Kingdom joachim
The wording is good, but @note is not a docs tag supported in the list at https://www.drupal.org/docs/develop/standards/php/api-documentation-and-... →
- 🇧🇷Brazil brandonlira
Hey everyone,
I've already made the initial changes and tested locally.Now I'm preparing the fork and will push the changes shortly.