Skip to content

Unbound parameters shall log an error rather than stop nodered #26

@hyamanieu

Description

@hyamanieu

Describe the bug
When using parameters within a msg.payload array in the query, if there are unbound parameters instead of throwing an error in the log, it stops nodered with a segmentation fault:

./entrypoint.sh: line 14: 7 Segmentation fault (core dumped) /usr/local/bin/node $NODEOPTIONS node_modules/node-red/red.js --userDir /data $FLOWS

To Reproduce
Steps to reproduce the behavior:

  1. set msg.payload to e.g. ["0.5"]
  2. set msg.query to SELECT :0, :1 FROM dual
  3. Run the flow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions