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

Bug: grantがnullのページデータ表示時に空のアラート(青い枠)が表示されてしまう #944

Closed
yamaken1343 opened this issue May 14, 2019 · 1 comment · Fixed by #1009

Comments

@yamaken1343
Copy link

Environment

Host

item version
OS Ubuntu 16.04
GROWI 3.4.2
node.js 10.15.2
npm 6.4.1
Using Docker yes
Using growi-docker-compose yes

(Accessing https://{GROWI_HOST}/admin helps you to fill in above versions)

Client

item version
OS Ubuntu 18.04
browser Vivaldi 2.4.1488.38

How to reproduce? (再現手順)

  1. UpdatePage API を用いて grant を指定せずにページを更新する

What happens? (症状)

  • grantがnullの状態でページが更新される
  • 以下のような青枠が表示される
    Screenshot from 2019-05-14 15-41-09

What is the expected result? (期待される動作)

下記のいずれかが自然かと思います.

  • grant未指定の場合はページが更新できない(エラーを発生させる)
  • grant未指定の場合は自動的に全体公開のgrantが振られる
  • grantがnullであることの旨が表示される

Note

  • grantを正しいものに変更すると青枠は消える
@yuki-takei yuki-takei changed the title grantがnullのときに青枠が表示される Bug: grantがnullのページデータ表示時に空のアラート(青い枠)が表示されてしまう May 16, 2019
@yuki-takei
Copy link
Member

@yamaken1343 ご報告ありがとうございます。再現確認しました。
対策を講じて近々リリースします。

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

Successfully merging a pull request may close this issue.

3 participants