> I didn't change anything in the source, and it worked under v1.2.0.x,
> and now it doesn't anymore. So I presume it's because of the upgrade
> to v1.3.4, and I also found this:
>
> "Adding media as an uninflected word" on https://trac.cakephp.org/changeset/5104
>
> Anyone could try to bake a small application with a Medium/Media model
> that has a HABTM relationship to an Author/Authors model? As far as I
> can see this is NOT possible for some reason... And don't forget to
> add the inflection rule:
>
> Inflector::rules('plural', array('rules' => array(), 'irregular' =>
> array('medium' => 'media'), 'uninflected' => array()));
I'm not denying there may be a problem. In fact, I'm suggesting that
there may be two. In your first message you said that you thought the
issue with Medium had been resolved. I'm suggesting that the error msg
about a missing id may have nothing whatsoever to do with the "Medium"
issue. Have you investigated any further? What's happening at line
1391? Are you trying to create, or modify, in this instance? If the
latter, does your form actually include an id in a hidden element?
etc. etc.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment