Posted by rbayliss on December 1, 2012 at 4:07pm
4 followers
Jump to:
| 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.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| libaries_integration_files.patch | 1.09 KB | Idle | PASSED: [[SimpleTest]]: [MySQL] 135 pass(es). | View details | Re-test |
Comments
#1
#2
Patch working, thanks !
#3
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.