Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-9540

Refreshing browser on capability screen hides mosts settings and can result in errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0-m7, 3.0.0
    • Fix Version/s: None
    • Component/s: Capabilities, UI
    • Labels:
      None
    • Environment:
      Chrome MacOSX

      Description

      If on a capability, if you refresh your browser and then go to the capability settings, all the settings except "Enable" are hidden. If you attempt to save you get the attached error.

      Also this results in errors like this in the console:

      2015-12-16 10:51:40,954-0500 WARN [qtp48795548-288] admin com.sonatype.nexus.clm.internal.capability.ClmCapabilityDescriptor - Validation failed; 3 constraints violated:
      1) may not be empty, type: class com.sonatype.nexus.clm.ClmConfiguration, property: password, value: null
      2) may not be empty, type: class com.sonatype.nexus.clm.ClmConfiguration, property: username, value: null
      3) may not be empty, type: class com.sonatype.nexus.clm.ClmConfiguration, property: url, value: null

      2015-12-16 10:52:49,895-0500 WARN [qtp48795548-931] admin com.sonatype.nexus.plugins.outreach.internal.capabilities.OutreachManagementCapabilityDescriptor - Validation failed; 1 constraints violated:
      1) may not be empty, type: class com.sonatype.nexus.plugins.outreach.internal.capabilities.OutreachManagementCapabilityConfiguration, property: baseUrl, value: null

      The errors seem to be dependant on the capability you are refreshing.
      You cannot see this behavior if the capability you choose just has Enable behavior (nothing is hidden in that case).
      Try with Outreach: Management (for example).

      Despite having a field and save button, the Summary pill section seems unaffected. Even if you are on the Summary pill section when you refresh, the Settings pill area is still affected.
      You can fix this by leaving the capability area and returning or totally reloading Nexus (browser or tab). Refreshing browser again (obviously?) does not fix this but the Nexus refresh button in the header does.

      I did not check older NX3 or NX2 at this time.
      This occurs with debug on and off. No errors in JS console.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jtom Joe Tom
              Last Updated By:
              Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  tigCommentSecurity.panel-title