Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Namyalg opened this issue Dec 2, 2024 · 0 comments · May be fixed by #2794
Assignees

Comments

@Namyalg
Copy link

Namyalg commented Dec 2, 2024

[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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants