fix page creation validation and persistence
Validate required page fields and localized translations, detect route collisions, and save pages and translations atomically with rollback on failure. Report creation errors while preserving submitted form values, safely encode Alpine.js values, and add English and German error messages. Return null for failed inserts and add page persistence tests.
This commit is contained in:
@@ -30,6 +30,7 @@ return [
|
||||
'theme' => 'Design',
|
||||
'visible-in-page-overview' => 'In Seitenübersicht anzeigen',
|
||||
'page-created' => 'Seite erstellt',
|
||||
'page-create-failed' => 'Die Seite konnte nicht erstellt werden. Prüfen Sie Pflichtfelder, übersetzte Werte, Routen und die Datenbankverbindung und versuchen Sie es erneut.',
|
||||
'page-updated' => 'Seite aktualisiert',
|
||||
'page-deleted' => 'Seite gelöscht',
|
||||
'page-type' => 'Seitentyp',
|
||||
|
||||
Reference in New Issue
Block a user