witten
/
luminotes
Archived
1
0
Fork 0

Potential fix for a bug in which product downloads and attached file downloads occasionally did not complete in Internet Explorer.

If this is the correct fix, then the problem was actually just a caching issue that affected http downloads in IE.
This commit is contained in:
Dan Helfman 2008-12-29 17:35:24 -08:00
parent cc155ec920
commit 95801c4917
2 changed files with 7 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
1.5.12: 1.5.12:
* Fixed a bug in which clicking on the notebook rename text field ended the * Fixed a bug in which clicking on the notebook rename text field ended the
renaming prematurely. renaming prematurely.
* Potential fix for a bug in which product downloads and attached file
downloads occasionally did not complete in Internet Explorer.
1.5.11: December 27, 2008 1.5.11: December 27, 2008
* Added a font selection button to the toolbar. * Added a font selection button to the toolbar.

View File

@ -15,7 +15,7 @@ from Expose import expose
from Validate import validate, Valid_int, Valid_bool, Validation_error from Validate import validate, Valid_int, Valid_bool, Validation_error
from Database import Valid_id, end_transaction from Database import Valid_id, end_transaction
from Users import grab_user_id, Access_error from Users import grab_user_id, Access_error
from Expire import strongly_expire from Expire import strongly_expire, weakly_expire
from model.File import File from model.File import File
from model.User import User from model.User import User
from model.Notebook import Notebook from model.Notebook import Notebook
@ -262,6 +262,7 @@ class Files( object ):
self.__download_products = download_products self.__download_products = download_products
@expose() @expose()
@weakly_expire
@end_transaction @end_transaction
@grab_user_id @grab_user_id
@validate( @validate(
@ -323,6 +324,7 @@ class Files( object ):
return stream() return stream()
@expose() @expose()
@weakly_expire
@end_transaction @end_transaction
@validate( @validate(
access_id = Valid_id(), access_id = Valid_id(),
@ -409,6 +411,7 @@ class Files( object ):
) )
@expose() @expose()
@weakly_expire
@end_transaction @end_transaction
@grab_user_id @grab_user_id
@validate( @validate(
@ -471,6 +474,7 @@ class Files( object ):
return stream( image_buffer ) return stream( image_buffer )
@expose() @expose()
@weakly_expire
@end_transaction @end_transaction
@grab_user_id @grab_user_id
@validate( @validate(