Skip to content

Uncaught ReferenceError: SchemaAlignment is not defined #6070

Closed

Description

@frafra

To Reproduce

Steps to reproduce the behavior:

  1. Create a facet from a column

Current Results

Nothing happens.
Console logs:

Uncaught ReferenceError: SchemaAlignment is not defined
    resizeAll https://openrefine.nina.no/project-bundle.js:37771
    showLeftPanel https://openrefine.nina.no/project-bundle.js:37844
    Facet https://openrefine.nina.no/project-bundle.js:41268
    RangeFacet https://openrefine.nina.no/project-bundle.js:42078
    addFacet https://openrefine.nina.no/project-bundle.js:40098
    click https://openrefine.nina.no/project-bundle.js:47149
    createMenuItem https://openrefine.nina.no/project-bundle.js:38732
    dispatch https://openrefine.nina.no/project-bundle.js:5432
    handle https://openrefine.nina.no/project-bundle.js:5236
    add https://openrefine.nina.no/project-bundle.js:5284
    <anonymous> https://openrefine.nina.no/project-bundle.js:11682
    prop https://openrefine.nina.no/project-bundle.js:11095
    on https://openrefine.nina.no/project-bundle.js:5184
    each https://openrefine.nina.no/project-bundle.js:387
    each https://openrefine.nina.no/project-bundle.js:209
    on https://openrefine.nina.no/project-bundle.js:5183
    on https://openrefine.nina.no/project-bundle.js:5908
    createMenuItem https://openrefine.nina.no/project-bundle.js:38731
    createAndShowStandardMenu https://openrefine.nina.no/project-bundle.js:38751
    createMenuItem https://openrefine.nina.no/project-bundle.js:38723
    handle https://openrefine.nina.no/project-bundle.js:5897
    dispatch https://openrefine.nina.no/project-bundle.js:5432
    handle https://openrefine.nina.no/project-bundle.js:5236
    add https://openrefine.nina.no/project-bundle.js:5284
    <anonymous> https://openrefine.nina.no/project-bundle.js:11682
    prop https://openrefine.nina.no/project-bundle.js:11095
    on https://openrefine.nina.no/project-bundle.js:5184
    each https://openrefine.nina.no/project-bundle.js:387
    each https://openrefine.nina.no/project-bundle.js:209
    on https://openrefine.nina.no/project-bundle.js:5183
    on https://openrefine.nina.no/project-bundle.js:5908
    createMenuItem https://openrefine.nina.no/project-bundle.js:38708
    createAndShowStandardMenu https://openrefine.nina.no/project-bundle.js:38751
    _createMenuForColumnHeader https://openrefine.nina.no/project-bundle.js:46907
    _render https://openrefine.nina.no/project-bundle.js:46738
    dispatch https://openrefine.nina.no/project-bundle.js:5432
    handle https://openrefine.nina.no/project-bundle.js:5236
    add https://openrefine.nina.no/project-bundle.js:5284
    <anonymous> https://openrefine.nina.no/project-bundle.js:11682
    prop https://openrefine.nina.no/project-bundle.js:11095
    on https://openrefine.nina.no/project-bundle.js:5184
    each https://openrefine.nina.no/project-bundle.js:387
    each https://openrefine.nina.no/project-bundle.js:209
    on https://openrefine.nina.no/project-bundle.js:5183
    on https://openrefine.nina.no/project-bundle.js:5908
    _render https://openrefine.nina.no/project-bundle.js:46737
    DataTableColumnHeaderUI https://openrefine.nina.no/project-bundle.js:46708
    createColumnHeader https://openrefine.nina.no/project-bundle.js:45645
    _renderDataTables https://openrefine.nina.no/project-bundle.js:45651
    render https://openrefine.nina.no/project-bundle.js:45408
    _showRows https://openrefine.nina.no/project-bundle.js:45753
    fetchRows https://openrefine.nina.no/project-bundle.js:38201
    fire https://openrefine.nina.no/project-bundle.js:3502
