Skip to content

Path errors sent for creates #132

Description

@foolswood

I don't think we should be getting the error sent to the client in this trace:

-> client (TimeStamped (Time 15 3195455668,Trcud (TrcUpdateDigest
  { trcudNamespace = Namespace {unNamespace = engine}
  , trcudData = AssocList {unAssocList = []}
  , trcudCreates = fromList [(/types/amp,fromList [(Placeholder {unPlaceholder = ph},(Nothing,OpCreate {ocArgs = [[WireValue 5]], ocAfter = Nothing}))])]
  , trcudContOps = fromList []})))

-- Eh?
<- client (Frcud (FrcUpdateDigest
  { frcudNamespace = Namespace {unNamespace = engine}
  , frcudPostDefs = fromList []
  , frcudDefinitions = fromList []
  , frcudTypeAssignments = fromList []
  , frcudData = AssocList {unAssocList = []}
  , frcudContOps = fromList []
  , frcudErrors = fromList [(PathError /types/amp,[])]
  }))

<- provider (Frpd (FrpDigest
  { frpdNamespace = Namespace {unNamespace = engine}
  , frpdData = AssocList {unAssocList = []}
  , frpdCreates = fromList [(/types/amp,fromList [(Placeholder {unPlaceholder = ph},(Nothing,OpCreate {ocArgs = [[WireValue 5]], ocAfter = Nothing}))])]
  , frpdContOps = fromList []}))

-> provider (TimeStamped (Time 18300 1114626047,Trpd (TrpDigest
  { trpdNamespace = Namespace {unNamespace = engine}
  , trpdPostDefs = fromList []
  , trpdDefinitions = fromList []
  , trpdData = AssocList {unAssocList = [(/types/amp/ph/amp,ConstChange Nothing [WireValue 5])]}
  , trpdContOps = fromList []
  , trpdErrors = fromList []})))

<- client (Frcud (FrcUpdateDigest
  { frcudNamespace = Namespace {unNamespace = relay}
  , frcudPostDefs = fromList []
  , frcudDefinitions = fromList []
  , frcudTypeAssignments = fromList []
  , frcudData = AssocList {unAssocList = [(/clients/df12d832/clock_diff,ConstChange Nothing [WireValue 0.0])]}
  , frcudContOps = fromList []
  , frcudErrors = fromList []}))

<- client (Frcud (FrcUpdateDigest
  { frcudNamespace = Namespace {unNamespace = engine}
  , frcudPostDefs = fromList []
  , frcudDefinitions = fromList []
  , frcudTypeAssignments = fromList []
  , frcudData = AssocList {unAssocList = []}
  , frcudContOps = fromList [(/types/amp,fromList [(ph,(Nothing,SoAfter (Just stereo)))])]
  , frcudErrors = fromList []}))

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions