8000 Use of removed static file "admin/img/icon_addlink.gif" · Issue #6317 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content
Use of removed static file "admin/img/icon_addlink.gif" #6317
Closed
@stefanw

Description

@stefanw

Summary

The static file "admin/img/icon_addlink.gif" has been removed from Django admin in 2015, but it is still used in the application config widget.

This causes a problem in production setups with this setting:

STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

The file is searched in static manifests and is not found, causing a ValuError (which is suppressed during template rendering). That causes the CMS Page advanced settings not to be rendered.
This might not happen in setups where older Django static files are still around in the static files folders (e.g. not running collectstatic with the --clear option).

A quick fix was to add the file in my own project to be collected during collectstatic.

Expected behaviour

Render the advanced settings CMS page admin.

Actual behaviour

The language independent part is missing.

Environment

  • Python version: 3.5
  • Django version: 1.11.11
  • django CMS version: 3.5.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0