Skip to content

iesave: error when more than one variable is used in idvars #347

@luizaandrade

Description

@luizaandrade

If more than one variable is used in idvars and one of them has missing values, the code breaks on the following lines:

- if _rc {
  - capture assert !missing(`idvars')
  = capture assert !missing(user_uuid session)
  - if _rc {
  - count if missing(`idvars')
  = count if missing(user_uuid session)

The error I see is

user_uuidsession not found

I think this is because missing() doesn't take multiple variables as input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    minor bugBug unlikely to lead to incorrect analysisresolved but not yet publishedIssue is fixed, but not yet published on SSC

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions