Hi, An example in "The More with symfony" book chapter 8 shows how to create a doctrine behavior called CountCache that counts the number of Posts a Thread has related to it: http://www.symfony-project.org/more-with-symfony/1_4/en/08-Advanced-Doctrine-Usage
I'm trying to use this behavior in my domain model but the sample code doesn't provide getters and setters for the "num_posts" column. For example, I want to be able to do this: <?php echo $thread->getNumPosts() ?> But a 500 exception is thrown which reads: Unknown record property / related component "num_posts" on "Thread" Am I missing something? Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using "remove me" as the subject.