Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaskComments cannot be updated or deleted using the REST API #2292

Closed
holgerhagen opened this issue Jun 13, 2023 · 0 comments
Closed

TaskComments cannot be updated or deleted using the REST API #2292

holgerhagen opened this issue Jun 13, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@holgerhagen
Copy link
Contributor

holgerhagen commented Jun 13, 2023

Thios is due to the following exception:

org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: org.postgresql.util.PSQLException: FEHLER: DELETE kann nicht in einer Read-Only-Transaktion ausgeführt werden
The error may exist in pro/taskana/task/internal/TaskCommentMapper.java (best guess)
The error may involve pro.taskana.task.internal.TaskCommentMapper.delete-Inline
The error occurred while setting parameters
SQL: DELETE FROM TASK_COMMENT WHERE ID = ?
Cause: org.postgresql.util.PSQLException: FEHLER: DELETE kann nicht in einer Read-Only-Transaktion ausgeführt werden
at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:30) ~[mybatis-3.5.13.jar:3.5.13]
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:199) ~[mybatis-3.5.13.jar:3.5.13]
at org.apache.ibatis.session.defaults.DefaultSqlSession.delete(DefaultSqlSession.java:212) ~[mybatis-3.5.13.jar:3.5.13]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.apache.ibatis.session.SqlSessionManager$SqlSessionInterceptor.invoke(SqlSessionManager.java:348) ~[mybatis-3.5.13.jar:3.5.13]
at com.sun.proxy.$Proxy184.delete(Unknown Source) ~[?:?]
at org.apache.ibatis.session.SqlSessionManager.delete(SqlSessionManager.java:254) ~[mybatis-3.5.13.jar:3.5.13]

@holgerhagen holgerhagen added this to the v6.2.0 milestone Jun 13, 2023
@holgerhagen holgerhagen self-assigned this Jun 13, 2023
holgerhagen added a commit to holgerhagen/taskana that referenced this issue Jun 13, 2023
holgerhagen added a commit to holgerhagen/taskana that referenced this issue Jun 13, 2023
holgerhagen added a commit to holgerhagen/taskana that referenced this issue Jun 14, 2023
holgerhagen added a commit to holgerhagen/taskana that referenced this issue Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant