예정된 변경 사항 활성화 문제

Sorry for the delay, this has been merged now.

4개의 좋아요

I just noticed there’s still a problem. When using the Edge browser on a mobile phone and the Edge browser on a computer, I set permissions so that only administrators can have access. The page displays that the setting was successful, but after refreshing, it reverts to the “Nobody” status.

I’m a bit confused here, if I log into your site (https://tracker.discourse.group/ right?) and I see the Staff option in the list, which you don’t have (or more accurately you seem to have it translated:

If I select this and reload it sticks. Am I trying it on the correct site?

I can repro. I think the problem is not that the staff group isn’t saved, but that after a reload it’s not shown as “selected” in the upcoming change

So I select “Team” (staff) here, then I reload, and then the interface shows “no one”. But after I select “specific groups” you can see that it was already enabled for the team group as expected. So “staff” is saved and it works for staff, but I cannot see that in the upcoming change table.


Edit:

After checking in the browser dev tools, I noticed that the JSON payload contains:

“enabled_for”: “staff”

The dropdown value is initialized from enabled_for, but the “Staff” option in the select uses the actual staff group name (e.g. "Team") as its value.

Since "staff" is not one of the dropdown option values, the select cannot match it after reload and falls back to showing “no one”.

1개의 좋아요

I have this issue on a self-hosted VPS website, not on https://tracker.discourse.group/

Hmm okay thanks I will try reproduce again :eyes:

2개의 좋아요

Okay fix is here:

https://github.com/discourse/discourse/pull/38140

3개의 좋아요

오늘 “보고서 개선” 변경 사항에서도 비슷한 문제를 발견한 것 같습니다. 곧 제거될 예정이라는 것은 알고 있지만, 원인이 무엇인지 확실하지 않아 일단 보고합니다. 드롭다운에서 “전체 사용자” 대신 "스태프"와 "사용자 정의 그룹"만 제공되는 유일한 변경 사항이기 때문일까요? 그렇다면 유사한 구성을 가진 향후 변경 사항에도 영향을 미칠 수 있습니다.

ajax.js:233  PUT https://forum.discourse.group/admin/config/upcoming-changes/toggle 422 (Unprocessable Content)
send @ jquery.js:9940
ajax @ jquery.js:9521
i @ ajax.js:233
$ @ ajax.js:252
toggleChange @ upcoming-change-item.gjs:192
enabledForChanged @ upcoming-change-item.gjs:264
handleInput @ d-select.gjs:51
handleMouseUp_ @ (unknown)

2개의 좋아요

@Moin 감사합니다 - 곧™ 수정될 예정입니다

3개의 좋아요

고맙습니다. 변경 사항이 이미 제거되었기 때문에 확인이 불가능합니다.

1개의 좋아요