Project

General

Profile

Actions

Defect #1327

closed

Edit LRT that has defined cron trigger doesn't work

Added by Ondřej Kopr about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Long running task
Target version:
Start date:
10/16/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

When I try edit LRT (for example I want edit description) with cron trigger. Backend return 405 code

{
  "_errors" : [ {
    "id" : "06e01585-e815-4954-9922-95e341b92921",
    "creation" : "2018-10-16T19:54:15.672Z",
    "statusEnum" : "METHOD_NOT_ALLOWED",
    "message" : "Could not read document: Could not resolve type id 'CronTaskTrigger' into a subtype of [simple type, class eu.bcvsolutions.idm.core.scheduler.api.dto.AbstractTaskTrigger]: known type ids = [AbstractTaskTrigger]\n at [Source: java.io.PushbackInputStream@33e32a79; line: 1, column: 236] (through reference chain: eu.bcvsolutions.idm.core.scheduler.api.dto.Task[\"triggers\"]->java.util.ArrayList[0]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Could not resolve type id 'CronTaskTrigger' into a subtype of [simple type, class eu.bcvsolutions.idm.core.scheduler.api.dto.AbstractTaskTrigger]: known type ids = [AbstractTaskTrigger]\n at [Source: java.io.PushbackInputStream@33e32a79; line: 1, column: 236] (through reference chain: eu.bcvsolutions.idm.core.scheduler.api.dto.Task[\"triggers\"]->java.util.ArrayList[0])",
    "parameters" : { },
    "module" : "core",
    "statusCode" : 405,
    "status" : "METHOD_NOT_ALLOWED" 
  } ]
}

For now I haven't log from backend. Other LRT is editable.

Workaround: delete LRT and create one.

Affected versions 8.1.7 -- 9.1.0.
The ticket was solved in current develop branch.


Related issues

Related to IdStory Identity Manager - Task #1158: Long running task: use form definition for configurationClosedRadek Tomiška06/28/2018

Actions
Actions

Also available in: Atom PDF