Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-7564

Invalid project key: *, only alphanumeric and uppercase values are allowed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 3.10.0, 3.10.2, 3.10.3, 4.1.0
    • Projects
    • None

    Description

      Users may have issues when creating reviews and the following message will appear in the browser after pressing "Create Review":

      Invalid project key: *, only alphanumeric and uppercase values are allowed
      

      Problem description

      The following scenario have to occur:

      1. Crucible (pre 3.10 version) instance
      2. Creating projects: proja (lower-case)
      3. User A viewing this project: proja
      4. Project: proja is deleted (bug: proja stays in users history)
      5. User A viewing less then 5 existing project in the whole history of Crucible: projb, projc, so now the history of visited projects for user A is: proja, projb, projc
      6. Crucible is upgraded to 3.10 (project keys are upgraded, renamed project keys are deleted from user history), now the project history for user A is: proja
      7. User A goes to Crucible and hits the Create Review button, the suggested project will be taken from project history for user A which is the non-existing, invalid project: proja

      Workaround

      Delete from user history all invalid projects:

      delete from cru_recently_visited where cru_item_type in ('atlassian-project','atlassian-review','atlassian-snippet') and UPPER(cru_entity_id) != cru_entity_id
      

      or delete all user history:

      delete from cru_recently_visited where cru_item_type in ('atlassian-project','atlassian-review','atlassian-snippet')
      

      or delete from user history all non-existing projects,

      //todo
      

      or ask user to visit an existing project which would change user's view project history: the last visited invalid/non-existing project to a valid existing project

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mswinarski Maciej Swinarski (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: