I know you do and some people do. The fact is that some bugs are very rare. This for example has the following story....
the new DAL broke inline requirements for self referential fields. This was never supposed to work (requirements should be specified after table definition if table has self references, else table does not exist when validator is called). Yet it worked and new dal broke it. Almost nobody was doing this but somebody did and it was reported. Instead of saying "this should have not worked" I decided to silently add it as a new feature this morning in 1.90.3. That is when I actually introduced the bugs. The bug is totally my fault. If more users had tested trunk, somebody would the spotted the problem with self references earlier. No big deal anyhow. Massimo On Dec 19, 3:13 pm, rochacbruno <rochacbr...@gmail.com> wrote: > I always test trunk, but I think there are users who has some difficult using > hg to pull trunk. > > If possible to include a .zip version of trunk available to download I guess > more people would test it. > > Google code has a download tab. > > Maybe the commit script could zip and upload it just after the commit ? > > Enviado via iPhone > > Em 19/12/2010, às 19:06, mdipierro <mdipie...@cs.depaul.edu> escreveu: > > > Fixing in 1.90.4. I apologize and wish people had tested this more on > > trunk but looks like very few users test trunk. > > > Massimo > > > On Dec 19, 2:38 pm, pandaluv <joi....@gmail.com> wrote: > >> Traceback (most recent call last): > >> File "/home/felix/Desktop/web2py/gluon/restricted.py", line 188, in > >> restricted > >> exec ccode in environment > >> File "/home/felix/Desktop/web2py/applications/SGE/controllers/ > >> incidents.py", line 174, in <module> > >> File "/home/felix/Desktop/web2py/gluon/globals.py", line 95, in > >> <lambda> > >> self._caller = lambda f: f() > >> File "/home/felix/Desktop/web2py/gluon/tools.py", line 2289, in f > >> return action(*a, **b) > >> File "/home/felix/Desktop/web2py/applications/SGE/controllers/ > >> incidents.py", line 7, in create > >> form = SQLFORM(db.incident,field=['contact', 'event_id', > >> 'location', 'phone', 'reported_by', 'synopsis', 'started_at', > >> 'severity']) > >> File "/home/felix/Desktop/web2py/gluon/sqlhtml.py", line 792, in > >> __init__ > >> inp = self.widgets.options.widget(field, default) > >> File "/home/felix/Desktop/web2py/gluon/sqlhtml.py", line 205, in > >> widget > >> options = requires[0].options() > >> File "/home/felix/Desktop/web2py/gluon/validators.py", line 424, in > >> options > >> self.build_set() > >> File "/home/felix/Desktop/web2py/gluon/validators.py", line 405, in > >> build_set > >> fields = [f for f in self.dbset.db[ktable]] > >> NameError: global name 'ktable' is not defined > > >> <type 'exceptions.NameError'>(global name 'ktable' is not defined) > > >> ------------------------------------------------------------------ > >> if self._and: > >> self._and.record_id = id > > >> def build_set(self): > >> if self.fields == 'all': > >> fields = [f for f in self.dbset.db[ktable]] > > >> else: > >> fields = [self.dbset.db[ktable][k] for k in self.fields] > >> if self.dbset.db._dbname != 'gae': > >> orderby = self.orderby or reduce(lambda a,b:a|b,fields) > > >> -------------------------------------------------------------------- > > >> def create(): > >> form = SQLFORM(db.incident,field=['contact', 'event_id', > >> 'location', 'phone', 'reported_by', 'synopsis', 'started_at', > >> 'severity']) > >> # check submited form (custom insert if ok) > >> if form.accepts(request.vars, session, dbio=False): > >> incident_id = db.incident.insert(**form.vars) > >> response.flash = T("Incident %s created!") % incident_id > >> elif form.errors: > >> response.flash = T("Incident not saved! (correct errors!)") > >> else: > >> response.flash = T("Complete the form") > >> return dict(form=form) > > >> --------------------------------------------------------------- > > >> Version 1.90.3 (2010-12-19 16:48:26) > > >> =) help > >