Skip to content

Open online interactive sample leads to 404 for non-classes (mixins, extension types) #5062

Closed

Description

@PurplePolyhedron

Describe the bug
Open online interactive sample of RestorationMixin leads to 404 for

To Reproduce
Steps to reproduce the behavior:
Go to RestorationMixin
tap Open online interactive sample for RestorationMixin

Expected behavior
It should open https://api.flutter.dev/flutter/widgets/RestorationMixin-mixin.html
but it opens https://api.flutter.dev/flutter/widgets/RestorationMixin-class.html , which don't exist

Please complete the following information:

You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.

Dart Code extension: 3.87.20240402
Flutter extension: 3.87.20240402 (activated)

App: Visual Studio Code
App Host: desktop
Version: mac 1.88.0

Flutter version: Flutter (Channel master, 3.22.0-5.0.pre.59, )

Activity

  1. added this to the v3.88.0 milestone on Apr 8, 2024
  2. added
    in flutterRelates to running Flutter apps
    in editorRelates to code editing or language features
    on Apr 8, 2024
  3. changed the title [-]Open online interactive sample leads to 404 for `RestorationMixin`[/-] [+]Open online interactive sample leads to 404 for mixins[/+] on Apr 8, 2024
  4. changed the title [-]Open online interactive sample leads to 404 for mixins[/-] [+]Open online interactive sample leads to 404 for mixins, extension types[/+] on Apr 8, 2024
  5. changed the title [-]Open online interactive sample leads to 404 for mixins, extension types[/-] [+]Open online interactive sample leads to 404 for non-classes (mixins, extension types)[/+] on Apr 8, 2024
  6. DanTup commented on Apr 8, 2024

    @DanTup
    Member

    Good catch - looks like mixins and extension types have their own suffixes in URLs and we always assumed -class. Fixed for the next release.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresin flutterRelates to running Flutter appsis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions