ModelGlue isn't actually handling the update, Reactor is. Look at the Reactor documentation and see if you need to add properties or something to your config.
DW Sent from a mobile. Please excuse brevity and typos. -----Original Message----- From: Tom Bishop <[email protected]> Sender: [email protected] Date: Sat, 11 Jun 2011 23:23:50 To: <[email protected]> Reply-To: [email protected] Subject: Re: [Model-Glue] Re: MG 3, Railo and Scaffolding Hi Matt, Hmmm, yes, you are correct. However, it doesn't seem to be updating properly. It updates if I change the record via my MySQL admin client but not if I make a change via my view (ie the MG app). Maybe something to do with the way MG handles updates? On Sat, Jun 11, 2011 at 5:41 PM, Matt Quackenbush <[email protected]>wrote: > In MySQL, a 'timestamp' field defaults to being updated with the current > timestamp every time the record changes. > > Sent from my iPhone > > On Jun 11, 2011, at 11:09, Tom B <[email protected]> wrote: > > > Hi Sean, Matt and Dan, > > > > Thanks very much for your replies. I think it might have been an issue > > with the generated view mappings path, which seems to work slightly > > differently to the way it worked in MG2. However, everything seems to > > be working fine again. > > > > Whilst I'm here, I do have another question which I'd be interested in > > hearing anybody's opinions on. > > > > I am using Reactor and am trying to work out the best way to save the > > date and time that I update a record to a MySQL database field. MySQL > > doesn't support using functions on a timestamp field type. I have > > thought about putting a now() function on the form but that would make > > the update date/time the same as when the form was generated. I want > > to be able to log the time the record is saved when it is actually > > committed to the DB. Any ideas on how to do this in MG3 with Reactor? > > > > Best regards, > > Tom > > > > On Jun 10, 5:56 am, Sean Corfield <[email protected]> wrote: > >> On Thu, Jun 9, 2011 at 2:34 PM, Matt Quackenbush <[email protected]> > wrote: > >>> I have no idea if it has anything to do with the scaffolding or not, > but > >>> there is/was a bug in Railo that caused certain portions of MG to fail. > I > >>> _think_ they fixed that issue, though. And I think that you would be > seeing > >>> exceptions if it were involved in your particular issue. > >> > >> A good rule of thumb is to update Railo to the development / bleeding > >> edge release (currently 3.3.0.15 I think?) and see whether the problem > >> still exists. If it does, open a ticket in Railo's bug tracker with a > >> simple repro case and it'll get addressed (problems that break > >> well-known frameworks tend to get fixed pretty quickly once they're > >> known). > >> -- > >> Sean A Corfield -- (904) 302-SEAN > >> An Architect's View --http://corfield.org/ > >> World Singles, LLC. --http://worldsingles.com/ > >> Railo Technologies, Inc. --http://www.getrailo.com/ > >> > >> "Perfection is the enemy of the good." > >> -- Gustave Flaubert, French realist novelist (1821-1880) > > > > -- > > Model-Glue Sites: > > Home Page: http://www.model-glue.com > > Documentation: http://docs.model-glue.com > > Bug Tracker: http://bugs.model-glue.com > > Blog: http://www.model-glue.com/blog > > > > You received this message because you are subscribed to the Google > > Groups "model-glue" 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/model-glue?hl=en > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" 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/model-glue?hl=en > -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en
