Skip to content

MPR writer appends a synthetic newline to microflow EndEvent return values #316

@hjotha

Description

@hjotha

Problem:

The MPR writer appends a trailing newline to non-empty EndEvent ReturnValue fields. Pristine MPRs store the return expression without that newline, and the extra character can make some return expressions fail Studio Pro validation.

Expected:

The writer should preserve the EndEvent return expression exactly, without adding synthetic trailing whitespace.

Impact:

Roundtrip rewrites differ from pristine Studio Pro output and can produce validation errors for some return contexts.

Proposed fix:

Write ReturnValue directly instead of appending \n.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions