Actions
Unterstützung #100
closedVerschiedene Admin aktionen
Start date:
17.03.2013
Due date:
% Done:
100%
Estimated time:
Description
Appointment create -> Lehrer-ID und ParentChildID ist zu kompliziert meinen Empfinden nach.
ParentChild create -> BenutzerID ist ambigious und zu kompliziert, Button Liste der Schüler muss noch raus.
ParentChild view -> überall nur Nummern drin.
ParentChild update -> selber Spaß.
user view -> überall roter Knopf irgendwie nur auf View Seite vom Admin ?
Updated by David Mock over 9 years ago
Appointment create -> Label von Datum stimmt nicht :(
Error Summary noch raus.
Datum wurde die ganze Zeit nicht angenommen bis dann schließlich eine Exception geflogen ist.
CDbCommand konnte das SQL-Statement nicht ausführen: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`estdb`.`appointment`, CONSTRAINT `fk_appointment_date1` FOREIGN KEY (`date_id`) REFERENCES `date` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION). The SQL statement executed was: INSERT INTO `appointment` (`time`, `date_id`, `parent_child_id`, `user_id`) VALUES (:yp0, :yp1, :yp2, :yp3)
– /home/est/public_html/est_trunk/protected/controllers/AppointmentController.php(83): CActiveRecord->save() 78 // Uncomment the following line if AJAX validation is needed 79 // $this->performAjaxValidation($model); 80 81 if (isset($_POST['Appointment'])) { 82 $model->attributes = $_POST['Appointment']; 83 if ($model->save()) 84 $this->redirect(array('view', 'id' => $model->id)); 85 } 86 87 $this->render('create', array( 88 'model' => $model,
Updated by David Mock over 9 years ago
- Status changed from Neu to Erledigt
- % Done changed from 0 to 100
Button ist eingebaut.
Für alles andere siehe #113
Actions