clear-code / tb-redthunderminebird

Modified version of redthunderminebird. Original: https://github.com/arima-ryunosuke/redthunderminebird
Mozilla Public License 2.0
7 stars 3 forks source link

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

Open tomowariacina opened 2 months ago

tomowariacina commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

tomowariacina commented 2 months ago

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 commented 2 months ago

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.