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

Invoke Lambda MissingRegion: could not find region configuration #274

Closed
retgits opened this issue May 19, 2018 · 2 comments
Closed

Invoke Lambda MissingRegion: could not find region configuration #274

retgits opened this issue May 19, 2018 · 2 comments
Milestone

Comments

@retgits
Copy link
Contributor

retgits commented May 19, 2018

I'm submitting a ... (check one with "x")

[X] bug report => search github for a similar issue or PR before submitting
[] feature request
[] support request
[] general question

Current behavior (how does the issue manifest): If the payload of the Invoke Lambda activity is mapped as an object, all items that appear in the mapping array after the payload are ignored.

Expected behavior: No mappings are ignored

Minimal steps to reproduce the problem (not required if feature enhancement):

  • Create a new flow with the Invoke Lambda activity
  • Set the payload to an object

Sample

{
    "type": "object",
    "value": {
        "Greeting": "Hello World"
    },
    "mapTo": "payload"
},
{
    "type": "literal",
    "value": "us-west-2",
    "mapTo": "region"
}

In this case the literal mapping for region is not passed into the engine. If you switch the order (have region appear before payload) it works perfectly fine

What is the motivation / use case for changing the behavior?

Please tell us about your environment (Operating system, docker version, browser & web ui version, etc): Windows 10

Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X

flogo version
flogo cli version [v0.5.4]
Your project uses github.com/TIBCOSoftware/flogo-contrib version v0.5.4
Your project uses github.com/TIBCOSoftware/flogo-lib version v0.5.4
Your project uses github.com/retgits/flogo-components branch master and revision 6c85d7d9c68d9ad58550bf4778f7a3bb2eb70ac1

Additional information you deem important (e.g. issue happens only occasionally):

@mellistibco
Copy link
Collaborator

@retgits can you test this with the master branch? This commit should have resolved the problem: TIBCOSoftware/flogo-lib@78a727e

@retgits
Copy link
Contributor Author

retgits commented Jun 5, 2018

Yup, that does indeed seem to work! Closing this issue

@retgits retgits closed this as completed Jun 5, 2018
@mellistibco mellistibco added this to the 0.5.5 milestone Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants