[ 
https://issues.apache.org/jira/browse/AIRFLOW-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383666#comment-15383666
 ] 

ASF subversion and git services commented on AIRFLOW-252:
---------------------------------------------------------

Commit a88ee53e88f84fd64744c8e3df27caae778e0eba in incubator-airflow's branch 
refs/heads/master from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=a88ee53 ]

[AIRFLOW-277] Multiple deletions does not work in Task Instances view if using 
SQLite backend

AIRFLOW-252 fixed the trash button in "Task Instances" view on Web UI,
but "With selected" > "Delete" menu does still not working for the same reason.
This patch fixes this problem by overriding Flask-Admin's method if the backend 
is SQLite.


> Raise Sqlite exceptions when deleting tasks instance in WebUI
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-252
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-252
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ui
>    Affects Versions: Airflow 1.7.1.3
>         Environment: Linux 0f857c51a5ce 4.0.9-boot2docker #1 SMP Thu Sep 10 
> 20:39:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: ryanchou
>            Assignee: Kengo Seki
>             Fix For: Airflow 1.8
>
>
> When I try to delete a task instances on browse -> tasks instances page 
> through WebUI. It raise a Sqlite exception
> The airflow version is v1.7.1.3 I haven't seen the version choice in jira 
> issue.
> ```
>  File 
> "/usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/sqlite/base.py", 
> line 607, in process
>     raise TypeError("SQLite DateTime type only accepts Python "
> StatementError: (exceptions.TypeError) SQLite DateTime type only accepts 
> Python datetime and date objects as input. [SQL: u'SELECT 
> task_instance.task_id AS task_instance_task_id, task_in
> ```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to