Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
link.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Apr 2014 at 12:23 UTC
Updated:
29 Jul 2014 at 23:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
blueminds commentedComment #2
tim.plunkettSeems the widget isn't injecting anything yet, so sticking with a service call for now.
Comment #4
blueminds commentedTested, works for me. Tests are fine.
We just miss the message (as in D7) saying that the provided path was stored as a system path. Not sure if we need it here as well, moreover the only place for it seems to be massageFormValues() that is probably not the right place for it.
For me RTBC.
Comment #5
sun"If internal links are supported, look up whether the given value is a path alias and store the system path instead."
I'm confused - how can the parsed 'path' be external?
Shouldn't this check whether the given
$value['url']is external?Just in case it is committed first:
Note that #2208631: Rename \Drupal\Core\Path\Path to \Drupal\Core\Path\AliasStorage renames this service to path.alias_storage
Comment #6
jibranNW as per #5
Comment #7
blueminds commentedImplemented comments from #5.
Comment #8
amateescu commentedOops, quite an oversight from original issue that added internal url support :/ The review from #5 is correct and the last patch looks good to go.
Comment #10
penyaskitoPatch at #7 still applies, and testbot its green. Looks like random failure in HEAD?
Comment #11
yesct commentedthis is blocking #2235457: Use link field for shortcut entity
Comment #12
sun#2235457: Use link field for shortcut entity is blocked on this and is major, so this should be major, too.
Also, this is more of a bug than a task.
Comment #13
webchickCommitted and pushed to 8.x. Thanks!