Univention Bugzilla – Bug 39654
Replace the property "screenshot" with "thumbnails"
Last modified: 2015-11-17 12:12:01 CET
The ini-file property "Thumbnails" expects a comma separated list if either screenshot URIs or youtube URIs. This property needs to be implemented in the App Center backend and its value needs to be handed over to the detail page carousel.
I fixed this, adjusted the ini-files in the meta-inf/4.1 directory, and added some videos from our youtube channel. However, I am not sure what to do with the parts in the local_appcenter.py: > ... > parser.add_argument('-s', '--screenshot', help='Path to a screenshot...') > ... @Dirk: Any suggestion? Changelog: r65044 | Bug #39654: added changelog entry univention-appcenter (5.0.14-5): r65043 | Bug #39654: check JS thumbnails array for length r65042 | Bug #39654: allow to localize thumbnails r65041 | Bug #39654: replace screenshot with thumbnails property
Not sure if this is the bug that introduced it but (deprecated) screenshots are no longer included in the index.json it seems: http://appcenter-test.software-univention.de/meta-inf/4.1/filewave/ > However, I am not sure what to do with the parts in the local_appcenter.py: > > ... > > parser.add_argument('-s', '--screenshot', help='Path to a screenshot...') > > ... > > @Dirk: Any suggestion? > Yes. -t, --thumbnails, nargs=+. Copy the args to the filenames specified in the ini file (filter those that begin with http)
(In reply to Dirk Wiesenthal from comment #2) > Not sure if this is the bug that introduced it but (deprecated) screenshots > are no longer included in the index.json it seems: > http://appcenter-test.software-univention.de/meta-inf/4.1/filewave/ As discussed, this does not seem to be relevant anymore. > > However, I am not sure what to do with the parts in the local_appcenter.py: > > > ... > > > parser.add_argument('-s', '--screenshot', help='Path to a screenshot...') > > > ... > > > > @Dirk: Any suggestion? > > > > Yes. -t, --thumbnails, nargs=+. Copy the args to the filenames specified in > the ini file (filter those that begin with http) I put this in Bug 39726 as there are other changes that have not been adapted, as well.
OK
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".