project-bundle.js:37771:7
    resizeAll https://openrefine.nina.no/project-bundle.js:37771
    showLeftPanel https://openrefine.nina.no/project-bundle.js:37844
    Facet https://openrefine.nina.no/project-bundle.js:41268
    RangeFacet https://openrefine.nina.no/project-bundle.js:42078
    addFacet https://openrefine.nina.no/project-bundle.js:40098
    click https://openrefine.nina.no/project-bundle.js:47149
    createMenuItem https://openrefine.nina.no/project-bundle.js:38732
    dispatch https://openrefine.nina.no/project-bundle.js:5432
    handle https://openrefine.nina.no/project-bundle.js:5236
    (Async: EventListener.handleEvent)
    add https://openrefine.nina.no/project-bundle.js:5284
    <anonymous> https://openrefine.nina.no/project-bundle.js:11682
    prop https://openrefine.nina.no/project-bundle.js:11095
    on https://openrefine.nina.no/project-bundle.js:5184
    each https://openrefine.nina.no/project-bundle.js:387
    each https://openrefine.nina.no/project-bundle.js:209
    on https://openrefine.nina.no/project-bundle.js:5183
    on https://openrefine.nina.no/project-bundle.js:5908
    createMenuItem https://openrefine.nina.no/project-bundle.js:38731
    createAndShowStandardMenu https://openrefine.nina.no/project-bundle.js:38751
    createMenuItem https://openrefine.nina.no/project-bundle.js:38723
    handle https://openrefine.nina.no/project-bundle.js:5897
    dispatch https://openrefine.nina.no/project-bundle.js:5432
    handle https://openrefine.nina.no/project-bundle.js:5236
    (Async: EventListener.handleEvent)
    add https://openrefine.nina.no/project-bundle.js:5284
    <anonymous> https://openrefine.nina.no/project-bundle.js:11682
    prop https://openrefine.nina.no/project-bundle.js:11095
    on https://openrefine.nina.no/project-bundle.js:5184
    each https://openrefine.nina.no/project-bundle.js:387
    each https://openrefine.nina.no/project-bundle.js:209
    on https://openrefine.nina.no/project-bundle.js:5183
    on https://openrefine.nina.no/project-bundle.js:5908
    createMenuItem https://openrefine.nina.no/project-bundle.js:38708
    createAndShowStandardMenu https://openrefine.nina.no/project-bundle.js:38751
    _createMenuForColumnHeader https://openrefine.nina.no/project-bundle.js:46907
    _render https://openrefine.nina.no/project-bundle.js:46738
    dispatch https://openrefine.nina.no/project-bundle.js:5432
    handle https://openrefine.nina.no/project-bundle.js:5236
    (Async: EventListener.handleEvent)
    add https://openrefine.nina.no/project-bundle.js:5284
    <anonymous> https://openrefine.nina.no/project-bundle.js:11682
    prop https://openrefine.nina.no/project-bundle.js:11095
    on https://openrefine.nina.no/project-bundle.js:5184
    each https://openrefine.nina.no/project-bundle.js:387
    each https://openrefine.nina.no/project-bundle.js:209
    on https://openrefine.nina.no/project-bundle.js:5183
    on https://openrefine.nina.no/project-bundle.js:5908
    _render https://openrefine.nina.no/project-bundle.js:46737
    DataTableColumnHeaderUI https://openrefine.nina.no/project-bundle.js:46708
    createColumnHeader https://openrefine.nina.no/project-bundle.js:45645
    _renderDataTables https://openrefine.nina.no/project-bundle.js:45651
    render https://openrefine.nina.no/project-bundle.js:45408
    _showRows https://openrefine.nina.no/project-bundle.js:45753
    fetchRows https://openrefine.nina.no/project-bundle.js:38201
    fire https://openrefine.nina.no/project-bundle.js:3502

Expected Behavior

Faceting should work as usual.

Versions

  • Operating System: Ubuntu 20.04
  • Browser Version: Firefox 117
  • JRE or JDK Version: openjdk version "17.0.8.1" 2023-08-24
  • OpenRefine: version 3.7.5 [a04fb5f]

I use the containerized version built here: https://github.com/NINAnor/openrefine/pkgs/container/openrefine.

Activity

  1. added
    Type: BugIssues related to software defects or unexpected behavior, which require resolution.
    Status: Pending ReviewIndicates that the issue or pull request is awaiting review by project maintainers or collaborators
    on Sep 26, 2023
  2. frafra commented on Sep 27, 2023

    @frafra
    ContributorAuthor

    Backporting #5953 should fix this issue.

  3. added this to the 3.7 milestone on Oct 9, 2023
  4. Abbe98 commented on Oct 17, 2023

    @Abbe98
    Member

    This can be closed, right?

  5. tfmorris commented on Oct 17, 2023

    @tfmorris
    Member

    Strange that it didn't get closed automatically when #6073 was merged.

  6. wetneb commented on Oct 17, 2023

    @wetneb
    Member

    That only works for PRs made against master and this one was against 3.7

  7. removed
    Status: Pending ReviewIndicates that the issue or pull request is awaiting review by project maintainers or collaborators
    on Oct 26, 2023
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

    Type: BugIssues related to software defects or unexpected behavior, which require resolution.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions