Projekt

Allgemein

Profil

Aktionen

Fehler #226

geschlossen

Bug bei TAN

Von Matthias Unterbusch vor mehr als 11 Jahren hinzugefügt. Vor mehr als 11 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Kategorie:
Front-End
Zielversion:
Beginn:
02.05.2013
Abgabedatum:
% erledigt:

100%

Geschätzter Aufwand:

Beschreibung

Rolle: Admin, Aktion: Im Menü auf "Tanverwaltung" geklickt

CException

Eigenschaft "Tan.groups ist nicht definiert.

/home/est/public_html/est_trunk/framework/db/ar/CActiveRecord.php(145)

133 /
134 public function _get($name)
135 {
136 if(isset($this->_attributes[$name]))
137 return $this->_attributes[$name];
138 elseif(isset($this->getMetaData()->columns[$name]))
139 return null;
140 elseif(isset($this->_related[$name]))
141 return $this->_related[$name];
142 elseif(isset($this->getMetaData()->relations[$name]))
143 return $this->getRelated($name);
144 else
145 return parent::
_get($name);
146 }
147
148 /**
149 * PHP setter magic method.
150 * This method is overridden so that AR attributes can be accessed like properties.
151 * @param string $name property name
152 * @param mixed $value property value
153 */
154 public function __set($name,$value)
155 {
156 if($this->setAttribute($name,$value)===false)
157 {

Stack Trace
#0

/home/est/public_html/est_trunk/framework/db/ar/CActiveRecord.php(145): CComponent->_get("groups")
#1

/home/est/public_html/est_trunk/framework/web/helpers/CHtml.php(2457): CActiveRecord->
_get("groups")
#2

/home/est/public_html/est_trunk/framework/web/helpers/CHtml.php(1767): CHtml::resolveValue(Tan, "groups")
#3

/home/est/public_html/est_trunk/framework/web/widgets/CActiveForm.php(819): CHtml::activeDropDownList(Tan, "groups", array("hier fehlt noch was :O"), array())
#4

/home/est/public_html/est_trunk/protected/views/tan/formGenTans.php(54): CActiveForm->dropDownList(Tan, "groups", array("hier fehlt noch was :O"))

49 <div class="three columns">
50 <span class="prefix">label($model, 'groups'); ?></span>
51 </div>
52 <div class="nine columns">
53 54 echo $form->dropDownList($model, 'groups', array('0' => 'hier fehlt noch was :O'));
55 echo $form->error($model, 'groups');
56 ?>
57 </div>
58 </div>
59

#5
+
/home/est/public_html/est_trunk/framework/web/CBaseController.php(126): require("/home/est/public_html/est_trunk/protected/views/tan/formGenTans....")
#6

/home/est/public_html/est_trunk/protected/extensions/yii-debug-toolbar/components/YiiDebugViewRenderer.php(47): CBaseController->renderInternal("/home/est/public_html/est_trunk/protected/views/tan/formGenTans....", array("model" => Tan), true)

42
43 if (false !== $this->getIsProxy())
44 {
45 return $this->instance->renderFile($context,$sourceFile,$data,$return);
46 }
47 return $context->renderInternal($sourceFile,$data,$return);
48 }
49
50 public function generateViewFile($sourceFile, $viewFile)
51 {
52 if (false !== $this->getIsProxy())

#7

/home/est/public_html/est_trunk/framework/web/CBaseController.php(93): YiiDebugViewRenderer->renderFile(TanController, "/home/est/public_html/est_trunk/protected/views/tan/formGenTans....", array("model" => Tan), true)
#8

/home/est/public_html/est_trunk/framework/web/CController.php(869): CBaseController->renderFile("/home/est/public_html/est_trunk/protected/views/tan/formGenTans....", array("model" => Tan), true)
#9
+
/home/est/public_html/est_trunk/framework/web/CController.php(782): CController->renderPartial("formGenTans", array("model" => Tan), true)
#10

/home/est/public_html/est_trunk/protected/controllers/TanController.php(74): CController->render("formGenTans", array("model" => Tan))

69 }
70 } else {
71 if (isset(Yii::app()->session['isTanGen'])) {
72 unset(Yii::app()->session['isTanGen']);
73 }
74 $this->render('formGenTans', array('model' => $model));
75 }
76 }
77
78 /**
79 * Returns the data model based on the primary key given in the GET variable.

#11

/home/est/public_html/est_trunk/framework/web/actions/CInlineAction.php(49): TanController->actionGenTans()
#12

/home/est/public_html/est_trunk/framework/web/CController.php(308): CInlineAction->runWithParams(array("r" => "Tan/genTans"))
#13

/home/est/public_html/est_trunk/framework/web/filters/CFilterChain.php(133): CController->runAction(CInlineAction)
#14

/home/est/public_html/est_trunk/framework/web/filters/CFilter.php(40): CFilterChain->run()
#15

/home/est/public_html/est_trunk/framework/web/CController.php(1145): CFilter->filter(CFilterChain)
#16

/home/est/public_html/est_trunk/framework/web/filters/CInlineFilter.php(58): CController->filterAccessControl(CFilterChain)
#17

/home/est/public_html/est_trunk/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(CFilterChain)
#18

/home/est/public_html/est_trunk/framework/web/CController.php(291): CFilterChain->run()
#19

/home/est/public_html/est_trunk/framework/web/CController.php(265): CController->runActionWithFilters(CInlineAction, array("accessControl"))
#20

/home/est/public_html/est_trunk/framework/web/CWebApplication.php(282): CController->run("genTans")
#21

/home/est/public_html/est_trunk/framework/web/CWebApplication.php(141): CWebApplication->runController("Tan/genTans")
#22

/home/est/public_html/est_trunk/framework/base/CApplication.php(169): CWebApplication->processRequest()
#23
+
/home/est/public_html/est_trunk/index.php(30): CApplication->run()


Zugehörige Tickets 2 (0 offen2 geschlossen)

Beziehung mit Elternsprechtagsanwendung (ESTA) - Unterstützung #216: Browserinkompatibilitäten und TestenErledigtMatthias Unterbusch27.04.2013

Aktionen
Beziehung mit Elternsprechtagsanwendung (ESTA) - Feature #214: TANs mit Gruppen verknüpfenErledigtChristian Ehringfeld01.05.2013

Aktionen
Aktionen

Auch abrufbar als: Atom PDF