Project

General

Profile

GX-Bug #67007

Wenn man eine neue Sprache angelegt hat, dann kann man die Content-Manager Elemente nicht mehr bearbeiten / If you have created a new language, you can no longer edit the Content Manager elements

Added by Marvin Muxfeld 11 months ago. Updated 10 months ago.

Status:
Erledigt
Priority:
Hoch
Assigned To:
Category:
Adminbereich
Target version:
% Done:

0%

Estimated time:
Steps to reproduce:
Betroffene Versionen:
4.0.1.0 beta1, 4.1.1.0 beta4, 4.1.1.0 rc1
Release Notes Langtext:

Content-Manager Elemente können nun auch bearbeitet werden, wenn man neue Sprachen angelegt hat

Story points-Velocity based estimate-

Description

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)


Files

66708.patch (2.62 KB) 66708.patch Till Tepelmann, 04/29/2020 03:21 PM

Related issues

Copied from GX-Entwicklung - GX-Bug #66708: Wenn man eine neue Sprache angelegt hat, dann kann man die Content-Manager Elemente nicht mehr bearbeiten / If you have created a new language, you can no longer edit the Content Manager elementsErledigt

Actions

History

#1

Updated by Marvin Muxfeld 11 months ago

  • Copied from GX-Bug #66708: Wenn man eine neue Sprache angelegt hat, dann kann man die Content-Manager Elemente nicht mehr bearbeiten / If you have created a new language, you can no longer edit the Content Manager elements added
#2

Updated by Marvin Muxfeld 11 months ago

  • Status changed from In Bearbeitung to Testing
  • Assigned To changed from Marvin Muxfeld to Core-Entwickler
#3

Updated by Julian Heckmann 11 months ago

  • Assigned To changed from Core-Entwickler to Julian Heckmann
#4

Updated by Julian Heckmann 11 months ago

  • Status changed from Testing to Erledigt
#5

Updated by Moritz Bunjes 10 months ago

  • Tags deleted (stable)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)