Download & Extend

Load integration files after library files have been loaded

Project:Libraries API
Version:7.x-2.x-dev
Component:Code
Category:bug report
Priority:major
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

Using library_load, integration files are currently loaded before the library itself is loaded. In all cases (CSS, JS and certainly PHP), I think you'd want your integration files to come later, since they will patch, extend, or otherwise leverage the library files themselves. This patch moves the integration file loading to after loading the actual library files.

AttachmentSizeStatusTest resultOperations
libaries_integration_files.patch1.09 KBIdlePASSED: [[SimpleTest]]: [MySQL] 135 pass(es).View details | Re-test

Comments

#1

Status:active» needs review

#2

Status:needs review» reviewed & tested by the community

Patch working, thanks !

#3

Category:task» bug report
Priority:normal» major

For PHP files, this is a pretty big bug report actually, as you can't use PHP functions or classes from the library you depend on... #fail

Will commit this soon. This is technically a BC-break, but, again, I totally see this as a bug-fix.