Projekt

Allgemein

Profil

Fehler #4

Fehler #1: zufällige OOPSses / Error 500 / beim speichern von Modulen

relation queries issued when only in-table changes are made

Von Daniel Reiche vor mehr als 13 Jahren hinzugefügt. Vor mehr als 12 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Zielversion:
-
Beginn:
19.01.2011
Abgabedatum:
06.06.2011
% erledigt:

100%

Geschätzter Aufwand:
40.00 h

Beschreibung

When updating a Modul object and only modifing table fields, some queries like

UPDATE modules_required SET required_id = ? WHERE module_id = ? AND required_id = ? - (19, 19, 5) 

are issued.
The parameter set is totally unrelated to the current Modul object and 2 or more queries of this are issued. This leads to a foreign key constraint violation, because Doctrine tries to create 2 identical entries.


Zugehörige Tickets

Dupliziert durch ModulDB - Fehler #5: find cause for strange relation queries when updating a Modul text fields Abgewiesen

Historie

#1 Von Daniel Reiche vor mehr als 13 Jahren aktualisiert

  • Abgabedatum wurde von 28.01.2011 zu 24.02.2012 geändert

Problem is caused by a bug in Doctrine.
see [http://www.doctrine-project.org/jira/browse/DC-329] for more info.

#2 Von Daniel Reiche vor mehr als 13 Jahren aktualisiert

  • Abgabedatum wurde von 24.02.2012 zu 24.02.2011 geändert

#3 Von Daniel Reiche vor mehr als 13 Jahren aktualisiert

  • Abgabedatum wurde von 24.02.2011 zu 06.06.2011 geändert
  • Status wurde von Neu zu Gelöst geändert
  • Zielversion 1.0 wurde gelöscht
  • % erledigt wurde von 0 zu 100 geändert
  • Geschätzter Aufwand wurde auf 40.00 gesetzt

as proposed here by Pavel Campr: http://www.doctrine-project.org/jira/browse/DC-329
adding Schema option refClassRelationAlias to the self-referencing relation fixes problems without the need of the proposed doctrine extension.

#4 Von Daniel Reiche vor mehr als 12 Jahren aktualisiert

  • Status wurde von Gelöst zu Erledigt geändert

Auch abrufbar als: Atom PDF