[2.5.32] BUG: value_group for internet_authkey is displayed instead client value

I found a bug regarding group/client settings:

I have two clients which displays a group_value for internet_authkey! It took me ages to notice that (checked AJAX response for the right value). Other clients display their own value but two of them display group_value instead of value_client.

AJAX response for wrong client:

{
	"internet_authkey": {
		"use": 1,
		"value": "bbbb",
		"value_client": "bbbb",
		"value_group": "aaaa"
	}
}

And for another client:

{
	"internet_authkey": {
		"use": 2,
		"value": "cccc",
		"value_client": "",
		"value_group": "aaaa"
	}
}

urbackup should not use 2 at all for that key, right? This settings should not have group value right?

Only display issue, the clients have right value in their generated installers

Yeah, should be 2. Now the question would be how that 1 got into the database…

I got it reproduced:

Create a client. use = 2.

Create a group, add the client. Then toggle the group setting icon though all states until we have the group-icon (the bag) again. Now save: the client has use = 1.

Now I removed the group. use is still 1 and can never be set back to 2.

1 Like

Anything new here?