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

holarchy array isEmpty Transition operator throws exception. #17

Open
phil-kahrl opened this issue Oct 13, 2020 · 0 comments
Open

holarchy array isEmpty Transition operator throws exception. #17

phil-kahrl opened this issue Oct 13, 2020 · 0 comments

Comments

@phil-kahrl
Copy link

Build info: "appgen": "@encapsule/holistic v0.0.46 crossroads t10PUwZHS3e8dhu3oBpMRA 10e623d9d2dbfb86af25bf3795dc8ec73e9af666 2020-10-08T18:50:20.000Z",

When attempting to use the holarchy arrayIsEmpty operator in an apm, for example:

holarchy: { cm: { operators: { ocd: { arrayIsEmpty: { path: "#.foo.bar..."

An exception is thrown:

OPC::evaluate <XSwV...> [4:0] TransitionOperator threw an illegal exception that was handled by OPC: Cannot read property 'path' of undefined

Error is originating here:

https://github.com/Encapsule/holistic/blob/v0.0.46-crossroads/PACKAGES/holarchy/lib/intrinsics/HolarchyCore/HolarchyCoreMemory/TransitionOperator-ocd-array-is-empty.js#L45

because line 43 should have "arrayIsEmpty" instead of "isArrayEmpty"

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

1 participant