You set up an account at:
trac.cakephp.org
and hit "new ticket" and follow the instructions.
On Feb 12, 2008 2:17 AM, DlEast <[EMAIL PROTECTED]> wrote:
>
> Yes most probably it is,
>
> I now manually solve it by adding and removing the associative array
> when loading and saving from/to the database like this:
>
> Load:
> $this->data['MasterThesis']['ehl_date']['year'] = $this-
> >data['MasterThesis']['ehl_date_year'];
>
> Save:
> $this->data['MasterThesis']['ehl_date_year'] = $this-
> >data['MasterThesis']['ehl_date']['year'];
>
> But I belive Cake should do this for me, at least it did in previous
> versions. If this is a bug, how do i submit it?
>
> On 11 Feb, 22:41, Baz <[EMAIL PROTECTED]> wrote:
> > Cool, looks like a bug to me.
> >
> > The form helper has been revamped when dealing with dates. I've never
> tested
> > with a field that has an underscore. That seems to be the root of the
> > problem.
> >
> > On Feb 10, 2008 4:44 AM, DlEast <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hello!
> >
> > > I have had a site running the pre-beta of cake 1.2 and decided to make
> > > the change to beta 1.2. Everything works great with exception for my
> > > dates. I use the form helper to generate input fields.
> >
> > > My current setup looks like this:
> > > SQL:
> > > `start_year` int(4) NOT NULL default '0',
> > > `end_year` int(4) default NULL,
> > > `start_month` int(2) NOT NULL default '0',
> > > `end_month` int(2) default NULL,
> > > View:
> > > <?php echo $form->year('Cv_education.start', null, null, null,
> > > array('tabindex' => "16")); ?>
> > > <?php echo $form->month('Cv_education.start', null, array('tabindex'
> > > => "18")); ?>
> > > <?php echo $form->year('Cv_education.end', null, null, null,
> > > array('tabindex' => "20")); ?>
> > > <?php echo $form->month('Cv_education.end', null, array('tabindex' =>
> > > "22")); ?>
> >
> > > Previously cake saved the data as $this->data['Cv']['start_year'] but
> > > with the new version the data is saved as $this->data['Cv']['start']
> > > ['year'].
> >
> > > This causes saving and loading issues. I have looked around on various
> > > pages and have only found the information that cakephp 1.2 beta is
> > > supposed to concatenated the array in to a single field but this isn't
> > > happening.
> >
> > > Any help on how to get my site running again would be appreciated.
> >
> > > // Daniel
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---