Replace this -

// If the path is empty, generate the path from the <front> route.  If
        // the path does not start with a leading, then run it through
        // Url::fromUri('base:')->toString() to get correct the base
        // prepended.

with

// If the path is empty, generate the path from the <front> route.  If
        // the path does not start with a leading slash, then run it through
        // Url::fromUri('base:')->toString() to get the correct base
        // prepended.
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kgoel’s picture

Issue summary: View changes
kgoel’s picture

Issue summary: View changes
jhodgdon’s picture

Issue tags: +Novice

Looks like a good novice issue to add that one word "slash" to the comment, if kgoel is not planning to do a patch!

joshi.rohit100’s picture

Status: Active » Needs review
FileSize
806 bytes
mark.labrecque’s picture

Status: Needs review » Reviewed & tested by the community

This looks pretty straight forward, so I'm going to mark this as RTBtC

jhodgdon’s picture

Status: Reviewed & tested by the community » Needs work

Actually... the rest of that comment doesn't make grammatical sense. Can we fix it so it does? I didn't notice but the issue summary actually has a correction for that part too. Thanks!

mark.labrecque’s picture

Assigned: Unassigned » mark.labrecque
mark.labrecque’s picture

I just created a new patch, since the previous was just a one-word change. @jhodgdon: let me know if this is all that was required.

Thanks!

mark.labrecque’s picture

Status: Needs work » Needs review
jhodgdon’s picture

Status: Needs review » Needs work

Wrong patch there. :) I think you uploaded the patch I just committed on a different issue.

mark.labrecque’s picture

Well, that's embarressing! Here's the correct file :)

mark.labrecque’s picture

Wait, no that is still incorrect. Please stand by ;)

mark.labrecque’s picture

*hangs head in shame*

Here it is

mark.labrecque’s picture

mark.labrecque’s picture

mark.labrecque’s picture

Status: Needs work » Needs review
kgoel’s picture

Status: Needs review » Needs work
+++ b/core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php
@@ -70,8 +70,8 @@ protected function assertBreadcrumbParts($trail) {
         // prepended.

This is close. It's missing "the". It would be - to get the correct base prepended.

mark.labrecque’s picture

Good catch!

Normally, I would add a interdiff, but my terminal was griping at me, and it's a pretty simple change.

Thanks!

mark.labrecque’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 18: drupal-doc-fix-assert-breadcrumbs-2486911-18.patch, failed testing.

mark.labrecque’s picture

I think there were some upstream changes that needed merging. Maybe this one?

mark.labrecque’s picture

Status: Needs work » Needs review
jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

No worries! Everyone uploads the wrong patch from time to time. ;)

Anyway, the latest patch looks good to me. Thanks!

jhodgdon’s picture

Title: Fix documentation in AssertBreadcrumbTrait.php » Garbled documentation in AssertBreadcrumbTrait.php
Category: Task » Bug report

Recharacterizing as a bug. Garbled comment is a (minor) bug. Allowed during beta as it is a docs-only bug fix, no disruption, etc.

benjifisher’s picture

Issue tags: -Novice

I am removing the Novice Tag from this Issue because all tasks have been completed.

mark.labrecque’s picture

Has this been committed yet, or is there something special that needs to happen to bugs in beta phase pre-commit?

jhodgdon’s picture

Patience! It just hasn't been committed yet. People are at DrupalCon this week; this usually slows progress on getting things committed.

mark.labrecque’s picture

oh no worries at all :) I just wanted to make sure nothing more was needed in terms of clean-up or follow through. I am a new contributor, so still learning the ropes a bit

Thanks for all your help jhodgdon!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c7f34bd and pushed to 8.0.x. Thanks!

  • alexpott committed c7f34bd on 8.0.x
    Issue #2486911 by mark.labrecque, joshi.rohit100: Garbled documentation...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.