Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Uncaught exception converting predicate containing aggregate expressions #7545

Closed

Description

@1ec5

If you set MGLVectorStyleLayer.predicate to an NSPredicate with a format like a IN {1, 2}, {1, 2} CONTAINS a, or b BETWEEN {1, 2}, this exception is raised. -[NSExpression(MGLAdditions) mgl_filterValues] assumes that the aggregate array must contain values like strings and numbers directly, but clients of NSPredicate normally expect the elements to be NSExpressions.

/cc @frederoni

Activity

  1. added
    iOS
    macOS
    on Dec 26, 2016
  2. added this to the ios-v3.4.0 milestone on Dec 26, 2016
  3. self-assigned this
    on Dec 26, 2016
  4. 1ec5 commented on Jan 4, 2017

    @1ec5
    ContributorAuthor

    Fixed in #7548 on the release-ios-v3.4.0 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

crashiOSmacOSruntime styling

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions