Project

General

Profile

Bug #91727

Updated by Markus Klein over 3 years ago

If an Extbase model has a class member, which has no public accessor functions and has the type of some other model, then an exception is throws during object validation. (The class member used purely during runtime and not stored permanently.) 

 <pre> 
 Could not get value of property Thing::user", make sure the property is either public or has a getter getUser(), a hasser hasUser() or an isser ', 
 </pre> 

 Until Core v8.7 such class members have been ignored. 

 Example: 

 <pre> 
 class User {} 
 class Thing { /** User */ protected $user } 
 </pre>

Back