Closed geofranzi closed 4 years ago
the problem did not appear again.
DETAIL: Auf Schlüssel (id)=(45) wird noch aus Tabelle »rbm_schedules« verwiesen. 2020-02-05 16:18:05.007 CET [9164] ANWEISUNG: DELETE FROM Person WHERE Id = $1 AND VersionNo = $2
Immer, wenn zwei oder mehr schedules drin waren
Initializing[BExIS.Rbm.Entities.BookingManagementTime.TimeDuration#88]-Could not initialize proxy - no Session.
[LazyInitializationException: Initializing[BExIS.Rbm.Entities.BookingManagementTime.TimeDuration#88]-Could not initialize proxy - no Session.] NHibernate.Proxy.AbstractLazyInitializer.Initialize() +165 NHibernate.Proxy.DefaultLazyInitializer.Intercept(InvocationInfo info) +85 TimeDurationProxy.get_Value() +258 BExIS.Web.Shell.Areas.RBM.Models.Booking.ScheduleEventModel..ctor(Schedule schedule) in C:\Daten\Documents\BEXIS_Project\Core_bexis\Console\BExIS.Web.Shell\Areas\RBM\Models\Booking\ScheduleModel.cs:404 BExIS.Web.Shell.Areas.RBM.Models.Booking.BookingEventModel..ctor(BookingEvent e) in C:\Daten\Documents\BEXIS_Project\Core_bexis\Console\BExIS.Web.Shell\Areas\RBM\Models\Booking\BookingEventModel.cs:116 BExIS.Modules.RBM.UI.Controllers.ScheduleController.Delete(Int64 id) in C:\Daten\Documents\BEXIS_Project\Core_bexis\Console\BExIS.Web.Shell\Areas\RBM\Controllers\ScheduleController.cs:2079 lambda_method(Closure , ControllerBase , Object[] ) +100
public bool DeletePerson(Person person) -> Personmanager.cs
23503: Aktualisieren oder Löschen in Tabelle »person« verletzt Fremdschlüssel-Constraint »fk240860b1ae56feb4« von Tabelle »rbm_schedules«