Skip to content

SIGSEGV in visitor_rest.go:386 on end resource syntax in CREATE PUBLISHED REST SERVICE #429

@retran

Description

@retran

Description

Using end resource block syntax (instead of brace syntax) causes a segfault panic.

Steps to Reproduce

./mxcli -p project.mpr -c "create published rest service MyModule.TestREST (Version: '1.0', Path: '/api') resource 'items' get '/all' microflow MyModule.GetItems; end resource;"

Expected

Service created or parse error

Actual

Process crashes with SIGSEGV at visitor_rest.go:386

Severity

Critical

Test Case Reference

integration-test-cases.md §22.1

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