Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

messageUpdater is declared but never set #816

Description

@rezemble

In src/server/accessors/ModifyUpdater.ts, the property private messageUpdater: IMessageUpdater; is declared and can be accessed through public getMessageUpdater(): IMessageUpdater but is never initialized.
No actual implementation exists.
Is there an open Issue to track the implementation?
At either rate - as long as it is not implemented, I would suggest throwing an appropriate Error (Not implemented) or similar in the getter to avoid confusion and hours of debugging.

In the server logs, this just shows as a pretty non-descriptive error:

JSON-RPC error received: JsonRpcError {
  message: 'Internal error',
  code: -32603,
  data: {
    message: 'c.getMessageUpdater is not a function',
    logs: {
      appId: 'a8923afc-9b11-4caf-9ba3-cf1bee5498ca',
      method: 'app:executePostMessageSent',
      entries: [Array],
      startTime: 2025-04-17T13:12:01.384Z,
      endTime: 2025-04-17T13:12:01.408Z,
      totalTime: 24,
      _createdAt: 2025-04-17T13:12:01.408Z,
      instanceId: '6e30784a-252e-40f0-a74a-2137bc1f610e'
    }
  }
}

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