Skip to content

[Bug][api] Data type conversion exception returned by LoggerService #3962

@yh2388

Description

@yh2388

LoggerService.queryLog() return paradigm type, ProcessInstanceService.addDependResultForTaskList() conversion error:

String log = (String) logResult.getData();

Revised as:

Result<String> logResult = loggerService.queryLog(taskInstance.getId(), 0, 4098);
String log = logResult.getData();

Avoid ClassCastException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions