Currently, all of the URLs generated by devel_generate just point to <front>. This makes development tough because it's hard to see that links are even being generated when they are all identical and point to the site root.

This patch instead makes random external links like http://example.com/asdfjkl

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcfiala’s picture

Status: Active » Needs review

When you've created a patch, you should set the Status to 'Needs Review' so that the module maintainer (me) and other interested parties can review it!

Thanks for the patch - it looks good at a first look, so I'll probably include it soon.

xaqrox’s picture

Works for me. Another benefit of this patch (the one I was seeking, in fact) is that if you use the front page URL in a development environment that does not have a valid TLD (.dev doesn't validate, for example, although apparently it sort of exists now) you can't submit edits to nodes with generated Link URLs without also editing that URL... annoying! This helps! Let's get it committed?

pifagor’s picture

Status: Needs review » Reviewed & tested by the community

look good for me

  • pifagor committed 2a31ed6 on 7.x-1.x
    Issue #2295071 by interX, pifagor: Recursion in field formatter with...
pifagor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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