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

UI say that a member weight = 0 is possible but server return an error #312

Open
wargreen opened this issue Oct 28, 2024 · 2 comments
Open

Comments

@wargreen
Copy link

wargreen commented Oct 28, 2024

Hi,

I try to setup an member with 0 weight for allow to put in the balance the "income" (chapeau in french, i don't know in english) of a street show in the collective balance. This member should pay for everybody but not be refund : this is a gift from external people :).

When tried to set the weight to 0 i got the server error :
Impossible d'enregistrer le membre: {"ocs":{"meta":{"status":"failure","statuscode":400,"message":""},"data":{"weight":"N'est pas une valeur d\u00e9cimale valide"}}}

If i try with 0,00001 i got this message :
image

Thanks for this tool.

@wargreen wargreen changed the title UI say that a member weight = 0 is possible but server return and error UI say that a member weight = 0 is possible but server return an error Oct 28, 2024
@bertwesarg
Copy link

I noticed this too and commented on it here

@weginet
Copy link

weginet commented Dec 19, 2024

I set the weight to 0 manually in the db (cospend_members.weight), but the behaviour was unexpected (as if I would set 1). Synced in Monybuster, it worked.

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

No branches or pull requests

3 participants