Something funny is going on in front_page_url_outbound_alter()

I see that you are attempting to replace any references to in a link with the module's override. However, with the code as it is, I think it's messing with too many links here. When adding in a front page override, any url() request for a NULL value will inject this front page override path in for no reason.

To reproduce:
- Add a node path to the front page override path here: admin/config/front/home-links
- Once the page reloads, the field prefix before the field that was just entered will now contain the path you just specified in the prefix string itself, as well as the textfield you just enetered

I don't completely understand the usage of the outbound alter at the moment (fairly busy, or I'd look further into it), but the attached patch fixed the issue for me.

CommentFileSizeAuthor
#1 wrongpath_1427350.patch1.41 KBbkosborne

Comments

bkosborne’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
StatusFileSize
new1.41 KB

Patch attached.

timhilliard’s picture

Status: Active » Postponed (maintainer needs more info)

This patch is against the opengraph_meta module, are you sure the issue is with front_page?

simon georges’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

With 6 months without an answer, closing the issue. Please re-open if you still have the problem.