Node API with only set value actions has incorrect output

Rare bug

Wappler Version : 3.5.3
Operating System : mac
Server Model: node
Database Type:
Hosting Type: custom

Expected behavior

A Node API with 2 set value actions should output both values

Actual behavior

Only the first is output

How to reproduce

Create a node API from scratch with 2 set value actions and view in browser
Screen Shot 2020-11-13 at 8.00.10 AM

View output:
Screen Shot 2020-11-13 at 8.00.32 AM

The issue seems to be in when the meta info is added to the file.

Here is the source of the above screenshots:

[
  {
    "name": "item1",
    "module": "core",
    "action": "setvalue",
    "options": {
      "value": 111111
    },
    "output": true
  },
  {
    "name": "item2",
    "module": "core",
    "action": "setvalue",
    "options": {
      "value": 22222
    },
    "output": true
  }
]

If I add a query action and then remove it, the meta is added and both values are then output:

{
  "meta": {
    "$_GET": [
      {
        "type": "text",
        "name": "sort"
      },
      {
        "type": "text",
        "name": "dir"
      }
    ]
  },
  "exec": {
    "steps": [
      {
        "name": "item1",
        "module": "core",
        "action": "setvalue",
        "options": {
          "value": 111111
        },
        "output": true
      },
      {
        "name": "item2",
        "module": "core",
        "action": "setvalue",
        "options": {
          "value": 22222
        },
        "output": true
      }
    ]
  }
}
Community Page
Last updated: