镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Delegate not working for transition operators. #21

Open

Description

@phil-kahrl

Build info: appgen": "@encapsule/holistic v0.0.47 alexandrite Jvp9FcdjQNuiXkE2zcUjJA 4854c0117a5fa5e257006b334d52368e1997cfc0 2020-11-01T16:38:28.000Z",

The delegate transition operator with signature:

CellProcessor: { cell: { cellCoordinates: "#.cell2Proxy", delegate: { ...

Does not work, the operator being dispatched does not get the correct apmBindingPath.

An example is in this branch: https://github.com/Viewpath/viewpath5/tree/delegate-bug

node
var cp = require("./SOURCES/CLIENT/delegate-test")

cp.toJSON().opc.toJSON().ocdi.toJSON().PKj0xsAzRkC9SR_TiS1ZrA_CellProcesses

{ cellProcessMap: { '4ODg4BoaGhqkpKSkX19fXw': { cell2Proxy: [Object], __apmiStep: 'waiting_for_cell_2' } }, revision: 1 }

The APM for cell1 " '4ODg4BoaGhqkpKSkX19fXw" should transition to ready state because cell2 " x7pM9bwcReupSRh0fcYTgw" is in ready state but no such transition occurs.

https://github.com/Viewpath/viewpath5/blob/delegate-bug/SOURCES/CLIENT/delegate-test/cellModel1/index.js#L54

Looking at the debugger it does not appear that the apmBindingPath is being resolved correctly in the proxy in the implementation for the delegate operator.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions