Bug #65776
closedcheck in Upgrade Wizard fails due to truncated file path
0%
Description
Reproduce¶
- Update from the latest 4.5 to 6.2.10 and run the Upgrade Wizard.
Result¶
Upgrade Wizard shows a number of links to missing files. Some of these are not actually missing. The problem seems to be that the Upgrade Wizard truncates the path of long filenames (length > 200), the File Abstraction Layer however has no problem with path / filename of this size, so the link actually works. The error message of the Upgrade Wizard is wrong.
More information:¶
Error message
File not found (page / uid / path / table / field):,3249,30782,fileadmin/sonderpaedagogik/DownloadsDozeten/Luedtke/Luedtke_Kallmeyer_2007_._Sprachenvielfalt_in_deutschen_Kindergaerten_-_Chance_oder_Hindernis._hoergeschaedigte_kinder_-_erwachsene_hoergeschaedigte.,tt_content,bodytext
Name of path:
fileadmin/sonderpaedagogik/DownloadsDozeten/Luedtke/Luedtke_Kallmeyer_2007_._Sprachenvielfalt_in_deutschen_Kindergaerten_-_Chance_oder_Hindernis._hoergeschaedigte_kinder_-_erwachsene_hoergeschaedigte.pdf
Entry in sys_file is correct:
uid=8814, identifier="/sonderpaedagogik/DownloadsDozeten/Luedtke/Luedtke_Kallmeyer_2007_._Sprachenvielfalt_in_deutschen_Kindergaerten_-_Chance_oder_Hindernis._hoergeschaedigte_kinder_-_erwachsene_hoergeschaedigte.pdf"
Updated by Markus Klein over 9 years ago
- Status changed from New to Needs Feedback
The problem is not the wizard but the refindex.
sys_refindex: ref_string varchar(200) DEFAULT '' NOT NULL,
the string is only saved with up to 200 chars.
You can work around the problem by simply extending this field or changing it to text-datatype in DB of the 4.5 installation.
After that re-run the refindex-update and do the upgrade again.
Updated by Sybille Peters over 9 years ago
Thanks for the workaround. That is very helpful.
I reported it, because I thought it migtht cause problems for othes as well.
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to Closed
Thanks for feedback. Closing as Workaround is possible.