if I upload gzip files to plone , it will break the list of the content.
if I upload zip , it is ok.
logs like this.
2018-10-31T07:18:30 ERROR Zope.SiteErrorLog 1540970310.150.711799500944 http://192.168.13.181:8080/km-automotive/bsp/qnx/resources/listing_view
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.Five.browser.metaconfigure, line 485, in call
Module Products.Five.browser.pagetemplatefile, line 125, in call
Module Products.Five.browser.pagetemplatefile, line 59, in call
Module zope.pagetemplate.pagetemplate, line 137, in pt_render
Module five.pt.engine, line 98, in call
Module z3c.pt.pagetemplate, line 163, in render
Module chameleon.zpt.template, line 261, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1854, in render
Module a1e74227a4b9c6058f9a3d830ea6de85.py, line 1223, in render_master
Module a1e74227a4b9c6058f9a3d830ea6de85.py, line 420, in render_content
Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1842, in __fill_content_core
Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 538, in render_content_core
Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 363, in render_listing
Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1647, in render_entries
Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1229, in render_listitem
Module five.pt.expressions, line 161, in call
Module plone.app.contentlisting.contentlisting, line 168, in MimeTypeIcon
IndexError: tuple index out of range
Products.MimetypesRegistry/Products/MimetypesRegistry/mime_types/mime.types
dont support gzip type.
application/x-compressed-tar
if I upload gzip files to plone , it will break the list of the content. if I upload zip , it is ok.
logs like this.
2018-10-31T07:18:30 ERROR Zope.SiteErrorLog 1540970310.150.711799500944 http://192.168.13.181:8080/km-automotive/bsp/qnx/resources/listing_view Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module Products.Five.browser.metaconfigure, line 485, in call Module Products.Five.browser.pagetemplatefile, line 125, in call Module Products.Five.browser.pagetemplatefile, line 59, in call Module zope.pagetemplate.pagetemplate, line 137, in pt_render Module five.pt.engine, line 98, in call Module z3c.pt.pagetemplate, line 163, in render Module chameleon.zpt.template, line 261, in render Module chameleon.template, line 191, in render Module chameleon.template, line 171, in render Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1854, in render Module a1e74227a4b9c6058f9a3d830ea6de85.py, line 1223, in render_master Module a1e74227a4b9c6058f9a3d830ea6de85.py, line 420, in render_content Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1842, in __fill_content_core Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 538, in render_content_core Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 363, in render_listing Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1647, in render_entries Module 52b0be4dfffc9fcded1a6f44700a23e2.py, line 1229, in render_listitem Module five.pt.expressions, line 161, in call Module plone.app.contentlisting.contentlisting, line 168, in MimeTypeIcon IndexError: tuple index out of range