I my RC2 powered app, I had this piece of code:
$save_data['some_field'] = $some_value;
$save_data['other_field'] = $some_other_value;
$SomeModel->save($save_data);
That worked in RC2, but failed in RC3.
I changed it to:
$save_data['ModelName']['some_field'] =
$some_value;
$save_data['ModelName']['other_field'] =
$some_other_value;
$SomeModel->save($save_data);
And it works. Of course.
The other behaviour was a bug.
On Mar 30, 4:27 pm, jacmoe <jac...@mail.dk> wrote:
> I spoke too soon:
> The upgrade from RC2 to RC3 broke my app. :(
> Just a warning.
> Reverting to RC2.
> I think it has to do with me using extra fields in my model not in the
> database, but I'm not sure.
>
> On Mar 30, 12:30 am, jacmoe <jac...@mail.dk> wrote:
>
> > Congratulations! :)
>
> > You have come a long way since the early 1.3 pre-releases.
> > I tried upgrading my app to it some time ago, and nothing worked the
> > way it should.
>
> > Now, everything works, even the things which I never could have gotten
> > to work using Cake 1.2 :D
> > Great stuff.
>
> > Now all we need is lots of tutorials about how to use the new
> > JsHelper. :)
>
> > Cake 1.3 - better than ever.
>
> > Thanks a lot! :)
>
> > On Mar 29, 1:26 am, mark_story <mark.st...@gmail.com> wrote:
>
> > > The CakePHP development team is happy to announce the release the
> > > CakePHP 1.3.0-RC3. This release is the second last release candidate
> > > for 1.3.0. Since 1.3.0-RC2 was released 2 weeks ago there have been
> > > over 80 commits and 35 tickets fixed. The plan is to have one more
> > > release candidate, and then 1.3.0 stable. After 1.3.0 stable is
> > > released it will enter a maintenance period similar to 1.2.
>
> > > There have been no major features added since the last Release
> > > Candidate. There has been a minor change in Model::saveAll(). By
> > > default it will do a validate = first by default now. This was done
> > > to resolve unexpected behavior differences between Model::save() and
> > > Model:saveAll().
>
> > > In other project news, the API has been updated to no longer require
> > > Javascript to view formatting. Additionally more internal links have
> > > been created. The 1.3 book has been receiving a healthy amount of
> > > translation attention. There is now greatly expanded documentation in
> > > German, French and Vietnamese. To everyone who has contributed thank
> > > you and keep up the good work.
>
> > > We'd like to thank everyone who has contributed documentation, tickets
> > > and code between the last release and now.
>
> > > Download a packaged release [1]
> > > View the changelog [2]
>
> > > [1]http://github.com/cakephp/cakephp1x/downloads
> > > [2]http://cakephp.lighthouseapp.com/projects/42648/changelog-1-3-0-rc3
>
>
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
To unsubscribe, reply using "remove me" as the subject.
No comments:
Post a Comment