Public bug reported: Horizon version: newton from ubuntu packages
Tested designate-dashboard: - 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://github.com/openstack/designate-dashboard@stable/newton" or pip install "git+https://github.com/openstack/designate-dashboard" - Copy panel files to horizon path: cp _1710_project_dns_panel_group.py _1721_dns_zones_panel.py _1722_dns_reversedns_panel.py /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/ - 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.firstChild.setAttribute is not a function at sfField (http://192.168.90.200/static/dashboard/js/c2f138901968.js:6557:619) at http://192.168.90.200/static/dashboard/js/c2f138901968.js:6566:311 at Array.forEach (native) at http://192.168.90.200/static/dashboard/js/c2f138901968.js:6566:290 at Array.reduce (native) at build (http://192.168.90.200/static/dashboard/js/c2f138901968.js:6563:222) at Object.build (http://192.168.90.200/static/dashboard/js/c2f138901968.js:6568:103) at internalRender (http://192.168.90.200/static/dashboard/js/c2f138901968.js:6673:153) at render (http://192.168.90.200/static/dashboard/js/c2f138901968.js:6671:906) at http://192.168.90.200/static/dashboard/js/c2f138901968.js:6674:326 ** Affects: designate-dashboard Importance: Undecided Status: New ** Affects: designate-dashboard (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1659620 Title: Panels get broken with COMPRESS_OFFLINE = True To manage notifications about this bug go to: https://bugs.launchpad.net/designate-dashboard/+bug/1659620/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
