Skip to content

Premium Button Components - Loading bug for unpublished SKUs #7376

Open
@Lulalaby

Description

@Lulalaby

Description

Unpublishing an SKU (Switching Guild Subscription <> User Subscription i.e.) causes an infinite loading state of sku button components.

Affects desktop and web.

Making issue as per request of DV8.
Ref: https://canary.discord.com/channels/1317206872763404478/1336353036238323763/1336354565041160232

Steps to Reproduce

  • have a user subscription
  • send a button with the user subscription sku
  • unpublish the user subscription
  • (optionally) switch to a guild subscription
  • reload client
  • infinite loading for component

Expected Behavior

The button should say that the sku is unavailable

Current Behavior

If you switch the subscription type at some point, old messages try to load the old subscription, but due to being unpublished, it gets stuck in the loading state apparently. Only affects web and desktop at the current time because mobile still doesn't support subscriptions.

Screenshots/Videos

image-1.png

Client and System Information

canary 365093 (2e7bdc1) Host 1.0.543 x64 (58336) Build Override: N/A Windows 11 64-bit (10.0.26120)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmessage componentsclick click click click click click clicksyncedSynced to internal tracker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions