Panels get broken with COMPRESS_OFFLINE = True
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate Dashboard |
Triaged
|
Critical
|
Unassigned | ||
Newton |
Triaged
|
High
|
Unassigned | ||
designate-dashboard (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
openstack-dashboard (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Horizon version: newton from ubuntu packages
Tested designate-
- newton (since mitaka doesnt support v2)
- master
Behaviour
After installing the panel, the JS of the forms is broken, for example the "create zone" button shows nothing on the form. With COMPRESS ENABLE = False, the designate panel works fine, but we need this to speed up usage of the interface
Steps to reproduce the bug
- Install openstack-dashboard package newton version on Ubuntu 16.04
- Configure the flag COMPRESS_OFFLINE = True on the local_settings.py file
- Install the designate dashboard - pip install "git+https:/
- Copy panel files to horizon path: cp _1710_project_
- Collect the designate panel static files - python manage.py collectstatic
- Compress blocks - python manage.py compress
- Restart webserver service apache2 reload
- Access the dasboard -> DNS -> Zones -> Create zone (its empty, following error on the browser console )
TypeError: args.fieldFrag.
at sfField (http://
at http://
at Array.forEach (native)
at http://
at Array.reduce (native)
at build (http://
at Object.build (http://
at internalRender (http://
at render (http://
at http://
Changed in designate-dashboard: | |
importance: | Undecided → Critical |
status: | New → Triaged |
milestone: | none → ocata-rc1 |
Changed in designate-dashboard (Ubuntu): | |
status: | New → Confirmed |
status: | Confirmed → New |
Status changed to 'Confirmed' because the bug affects multiple users.