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

Blank pop-up when creating or updating new issue #8

Open
tomowariacina opened this issue Jun 20, 2024 · 4 comments
Open

Blank pop-up when creating or updating new issue #8

tomowariacina opened this issue Jun 20, 2024 · 4 comments

Comments

@tomowariacina
Copy link

I've got a problem with blank pop-up windows in Thunderbird when I'm trying to create or update issue from e-mail. Here is output from debug mode:

redthunderminebird:     init editor common.js:121:11
redthunderminebird:       myself  account3 common.js:121:11
redthunderminebird:        getAndFallback: redmine[account3]:myself common.js:121:11
redthunderminebird:         get: redmine[account3]:myself common.js:121:11
redthunderminebird:         get:not cached  redmine[account3]:myself common.js:121:11
redthunderminebird:        getAndFallback:call getter common.js:121:11
redthunderminebird:          request: GET users/current.json common.js:121:11
redthunderminebird:           request url: https://xxx/users/current.json?key=6126dff568d16a78d81b2391c86d57e8f259f222 common.js:121:11
redthunderminebird:           request send: <empty string> common.js:121:11
redthunderminebird:       members: 0 account3 common.js:121:11
redthunderminebird:        getAndFallback: redmine[account3]:members:0 common.js:121:11
redthunderminebird:         get: redmine[account3]:members:0 common.js:121:11
redthunderminebird:         get:not cached  redmine[account3]:members:0 common.js:121:11
redthunderminebird:        getAndFallback:call getter common.js:121:11
redthunderminebird:          request: GET projects/0/memberships.json common.js:121:11
redthunderminebird:           request url: https://xxx/projects/0/memberships.json?key=6126dff568d16a78d81b2391c86d57e8f259f222 common.js:121:11
redthunderminebird:           request send: <empty string> common.js:121:11
redthunderminebird:        projects  account3 common.js:121:11
redthunderminebird:         getAndFallback: redmine[account3]:projects common.js:121:11
redthunderminebird:          get: redmine[account3]:projects common.js:121:11
redthunderminebird:          get:not cached  redmine[account3]:projects common.js:121:11
redthunderminebird:         getAndFallback:call getter common.js:121:11
redthunderminebird:           request: GET projects.json common.js:121:11
redthunderminebird:            request url: https://xxx/projects.json?offset=0&limit=25&key=6126dff568d16a78d81b2391c86d57e8f259f222 common.js:121:11
redthunderminebird:            request send: <empty string> common.js:121:11
redthunderminebird:        trackers common.js:121:11
redthunderminebird:         getAndFallback: redmine[account3]:trackers common.js:121:11
redthunderminebird:          get: redmine[account3]:trackers common.js:121:11
redthunderminebird:          get:not cached  redmine[account3]:trackers common.js:121:11
redthunderminebird:         getAndFallback:call getter common.js:121:11
redthunderminebird:           request: GET trackers.json common.js:121:11
redthunderminebird:            request url: https://xxx/trackers.json?key=6126dff568d16a78d81b2391c86d57e8f259f222 common.js:121:11
redthunderminebird:            request send: <empty string> common.js:121:11
redthunderminebird:        issueStatuses  account3 common.js:121:11
redthunderminebird:         getAndFallback: redmine[account3]:issueStatuses common.js:121:11
redthunderminebird:          get: redmine[account3]:issueStatuses common.js:121:11
redthunderminebird:          get:not cached  redmine[account3]:issueStatuses common.js:121:11
redthunderminebird:         getAndFallback:call getter common.js:121:11
redthunderminebird:           request: GET issue_statuses.json common.js:121:11
redthunderminebird:            request url: https://xxx/issue_statuses.json?key=6126dff568d16a78d81b2391c86d57e8f259f222 common.js:121:11
redthunderminebird:            request send: <empty string> common.js:121:11
redthunderminebird:        versions: 0 account3 common.js:121:11
redthunderminebird:         getAndFallback: redmine[account3]:version:0 common.js:121:11
redthunderminebird:          get: redmine[account3]:version:0 common.js:121:11
redthunderminebird:          get:not cached  redmine[account3]:version:0 common.js:121:11
redthunderminebird:         getAndFallback:call getter common.js:121:11
redthunderminebird:           request: GET projects/0/versions.json common.js:121:11
redthunderminebird:            request url: https://xxx/projects/0/versions.json?key=6126dff568d16a78d81b2391c86d57e8f259f222 common.js:121:11
redthunderminebird:            request send: <empty string> common.js:121:11
redthunderminebird:            request status: 0 common.js:121:11
redthunderminebird:            request response: <empty string> common.js:121:11
redthunderminebird:         set: redmine[account3]:myself common.js:121:11
redthunderminebird:          get: redmine[account3]:myself common.js:121:11
redthunderminebird:          get:not cached  redmine[account3]:myself common.js:121:11
redthunderminebird:             request status: 0 common.js:121:11
redthunderminebird:             request response: <empty string> common.js:121:11
redthunderminebird:          set: redmine[account3]:projects common.js:121:11
redthunderminebird:           get: redmine[account3]:projects common.js:121:11
redthunderminebird:           get:not cached  redmine[account3]:projects common.js:121:11
redthunderminebird:             request status: 0 common.js:121:11
redthunderminebird:             request response: <empty string> common.js:121:11
redthunderminebird:          set: redmine[account3]:trackers common.js:121:11
redthunderminebird:           get: redmine[account3]:trackers common.js:121:11
redthunderminebird:           get:not cached  redmine[account3]:trackers common.js:121:11
redthunderminebird:             request status: 0 common.js:121:11
redthunderminebird:             request response: <empty string> common.js:121:11
redthunderminebird:          set: redmine[account3]:issueStatuses common.js:121:11
redthunderminebird:           get: redmine[account3]:issueStatuses common.js:121:11
redthunderminebird:           get:not cached  redmine[account3]:issueStatuses common.js:121:11
Uncaught (in promise) TypeError: items is undefined
    initSelect moz-extension://7e3514a7-3dd9-4857-9b3c-f262c60e3978/dialog/IssueEditor.js:295
    initTrackers moz-extension://7e3514a7-3dd9-4857-9b3c-f262c60e3978/dialog/IssueEditor.js:328
    IssueEditor moz-extension://7e3514a7-3dd9-4857-9b3c-f262c60e3978/dialog/IssueEditor.js:58
    <anonymous> moz-extension://7e3514a7-3dd9-4857-9b3c-f262c60e3978/dialog/create-issue/create-issue.js:57
    async* moz-extension://7e3514a7-3dd9-4857-9b3c-f262c60e3978/dialog/create-issue/create-issue.js:43
