doctrine2 - How to create a ZF2 FormCollection of the Doctrine ORM Module's ObjectSelect elements? -


I have a strange situation where my add form works perfectly, but the editing form will not be loaded too. Instead, I get the following error:

Notice: Undefined property: Theorist module \ form \ element \ object selection: $ Object In / Vendor / Zend Framework / Zendreframe Work / Library / Zend / Form / Element / Collection

Fatal Error: Class name should be on a valid object or string 517

I have class objects \ model \ records are objects in which there are many-to-many relationships with objects of the class Application \ Model \ Subject . To show me the topic in the form of a dropdown in records forms, with the option to add multiple codes, want. Then in RecordFieldset.php :

  $ this-> gt; Addition ('array' = ' = 'Gtc: suffix =' gt; = 'gtc =' gt; = 'gt; =' Gt;; 'gt;; & gt; Element' 'Empty_option' = & gt; Select a topic), 'Properties' = & gt; array ('square' = & gt; 'form-control',),),) ,)));   

And like I said, this record works perfectly in Eddie Form. But it seems that the subject can not be loaded as an edit. Has anyone tried to do something like this? Or do you have any idea what the error is saying?

Environment:
Z Framework 2.3.3
Principle-ORM-Module 0.8.0
Principle 2.4.2

It seems that this is a bug on ZF2, the target elements do not need to work for it or else it will run on this issue. Use a field set to wrap ObjectSelect.

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -