Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I updated to 3.0 and downloaded the fresh version from GitHub of PHPExcel. After that it did not worked anymore. Long story quick: It seems that the changelog.txt of PHPExcel vontains @version ##VERSION## instead of something numeric. Your libraries rules check for a number. So librabries return alwas false on detecting if PHPExcel is there or not.
This is also in the 1.7.8 release of PHPExcel. I manually wrote 1.7.8 in the changelog instead of ##VERSION## and it could be loaded nicely.
Comment | File | Size | Author |
---|---|---|---|
#7 | PHPExcel-changelog-version-number-1908282-7.patch | 820 bytes | eft |
#5 | PHPExcel-changelog-version-number-1908282-5.patch | 456 bytes | eft |
#3 | changelog_version_number-1908282-3.patch | 820 bytes | mikran |
Comments
Comment #1
wadmiraal CreditAttribution: wadmiraal commentedDamn... I guess the author hasn't put up any commit hooks on Github.
If you download the code from Codeplex (where the project used to be hosted), the changelog.txt file is fine.
I'm going to put a note on the module page, so that developers either download the code from Codeplex, or put the version number in themselves. I could hard-code the version number in the Libraries info hook, but that would defeat the purpose of using the Libraries module in the first place, as I would lock developers in using the 1.7.8 version.
I'm opening an issue on Github as well, so the author updates the file :-).
Comment #2
wadmiraal CreditAttribution: wadmiraal commentedMarking as postponed.
Will mark as fixed when the version is added on Github.
Comment #3
mikran CreditAttribution: mikran commentedAs a temporary fix to .make file I did this:
I couldn't find codeplex url that can be used with .make files but the lines above work well.
Comment #4
wadmiraal CreditAttribution: wadmiraal commentedThanks for this. Mentionning it in the documentation.
Comment #5
eft CreditAttribution: eft commentedAttached is another patch for the current branch of PHPExcel library.
Comment #6
wadmiraal CreditAttribution: wadmiraal commentedThanks eft ;-)
Comment #7
eft CreditAttribution: eft commentedAnd yet another patch for latest commits to develop branch.
Comment #8
wadmiraal CreditAttribution: wadmiraal commentedGood news everyone.
I noticed the PHPExcel maintainers started putting the version information in the changelog.txt file, just not where you would expect it. I updated the way the version number is retrieved for Libraries API, and it works. No more need to manually hack the changelog.txt file !
Fix is on dev, and will be published with release 7.x-3.8.