Closed Bug 1663122 Opened 4 years ago Closed 4 years ago

Pocket fails to add tags from URL bar button

Categories

(Firefox :: Pocket, defect, P1)

Firefox 82
defect

Tracking

()

RESOLVED DUPLICATE of bug 1663028
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox80 --- unaffected
firefox81 --- unaffected
firefox82 --- verified

People

(Reporter: Fanolian+BMO, Assigned: thecount)

References

(Regression)

Details

(Keywords: nightly-community, regression, reproducible)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Build ID: 20200903151816

Steps to reproduce

  1. In a new profile, log in to Pocket from https://app.getpocket.com/
  2. Open a new tab, visit any site. (Actually you can use the same Pocket tab.)
  3. Click the Save to Pocket button on the URL bar.
    In the Add Tags field, enter any tag. (You don't have to pre-create a tag; it will create one for you)
  4. Press Save.
  5. Go back to Pocket tab and observe the newly added item.

Actual result

The item is added but without the assigned tag. In Browser Console this error is generated when I press Save:
(see the attached screenshot for better formatting)

Uncaught TypeError: can't access property "apiRequest", this is undefined    pktApi.jsm:522:5
    sendActions chrome://pocket/content/pktApi.jsm:522
    sendAction chrome://pocket/content/pktApi.jsm:511
    addTags chrome://pocket/content/pktApi.jsm:610
    addTagsToURL chrome://pocket/content/pktApi.jsm:562
    registerEventMessages chrome://pocket/content/main.js:607
    addMessageListener chrome://pocket/content/main.js:813
    sendMessage chrome://pocket/content/panels/js/messages.js:67
    sendMessage chrome://pocket/content/panels/js/saved.js:632
    initAddTagInput chrome://pocket/content/panels/js/saved.js:378
    jQuery 8
        dispatch
        handle
        add
        on
        each
        each
        on
        b
    initAddTagInput chrome://pocket/content/panels/js/saved.js:354
    create chrome://pocket/content/panels/js/saved.js:597
    create chrome://pocket/content/panels/js/saved.js:660
    <anonymous> chrome://pocket/content/panels/js/saved.js:722
    responseListener chrome://pocket/content/panels/js/messages.js:53
    addMessageListener chrome://pocket/content/panels/js/messages.js:26
    sendMessageToPanel chrome://pocket/content/main.js:848
    sendResponseMessageToPanel chrome://pocket/content/main.js:853
    registerEventMessages chrome://pocket/content/main.js:671
    addMessageListener chrome://pocket/content/main.js:813
    sendMessage chrome://pocket/content/panels/js/messages.js:67
    sendMessage chrome://pocket/content/panels/js/saved.js:632
    <anonymous> chrome://pocket/content/panels/js/saved.js:708
    jQuery 8
        j
        fireWith
        ready
        I
        promise
        <anonymous>
        <anonymous>
        <anonymous>

Expected result

A tag is assigned to the newly added item.

Notes

  1. I can still create or assign tags from Pocket's page. It does not work only from Firefox's URL bar button.
  2. I log in to my Pocket account by email, not a Firefox Account.
  3. Relevant locale settings according to about:support:
Internationalization & Localization

Application Settings
Requested Locales 	["en-US"]
Available Locales 	["en-US"]
App Locales 	["en-US"]
Regional Preferences 	["en-HK"]
Default Locale 	"en-US"

Operating System
System Locales 	["en-US","zh-Hant-HK"]
Regional Preferences 	["en-HK"]
Has Regression Range: --- → yes
Has STR: --- → yes
Flags: needinfo?(sdowne)
Regressed by: 1655124

[Tracking Requested - why for this release]:
It severely affects the workflow for Pocket users. Also the Save to Pocket button is one of few visible by default buttons in the URL bar.

Additional note

The issue is present whether extensions.pocket.onSaveRecs is true or false.

Set release status flags based on info from the regressing bug 1655124

Assignee: nobody → sdowne
Flags: needinfo?(sdowne)
Priority: -- → P1

Should be fixed in bug 1663028

Depends on: 1663028

Fanilian can you verify this in today's nightly (build id 20200911093056)?

Flags: needinfo?(Fanolian+BMO)

(In reply to Julien Cristau [:jcristau] from comment #6)

Fanilian can you verify this in today's nightly (build id 20200911093056)?

Fixed in 20200911093056. Thanks a lot.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(Fanolian+BMO)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: