Skip to content

[Bug]: Delete record failed: document.getElementById('delete-records-form') is null #842

@violarulan

Description

@violarulan

Describe the problem

verison: 4.1.0 (docker poweradmin/poweradmin:latest)
browser: firefox/chrome

Thanks for the great work.

I noticed the Delete button won't work. If I clicked it, the page refreshes and nothing happened.

I opened the Developer Tools and saw there was an error popped out.

Image

Uncaught TypeError: can't access property "addEventListener", document.getElementById(...) is null, which originated at /templates/modern/edit.html

Then I looked into the HTML and there's no <form id="delete-records-form"> there. Downgrading to poweradmin:4.0.4 seems to be working.

Steps to reproduce

  1. docker pull poweradmin/poweradmin:latest
  2. run the container
  3. add a zone and some records
  4. try to delete records

Poweradmin version

4.1.0 (docker)

Database

MySQL

Additional information (optional)

No response

Metadata

Metadata

Assignees

Labels

dnsDNS ManagementuiUser Interfaceui-templatesTwig templates and UI themes

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions