Skip to content

Semantic version equality comparison fails when number of segments is equal to the maximum number of segments allowed #2793

Closed
@Namyalg

Description

@Namyalg

[READ] Step 1: Are you in the right place?

  • For issues related to the code in this repository file a Github issue.
  • If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
    template.
  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general Firebase discussion, use the firebase-talk
    google group.
  • For help troubleshooting your application that does not fall under one
    of the above categories, reach out to the personalized
    Firebase support channel.

[REQUIRED] Step 2: Describe your environment

  • Operating System version: macOS Sonoma 14.7.1
  • Firebase SDK version: 13.0.1
  • Firebase Product: remoteconfig
  • Node.js version: v.23.1.0
  • NPM version: 10.9.0

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

  1. Create the following condition using custom signals as (operator can be >=, = or <=) :
image
  1. When the value of the custom signal is set to 1.2.3.4.5, the evaluation returns false instead of true

(This is seen when the semantic version has the maximum number of segments, here 5)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions