[SOLVED] Bug: Rating not working after latest cloud.squidex.io update

I have…

  • Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • [ x] Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

Prior to yesterdays update this was working fine.

Expected behavior

The rating should be saved to MongoDB.

Minimal reproduction of the problem

  1. Create a new schema.
  2. Add a number (set the UI to Rating (stars))
  3. Create a content item of that new schema
  4. Select 1 star and notice how the value is not persisted in the database

Screenshots:


Environment

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • [ x] Cloud version

Version: 7.0.0

Browser:

  • [ x] Chrome (desktop) (Mac)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others:

Okay I found something really weird; selecting 2-5 works fine but when I select 1 star then it will not save the value to the database.

Okay did another test and this time I changed the “Editor” from “Stars” to “Input” and now I can successfully save the value 1. I still need the “Stars” editor to work however!

Works fine for me. I have also not updated this class since 10 months.

@Sebastian Can you log in to my app and try it out? It still does not work for me.

I can reproduce it now. It happens with new content only. But this must be an old bug, before the deployment.

The reason is that the initial value was set to “1”

Fix is in the build pipeline.

That’s excellent!

I also found out that when you create a new item using the API with 1 star rating then this works also. So it is only from the Editorial UI that it does not work.

Will the pipeline autodeploy a new build to cloud.squidex.io today or must I wait until you make a new production deploy on a specific date?

It will not autodeploy, but I will deploy it today. This time you do not have to wait so long. I was afraid aboput the previous release (because of I was expecting that something will go wrong), but now the fear is gone :smiley:

Glad things are working out as expected :partying_face:

Please ping me when the new deploy is live so that I can test and confirm the fix.

I have deployed it to the cloud.

Setting rating to 1 in the UI works now - thanks!

This topic was automatically closed after 40 hours. New replies are no longer allowed.