Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No reaction on "run" in Flow Editor #530

Open
WolfgangFahl opened this issue May 15, 2019 · 5 comments
Open

No reaction on "run" in Flow Editor #530

WolfgangFahl opened this issue May 15, 2019 · 5 comments
Assignees
Labels
bug more info needed More information or a good bug description required to be able to work on the issue

Comments

@WolfgangFahl
Copy link

grafik

When using an incorrect syntax (double quotes) in the script the result is:
{ "result": { "error": null, "result": null }, "result_count": 1, "page_count": 1, "result_count_time": "0.000013797", "serialization_time": "0.000126782" }

@ckramp
Copy link
Contributor

ckramp commented May 17, 2019

Could you provide an example that leads to this behaviour? I was not able to reproduce this issue. I used a very similar setup and checked single and double qoutes.

@amorgner amorgner added the more info needed More information or a good bug description required to be able to work on the issue label May 17, 2019
@amorgner amorgner assigned WolfgangFahl and unassigned ckramp May 17, 2019
@WolfgangFahl
Copy link
Author

In my environment the above example is reproducible. I get no reaction on clicking the run button.

@WolfgangFahl
Copy link
Author

On another attempt I get.

{
  "result": {
    "error": null,
    "result": [
      {
        "id": "39b9ec5cc8854fb49d189bc83f9772a0",
        "type": "Individual",
        "name": "John Doe"
      },
      {
        "id": "43d5a02722be4299aa473ed0247e3429",
        "type": "Individual",
        "name": "Mary Doe"
      },
      {
        "id": "85234bce5ca14b8dbb95e9db62fd9f79",
        "type": "Individual",
        "name": "Bill Gates"
      },
      {
        "id": "0a55e84656d44a90b5da4b8284d9a7c7",
        "type": "Individual",
        "name": "Linda Gates"
      }
    ]
  },
  "result_count": 1,
  "page_count": 1,
  "result_count_time": "0.000019283",
  "serialization_time": "0.000220872"
}

It is a bit frustrating to not know why the button sometimes responds and sometimes doesn't.

@vigorouscoding
Copy link
Member

From personal experience I can share that sometimes Mac OS is the culprit.
Regular double-quotes " are replaced by "smart quotes" which are not supported in StructrScript. Maybe that was the problem?

@WolfgangFahl
Copy link
Author

If so you might want to give a proper error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug more info needed More information or a good bug description required to be able to work on the issue
Projects
None yet
Development

No branches or pull requests

4 participants