Skip to content

TypeError while opening Links/ #279

Description

@lidel

Explorer returns an error while traversing some DAGs.

Steps to reproduce:

  1. Open QmWYmE8fzNRYg48E5PaDhMfHqfbPjyQVmUjGQfgAsa4NYq
  2. Click on Links/0, you will be moved to QmY4HSz1oVGdUzb8poVYPLsoqBZjH6LZrtgnme9wWn2Qko
  3. Then click on Links/0 again, you will see error looking similar to this:

    Screenshot_2020-09-21 Exploring IPLD

Demo: https://webui.ipfs.io/#/explore/QmWYmE8fzNRYg48E5PaDhMfHqfbPjyQVmUjGQfgAsa4NYq/Links/0

Additional notes:

  • afaik this happens only when trying to open leaf nodes that are not raw leaves (dag-pb without any children) – perhaps something in IPLD APIs changed and we now need to check if Links array is present?

Activity

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

    P2Medium: Good to have, but can wait until someone steps upeffort/daysEstimated to take multiple days, but less than a weekexp/intermediatePrior experience is likely helpfulhelp wantedSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)need/analysisNeeds further analysis before proceeding

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions