[web2py] Re: Grid edit behavior when no changes are made

2017-08-04 Thread Dave S
On Friday, August 4, 2017 at 1:42:54 PM UTC-7, Seth J wrote: > > So, archives on this page: https://github.com/niphlod/web2py/releases > don't contain it?!?! > I'm not sure. I would expect the zip files to, but that's a dev's archive rather than the "official" web2py archive referenced in

[web2py] Re: Grid edit behavior when no changes are made

2017-08-04 Thread Seth J
So, archives on this page: https://github.com/niphlod/web2py/releases don't contain it?!?! On Friday, August 4, 2017 at 4:34:16 PM UTC-4, Dave S wrote: > > > > On Friday, August 4, 2017 at 1:17:08 PM UTC-7, Seth J wrote: >> >> Another quick question. How do I revert back to 2.14.6 or 2.14.5

[web2py] Re: Grid edit behavior when no changes are made

2017-08-04 Thread Dave S
On Friday, August 4, 2017 at 1:17:08 PM UTC-7, Seth J wrote: > > Another quick question. How do I revert back to 2.14.6 or 2.14.5 then? > I downloaded the appropriate version archive and replaced all of the files > in the installation and it still gives me the same error message: > If

[web2py] Re: Grid edit behavior when no changes are made

2017-08-04 Thread Seth J
Another quick question. How do I revert back to 2.14.6 or 2.14.5 then? I downloaded the appropriate version archive and replaced all of the files in the installation and it still gives me the same error message: Version web2py™ Version 2.14.5-stable+timestamp.2016.04.13.22.22.13 Python

[web2py] Re: Grid edit behavior when no changes are made

2017-08-03 Thread Seth J
Thanks, Leonel! Looking forward to it ... On Thursday, August 3, 2017 at 1:24:08 PM UTC-4, Leonel Câmara wrote: > > Seth that 2.15.2 bug has been fixed in trunk. Please wait for 2.15.3 > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Grid edit behavior when no changes are made

2017-08-03 Thread Leonel Câmara
Seth that 2.15.2 bug has been fixed in trunk. Please wait for 2.15.3 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because

[web2py] Re: Grid edit behavior when no changes are made

2017-08-03 Thread Seth J
And it appears to be broken: web2py™ Version 2.15.2-stable+timestamp.2017.07.19.12.18.41 Python Python 2.7.10: C:\Python27\python.exe (prefix: C:\Python27)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Traceback (most recent call last): File ".\gluon\restricted.py", line 219, in restricted

[web2py] Re: Grid edit behavior when no changes are made

2017-08-03 Thread Seth J
We're using 2.14.5 version of web2py so far. Let me update one of our dev servers and see if that solves the issue. Thanks, Anthony!!! On Thursday, August 3, 2017 at 12:30:11 PM UTC-4, Anthony wrote: > > Also, what version of web2py are you using? Looking at the code, it > appears this issue

[web2py] Re: Grid edit behavior when no changes are made

2017-08-03 Thread Anthony
Also, what version of web2py are you using? Looking at the code, it appears this issue might be resolved in the current version of the DAL (it now generates all the fields to be updated *before *call the _before_update callbacks, which should result in the archive record being generated due to

[web2py] Re: Grid edit behavior when no changes are made

2017-08-03 Thread Anthony
The problem is that archiving is handled via a _before_update callback, which (a) only receives the fields that are explicitly submitted with the form (i.e., not the modified_on and modified_by fields) and (b) archives only if the submitted fields differ from those in the original record. The