Hi, has anyone seen this issue when contract publi...
# general
t
Hi, has anyone seen this issue when contract publishing in pact CLI using pactflow version 1.21.0?
Copy code
Exception: ArgumentError: comparison of Integer with nil failed
y
that is a very old version from 2017 https://github.com/pact-foundation/pact-ruby-standalone/releases/tag/v1.21.0 is that the correct version, and can you provide reproduction steps, the pacts you are publishing, and command executing
t
We are using the paid Pactflow version of 1.21.0 with the Pact CLI docker with the latest tag.
y
Ok thanks for that, If you can add more detail, it would be helpful 👍 https://docs.pact.io/help/how_to_ask_for_help#4-ask-a-good-question
Just tested cross platform against ubuntu/windows/macos (although in GH there are no docker available in macos/windows) so that is using on those platforms the standalone binary https://github.com/pact-foundation/pact-ruby-standalone/releases/tag/v1.91.0 and the latest pact broker ruby gem. could you try dropping back a docker tag, and check if that solves it https://hub.docker.com/r/pactfoundation/pact-cli/tags publishing provider contracts https://github.com/pactflow/example-bi-directional-provider-postman/actions/runs/3363396234/jobs/5576478237 publishing consumer contracts https://github.com/pactflow/example-bi-directional-consumer-cypress/actions/runs/3363395811/jobs/5576479432 (failures are due to can-i-deploy not having a registered provider 👍)
t
dropping pactflow back to 1.20.0 worked for us. Was there any major changes in 1.21.0? https://docs.pactflow.io/docs/on-premises/releases/1.21.0
@Yousaf Nabi (pactflow.io) is the publication of the above pacts against the 1.21.0 Pactflow?
y
It's against the SaaS version not the onprem Changelog for the Broker changes are part of the OSS Broker, so all the commits are visible https://github.com/pact-foundation/pact_broker/blob/master/CHANGELOG.md I would raise a support message at support@pactflow.io , someone may raise the issue against the open source broker, if they can recreate it