Projekt

Allgemein

Profil

GX-Bug #66708

Von Till Tepelmann vor etwa 4 Jahren aktualisiert

If you have created a new language, you cannot edit the Content Manager elements anymore, because some entries for the new language in the Content Manager were filled with wrong or empty content. 
 For example, the field content_postion, which is always empty for the new language, causes an error message to appear when saving, for example, the elements for the footer, and the entry in the Content Manager then disappears. 

 Kann wie folgt reproduziert weden. 

 1. Im Gambio Admin unter Shop Einstellungen->Land    Steuern->Sprachen" eine neue Sprache anlegen z.B. "espania" 
 2. Im Content-Manager->Elemente" den Eintrag Footer 2. Spalte bearbeiten 
 3. Speichern 
 4. Fehler wird angezeigt. 

 ` ` 
 SQL ERROR: "Query error: Column 'file_flag' cannot be null - Invalid query: REPLACE INTO `content_manager_history` (`languages_id`, `content_group`, `content_position`, `group_ids`, `file_flag`, `content_title`, `content_file`, `content_heading`, `content_text`, `content_status`, `content_type`) VALUES (2, '4321005', 'elements_', '', NULL, 'Footer 2. Spalte', '', '', '', '1', 'content')" in /inc/xtc_db_error.inc.php:23 (Details) 
 #10 	 File: /inc/xtc_db_error.inc.php:23 

 USER ERROR(256): "SQL Error" in /inc/xtc_db_error.inc.php:24 (Details) 
 #10 	 File: /inc/xtc_db_error.inc.php:24 (Details) 
 #9 	 File: /vendor/gambio/codeigniter-db/CIDB.php:147 (Details) 
 #8 	 File: /vendor/gambio/codeigniter-db/DB_driver.php:665 (Details) 
 #7 	 File: /vendor/gambio/codeigniter-db/DB_query_builder.php:1674 (Details) 
 #6 	 File: /GXMainComponents/Controllers/HttpView/Admin/ContentManager/ContentManagerContentNavigationTrait.inc.php:208 (Details) 
 #5 	 File: /GXMainComponents/Controllers/HttpView/Admin/ContentManager/ContentManagerElementsController.inc.php:382 (Details) 
 #4 	 File: /GXEngine/Services/System/Http/HttpViewController.inc.php:148 (Details) 
 #3 	 File: /GXEngine/Services/System/Http/HttpViewController.inc.php:107 (Details) 
 #2 	 File: /GXEngine/Services/System/Http/HttpDispatcher.inc.php:71 (Details) 
 #1 	 File: /GXEngine/Services/System/Http/HttpService.inc.php:66 (Details) 
 #0 	 File: /admin/admin.php:15 (Details) 
 Request: POST /admin/admin.php?do=ContentManagerElements/update&id=4321005&type= (Details) 
 ` `

Zurück