superset/caravel
Luca Albertalli fe6628b0a4 Fix #529 2 - "This Session's transaction has been rolled back" (#531)
* Created migration to fix the bug

* Working also on MySQL

* Added support for Vertica Grains (#515)

* Fix #529 1 "This Session's transaction has been rolled back" (#530)

* Fixing the specific issue

* Added an additional fix for a similar error in #529

Background:
- When an object is modified by SQLAlchemy, it is invalidated so need to be fetched again from the DB
- If there's an exception during a transaction, SQLAlchemy performs a rollback and mark the connection as dirty.

Bug:
- When handling exceptions, the exception handler tries to access the name of the cluster in the main object. Since the name has been invalidated due to a write, SQLAlchemy tries to fetch it on a 'dirty' connection and spits out an error. Solution:
- Fetch the information for handling the exception before starting the process.

* Modified the migration function to to automatically detect the the foreign keys based on the signature.
It supports also sqlite using batch migrations

* i18n: Fix typo in Druid cluster broker port label (#512)

* Update models.py (#541)

removing duplicated `user_id` def
2016-06-02 12:27:59 -07:00
..
assets fix world_map appending to old world map when updating (#549) 2016-06-01 22:47:22 -07:00
bin Gunicorn tweaks, unlimited limit-request-line & limit-request-field_size (#500) 2016-05-20 11:35:41 -07:00
data [hotfix] fix name change on test dashboard triggers error 2016-05-19 08:51:13 -07:00
migrations Fix #529 2 - "This Session's transaction has been rolled back" (#531) 2016-06-02 12:27:59 -07:00
static Caravel - renaming files 2016-03-28 21:53:24 -07:00
templates Fix for Not Grouped By on Table View (#544) 2016-06-01 22:59:06 -07:00
translations complete Chinese translation (#503) 2016-05-23 11:46:46 -07:00
__init__.py enable timerotateloghandler (configurable) (#311) 2016-05-01 07:59:08 -07:00
ascii_art.py Adding version subcommand to CLI (#329) 2016-04-13 17:27:20 -07:00
config.py Add PUBLIC_ROLE_LIKE_GAMMA config flag (#473) 2016-05-16 21:24:43 -07:00
forms.py Fix for Not Grouped By on Table View (#544) 2016-06-01 22:59:06 -07:00
models.py Added support for Vertica Grains (#515) 2016-05-31 21:09:04 -07:00
utils.py utils: add special serializer for numpy.int64 (#492) 2016-05-20 11:10:29 -07:00
version.py v0.9.0 2016-05-12 08:24:01 -07:00
views.py Fix #529 1 "This Session's transaction has been rolled back" (#530) 2016-05-31 21:16:32 -07:00
viz.py Fix for Not Grouped By on Table View (#544) 2016-06-01 22:59:06 -07:00