IssueEditor.js:295:24
redthunderminebird:             request status: 0 common.js:121:11
redthunderminebird:             request response: <empty string> common.js:121:11
redthunderminebird:            request status: 0 common.js:121:11
redthunderminebird:            request response: <empty string> common.js:121:11
redthunderminebird:         set: redmine[account3]:members:0 common.js:121:11
redthunderminebird:          get: redmine[account3]:members:0 common.js:121:11
redthunderminebird:          get:not cached  redmine[account3]:members:0 common.js:121:11
redthunderminebird:           [dialog] Periodical check for onUpdated 142: {}
@piroor
Copy link
Member

piroor commented Jun 26, 2024

Thanks, I've pushed a change 9c9aaeb to avoid this kind error.

BTW, the log looks saying that the Redmine instance responded nothing for a request to get the list of trackers. Is there any error logged to your Redmine?

@piroor
Copy link
Member

piroor commented Jun 26, 2024

It may be caused by permission of users on Redmine if this problem happens only on some users.

@tomowariacina
Copy link
Author

tomowariacina commented Jun 26, 2024

BTW, the log looks saying that the Redmine instance responded nothing for a request to get the list of trackers. Is there any error logged to your Redmine?

Hi, I'm pasting the log in the [attachment.]
loggg.txt

Also, as I found out, we are talking mostly about 2 options which looks unusable/gray for me but for one person works:
F0vnFe4fLfEIbdVJ

@piroor
Copy link
Member

piroor commented Jul 1, 2024

I've read the log but sadly there looks to be no helpful information about this issue...

Some menu commands and the action commands (in your screenshot) are dynamically enabled or disabled based on the configuration of this addon.

  • "Link to existing issue" will be enabled if the message is associated to any Redmine issue or the folder is mapped to any Redmine project with the options page of this addon. The folder will be treated as mapped to the default mapped project, if no specific folder is chosen. Otherwise the menu will be disabled.
  • "Open linked issue" will also be enabled if the message is already associated to any Redmine issue, but it will be enabled whether the folder is associated to any project or not.
  • "Open Web UI", "Create" and "Update" are always available.

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

2 participants