On a multilingual site with path prefix set, the images that indicate the status of the job are broken. For example, you get
<img src="/en/sites/all/modules/elysia_cron/images/icon_idle.png" width="16" height="16" align="top" alt="Idle" title="Idle">

I have rolled a patch that fixes this by using file_create_url() to create the path instead of url(). Patch is attached below.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Peacog’s picture

Status: Active » Needs review
FileSize
522 bytes

Here's the patch.

cdeces’s picture

The patch works for me :)
Thank you.

antongp’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Patch looks good for me.

Thanks.

joelpittet’s picture

This has been around for a while and I marked mine as a duplicate of this.
#2394383: ipath is incorrect for multilingual sites

RTBC++ thanks @Peacog

Rob C’s picture

Priority: Normal » Major

Updating prio, this fills up logs.

kala4ek’s picture

Status: Reviewed & tested by the community » Fixed

Committed to latest dev.

  • kala4ek committed 5b668bf on 7.x-2.x authored by Peacog
    Issue #2096571 by Peacog, joelpittet: Status image paths broken on...

Status: Fixed » Closed (fixed)

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