-
-
Notifications
You must be signed in to change notification settings - Fork 289
[Bug]: Zone has not been updated successfully. #764
Copy link
Copy link
Closed
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
coreCore FeaturesCore Features