I think line 313 in context_addassets.module as been correctly modified in the last commit :
$mask = "/.+\." . $filetype."/";

but line 300 has been forgotten and should be changed also from :
$mask = ".+\." . $filetype;

to
$mask = "/.+\." . $filetype."/";

Comments

schildi’s picture

Title: Mask for the modules file search » Mask for the modules file search - and patch offered
StatusFileSize
new437 bytes

got the same.
Please apply the attached patch.

BrockBoland’s picture

Status: Active » Reviewed & tested by the community

Simple fix.

deciphered’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Reviewed & tested by the community » Needs review
StatusFileSize
new1.36 KB

Updated patch for dev, and added a fix for the filepath returned.

lazysoundsystem’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, this works for me and also solves the issue highlighted in #1232330: "JS from filepath" & "CSS from filepath" reaction adds incorrect src attribute.

chrisjlee’s picture

Status: Reviewed & tested by the community » Fixed
chrisjlee’s picture

Similar issue offered: #1867626: CSS file not loaded

Status: Fixed » Closed (fixed)

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