That's probably correct.
I have not tracked the response codes in Firefly.
On Sep 12, 1:49 pm, Anthony wrote:
> On Monday, September 12, 2011 1:23:47 PM UTC-4, Cliff wrote:
>
> > >> If the db update failed in the regular controller I would assume that
> > >> a ticket page would appear. But what
On Monday, September 12, 2011 1:23:47 PM UTC-4, Cliff wrote:
>
> >> If the db update failed in the regular controller I would assume that
> >> a ticket page would appear. But what if the db update is in a callback
> >> function?
>
>
> >In that case, an error ticket will still be logged, and web2
>> If the db update failed in the regular controller I would assume that
>> a ticket page would appear. But what if the db update is in a callback
>> function?
>In that case, an error ticket will still be logged, and web2py will return
>the usual 500 error with the link to the ticket.
Anthony, I
On Monday, September 12, 2011 1:00:41 AM UTC-4, Noel Villamor wrote:
>
> If the db update failed in the regular controller I would assume that
> a ticket page would appear. But what if the db update is in a callback
> function?
>
In that case, an error ticket will still be logged, and web2py wil
Thanks Jan.
On Sep 12, 8:47 pm, "jot.be" wrote:
> Hi,
>
>
>
>
>
>
>
>
>
> On Mon, Sep 12, 2011 at 4:57 AM, Noel Villamor wrote:
> > I have a button which does the following callback:
>
> > ajax('{{=URL('callback')}}',['btn1'],':eval');"
>
> > Then I have the following callback function in my co
Book states:
Code in models, views and controllers is enclosed in web2py code that
looks like this:
try:
execute models, controller function and view
except:
rollback all connections
log the traceback
send a ticket to the visitor
else:
commit all connections
save coo
Thank you guys!
On Sunday, September 11, 2011 10:57:27 PM UTC-4, Noel Villamor wrote:
>
> I have a button which does the following callback:
>
> ajax('{{=URL('callback')}}',['btn1'],':eval');"
>
> Then I have the following callback function in my controller:
>
> def callback():
> db(db.tbl.id==100).updat
8 matches
Mail list logo