Skip to content

Tabs in Set Field popup's navbar don't toggle the Set Field form #708

@rhodges

Description

@rhodges

Describe the bug
When using the Set Fields forms, the tabs to switch between 'Tags' and 'Advanced' forms do nothing.
Note: This is possibly related to issue #707 (SetField Form Not Displaying).

To Reproduce
Steps to reproduce the behavior:

  1. Clone the latest repo
    • master branch
  2. Enable setField in geoportal/src/main/webapp/app/context/app-config.js
    • allow: true
    • adminOnly: true
  3. Build the .war
  4. Deploy on Tomcat
  5. Populate Geoportal with a series of records
  6. Log in as an admin
    • I'm using authentication-simple with default gptuser (ROLE_ADMIN)
  7. Expand 'options' under any record and click on 'Set Field'
  8. Clicking on the tabs 'Tags' or 'Advanced' do nothing to impact the form

Expected behavior
I expect clicking on the 'Advanced' tab to bring me to the form where I can edit fields, or clicking on 'Tags' to return me to the Tags field.

Screenshots
Not available due to issue #707.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser: Firefox
  • Versions: Geoportal Catalog (master, latest); Harvester (3.0.0); Elasticsearch (8.19.2); JDK17; Tomcat 9.0.115

Additional context
The HTML is present, and I can manipulate the DOM to get them to show. I'm guessing the ..._tagsPanel and ..._advancedPanel elements are supposed to toggle their active class when the tabs are clicked. Since the elements don't appear to change in anyway (regardless of getting the content to show via CSS manipulation to get past issue 707), I believe this is a separate, but likely related issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions