Skip to content

URL exclusion button doesn't work for Curated URLs page #1253

@Kirandawadi

Description

@Kirandawadi

Describe the bug

URL exclusion button doesn't work for Curated URLs page. However, this button works well for Delta URLs page.

Steps To Reproduce

Steps to reproduce the behavior on https://sde-indexing-helper.nasa-impact.net/:

  1. Go to Delta URLs page for any collection (given that they have some Delta URLs and Curated URLs)
  2. Click on "Curated URLs" tab.
  3. Try to exclude/include some URLs by clicking on the cross/tick buttons in "Exclude" column.
  4. This fails.

Error Log from Console

delta_url_list.js:1429 Uncaught TypeError: Cannot read properties of undefined (reading 'exclude_pattern_type')
    at HTMLAnchorElement.<anonymous> (delta_url_list.js:1429:46)
    at HTMLBodyElement.dispatch (jquery.min.js:1627:237)
    at q.handle (jquery.min.js:1589:103)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions