Skip to content

List items are garbage-collected on client #77

@basi01

Description

@basi01

We use a microflow as a data source for the suggestions. This microflow creates new uncommitted objects for the suggestions that were not selected before (only the selected option is committed in the Before Commit microflow of the form entity).

If we wait long enough (usually 10 seconds) then clicking a suggested option simply clears the widget. It happens because the retrieved objects were garbage-collected as unused. Indeed, after adding to index.html:

        dojoConfig = {
            data: {
              "logCleanupStatistics": true
            },

the "Garbage collecting" message is printed to the browser console mentioning the guids of the suggestions. I think this widget needs to mark them as "used" while they're visible. According to this blog you need to subscribe to the objects for that.

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