Closed (fixed)
Project:
dslm
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2013 at 19:43 UTC
Updated:
15 Oct 2015 at 16:14 UTC
Jump to comment: Most recent
Any time DSLM should show a list of available cores, it only shows the latest version.
The issue appears to lie in the preg_match() function when sorting cores. The resulting matches array appears like this:
Array
(
[0] => drupal-7.24
[1] => drupal-7.24
[2] => drupal
[3] => 7.24
)
And the array of versions to sort is using the key `[2]` when it should be using `[3]`
The attached patch should fix the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| dslm-missing_cores.patch | 440 bytes | KeyboardCowboy |
Comments
Comment #1
shaunlaws commentedApplied the patch - worked for me.
Comment #2
KeyboardCowboyTried it on a new site. Fixed the issue.
Comment #6
kreynen commented