Skip to content

Timer arguments in ThingsDB scope are not checked as expected #225

@joente

Description

@joente

Describe the bug
When using timer arguments like things as timer arguments for the @thingsdb scope, things go wrong as the system is unable to assign the values to a collection and thus is not able to handle changes to these values.

To Reproduce

See the following code:

   new_timer(datetime(), |id, arg1, arg2| {
        nil;
    }, [123, {}]);

Expected behavior
ThingsDB should raise an exception when trying to use variable like things in a scope other than the collection scope.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions