View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0027362||mantisbt||installation||public||2020-09-27 17:55||2020-10-08 19:50|
|Fixed in Version||2.25.0|
|Summary||0027362: Sourceforge [admin/test_langs.php] File missing from installation packages ( mantisbt-2.24.3.zip & mantisbt-2.24.3.tar.gz)|
The release files on Github contain [admin/test_langs.php] .
|Steps To Reproduce|
Un-archive the release files and look in the admin directory for test_langs.php
Question: Attemping to install from the Github release files gives the following error (but works with the sourceforge release files!)
[27-Sep-2020 20:56:33 UTC] PHP Fatal error: require_once(): Failed opening required '/home/hostname/public_html/mantisbt/vendor/autoload.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/hostname/public_html/mantis/core.php on line 91
|Tags||No tags attached.|
|related to||0027057||closed||dregad||PHP Fatal error: Uncaught Error: Call to undefined method ComposerAutoloaderInitfa60a1d30e82198ab309dba1a3049801|
|related to||0026903||resolved||vboctor||Move release scripts to main repository|
|related to||0027384||resolved||dregad||Upgrade release build scripts to Python3|
|related to||0027383||assigned||dregad||Move 'test_langs.php' script to admin checks|
Worked out my question 0027057:0064124 <i>If you use the "official" install package from SourceForge, then you don't need to run Composer, the libraries are bundled in the tarball. Running Composer yourself is only needed if you get the MantisBT source from GitHub.</i>
Suggestion maybe add a message about to the release on Github ( you can edit each release we do it for the Gramps project).
Our problems is that we can't tag without creating a release on GitHub, see this discussion.
@atrol ? You answered my secondary question. What about the primary issue I raise that you just resolved how are the files for sourceforge generated because files are missing?
@sam888 you are right.
Assigning to @dregad who prepared the 2.24.2 and 2.24.3 releases.
Regarding the releases page on GitHub I created a dummy release to inform user not to use these zip/tarballs.
I need to look into what happened with the release build script, that caused some files to be missing.
So the absence of test_langs.php in the tarballs is due to the release build script specifically excluding it.
This was introduced as part of moving the release scripts into the main repo (see 0026903):
I have no idea why @vboctor decided to exclude that file and maybe he'll care to comment, but considering that it is still referenced in the Admin pages' GUI, I guess that the change may have been unintentional. Or if it was done on purpose, then it should have been properly and fully removed from the code base.
So this is how it looks now:
@dregad I probably removed it since it is a dev script like the test cases, composer files, etc. However, I missed that it had a link from the admin page. I would suggest removing the link to it from admin experience.
The script can be useful for admins to check language files of 3rd party plugins.
I agree. I propose to revert the exclusion from the build script, bundle 2.24.2 + 2.24.3 again, and republish the tarballs to SourceForge.
The test_langs.php script is very dated. Its output is crap, and it contains obsolete code for PHP 4 compatibility (!). Maybe we can refactor it into a new section of our admin checks process, what do you think ?
OK, so without further feedback I'll proceed with reverting and rebuild the tarballs.
I have opened 0027383 to track refactoring of test_langs.php.
Updated tarballs for 2.24.2 and 2.24.3 have been uploaded to Sourceforge.
|2020-09-27 17:55||sam888||New Issue|
|2020-09-27 18:01||sam888||Note Added: 0064502|
|2020-09-28 16:13||atrol||Relationship added||related to 0027057|
|2020-09-28 16:23||atrol||Note Added: 0064505|
|2020-09-28 16:23||atrol||Note Edited: 0064505||View Revisions|
|2020-09-28 16:23||atrol||Relationship replaced||duplicate of 0027057|
|2020-09-28 16:24||atrol||Assigned To||=> atrol|
|2020-09-28 16:24||atrol||Status||new => resolved|
|2020-09-28 16:24||atrol||Resolution||open => duplicate|
|2020-09-28 16:50||sam888||Note Added: 0064507|
|2020-09-28 16:51||sam888||Status||resolved => feedback|
|2020-09-28 16:51||sam888||Resolution||duplicate => reopened|
|2020-09-28 17:02||atrol||Status||feedback => confirmed|
|2020-09-28 17:02||atrol||Product Version||2.24.3 => 2.24.2|
|2020-09-28 17:02||atrol||Note Added: 0064508|
|2020-09-28 17:02||atrol||Relationship replaced||related to 0027057|
|2020-09-28 17:05||atrol||Note Added: 0064509|
|2020-09-28 17:05||atrol||Assigned To||atrol => dregad|
|2020-09-29 10:07||dregad||Note Added: 0064512|
|2020-09-29 12:17||dregad||Note Added: 0064513|
|2020-09-29 12:17||dregad||Note Edited: 0064513||View Revisions|
|2020-09-29 12:17||dregad||Relationship added||related to 0026903|
|2020-09-29 12:23||dregad||Note Added: 0064514|
|2020-09-29 12:23||dregad||File Added: image.png|
|2020-09-29 12:23||dregad||File Added: image-2.png|
|2020-09-29 12:29||dregad||Note Edited: 0064512||View Revisions|
|2020-10-04 21:36||vboctor||Note Added: 0064520|
|2020-10-05 15:21||atrol||Note Added: 0064524|
|2020-10-06 03:46||dregad||Note Added: 0064526|
|2020-10-08 12:07||dregad||Issue cloned: 0027383|
|2020-10-08 12:07||dregad||Relationship added||related to 0027383|
|2020-10-08 12:08||dregad||Status||confirmed => assigned|
|2020-10-08 12:08||dregad||Note Added: 0064533|
|2020-10-08 19:46||dregad||Changeset attached||=> MantisBT master dd12aae7|
|2020-10-08 19:46||dregad||Status||assigned => resolved|
|2020-10-08 19:46||dregad||Resolution||reopened => fixed|
|2020-10-08 19:46||dregad||Fixed in Version||=> 2.25.0|
|2020-10-08 19:49||dregad||Relationship added||related to 0027384|
|2020-10-08 19:50||dregad||Note Added: 0064535|