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

State value has wrong type (js-controller 3.3.x) #162

Open
Feuer-sturm opened this issue Apr 29, 2021 · 4 comments
Open

State value has wrong type (js-controller 3.3.x) #162

Feuer-sturm opened this issue Apr 29, 2021 · 4 comments

Comments

@Feuer-sturm
Copy link

js-controller: 3.3.1
Admin 5.0.11
web-speedy Adapter: 0.2.0

Using new js-controller 3.3.1 will throw the following warnings:

web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.0.id" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.0.lat" has wrong type "string" but has to be "number" 
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.0.lon" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.1.id" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.1.lat" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.1.lon" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.2.id" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.2.lat" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.2.lon" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.3.id" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.3.lat" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.3.lon" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.4.id" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.4.lat" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.Closest_servers.4.lon" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.running_download_speed" has wrong type "string" but has to be "number"
web-speedy.0 (1130) State value to set for "web-speedy.0.running_upload_speed" has wrong type "string" but has to be "number"
@Feuer-sturm
Copy link
Author

@DutchmanNL Do you have time to fix this issue and #169 for using js-controller 3.3.x

I tried to understand where the problem is in the code but I did not find it :-(

@dp20eic
Copy link

dp20eic commented Sep 17, 2021

@DutchmanNL
I would not open a new issues so I copy my wrong state values in this post.

js-controller: 3.3.18
Admin: 5.1.25
web-speedy Adapter: 0.2.0

"web-speedy.0.Results.server.id" has to be type "number" but received type "string"
"web-speedy.0.Results.client.ip" has to be type "number" but received type "string"
"web-speedy.0.Results.Last_Run" has to be type "number" but received type "object"
"web-speedy.0.running_upload_speed" has to be type "number" but received type "string"
"web-speedy.0.running_download_speed" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.4.id" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.4.lon" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.4.lat" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.3.id" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.3.lon" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.3.lat" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.2.id" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.2.lon" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.2.lat" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.1.id" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.1.lon" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.1.lat" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.0.id" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.0.lon" has to be type "number" but received type "string"
"web-speedy.0.Closest_servers.0.lat" has to be type "number" but received type "string"

thanks for the nice Adapter.

@BlueBook4
Copy link

The Adapter ist great.
But this issue too :/

Same problem.
Hope you can fix

@Negalein
Copy link

same Problem

State value to set for "web-speedy.0.running_upload_speed" has to be type "number" but received type "string"

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

4 participants