Skip to content

Unable to create more than 1 project from the UI without switching views #1025

Closed

Description

@malice00

Current Behavior

I was doing some testing to see if we want to upgrade to 4.12.0 and tried to create several projects in the UI. After creating a new project, the overlay for a new project does open, validations do work, but clicking the 'create'-button doesn't do anything. The button is active, it just doesn't do anything. No errors in the logs either.
Switching from the project-view to a different view and then back, makes the creation work again, but again only for a single new project!

Steps to Reproduce

  1. In the UI, create a new project
  2. Create another new project

Expected Behavior

I expect to be able to create new projects without having to switch views, just like before in 4.11.x

Dependency-Track Frontend Version

4.12.0

Browser

Mozilla Firefox

Browser Version

130.0.1

Operating System

macOS

Checklist

Activity

  1. added
    defect
    on Oct 3, 2024
  2. changed the title [-]Unable to create more than 1 project from the UI[/-] [+]Unable to create more than 1 project from the UI without switching views[/+] on Oct 3, 2024
  3. added
    p2
    good first issue
    size/S
    hacktoberfest
    and removed on Oct 3, 2024
  4. rkg-mm commented on Oct 4, 2024

    @rkg-mm
    Contributor

    Reason:
    in ProjectCreateProjectModal.vue in resetValues function, the object assigned to this.project needs an additional line:
    team: [],

  5. added 2 commits that reference this issue on Oct 4, 2024
    6d670b3
    a1042a9
  6. added this to the 4.13 milestone on Oct 4, 2024
  7. added a commit that references this issue on Oct 6, 2024
    052621a
  8. added a commit that references this issue on Oct 9, 2024
    1a682d0
  9. modified the milestones: 4.13, 4.12.1 on Oct 9, 2024
  10. added 2 commits that reference this issue on Jun 17, 2026
    dfb9839
    875ddd3
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

    defectgood first issuehacktoberfestp2size/S

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions