Skip to content

[Bug]: Zone has not been updated successfully. #764

@dam2k

Description

@dam2k

Describe the problem

When I modify a TXT record and the record validation failed the only error I get is: Zone has not been updated successfully.

After debug I found that in lib/Domain/Service/Dns/RecordManager.php the failure is not handled:
251 if ($validationResult !== null && $validationResult->isValid()) {
...
275 }

There is not the else where we could add the message:
275 } else {
276 $this->messageService->addSystemError($validationResult->getFirstError());
277 }

After I added this else block I would get the real first error that is in my case:
TXT record content must be enclosed in quotes.

Steps to reproduce

Modify a TXT record without quotes

Poweradmin version

4.0.1

Database

MySQL

Additional information (optional)

No response

Metadata

Metadata

Assignees

Labels

coreCore Features

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions