#781: SQLObject does not reconnect
-----------------------+----------------------------------------------------
Reporter: ghaering | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: SQLObject | Version: 0.9a4
Severity: critical | Resolution:
Keywords: |
-----------------------+----------------------------------------------------
Comment (by godoy):
Test 1 (done with 1.0 branch):
1. Start my application that uses identity in a PostgreSQL 8.1.x database
1. Log in
1. Open some page with dynamic information obtained from the database
1. Stop the database
1. Restart the database
1. Reload the database
Test 2 (same branch):
- After "4.", above, reload the page before restarting the database
- Continue with 5 and 6.
Results:
- Test 1: Failed, as described.
- Test 2: Failed.
I believe that catching OperationalError and reconnecting should solve the
problem. Is it the same exception you get there?
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/781>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---