Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18665

Application wizard: Should not use project-name as application name if it's invalid, should sanitze it

XMLWordPrintable

    • Hide
      1. ASSERT: have ticket-monster cloned to your local machine (git clone git://github.com/jboss-jdf/ticket-monster.git)
      2. ASSERT: have "demo" folder copied to some other location
      3. ASSERT: have this "demo" folder imported as project in your workspace. The resulting project is called ticket-monster
      4. EXEC: pick Configure->New/Import OpenShift Application in the context menu of your project
      5. EXEC: pick some cartridge for your application and get to page 3

      Result:
      The suggested application name is invalid:

      Show
      ASSERT: have ticket-monster cloned to your local machine (git clone git://github.com/jboss-jdf/ticket-monster.git) ASSERT: have "demo" folder copied to some other location ASSERT: have this "demo" folder imported as project in your workspace. The resulting project is called ticket-monster EXEC: pick Configure->New/Import OpenShift Application in the context menu of your project EXEC: pick some cartridge for your application and get to page 3 Result: The suggested application name is invalid:
    • Workaround Exists
    • Hide

      manually correct the application name, remove non-alphanumeric characters (ticket-monster -> ticketmonster)

      Show
      manually correct the application name, remove non-alphanumeric characters ( ticket-monster -> ticketmonster )
    • Low

      In JBIDE-18052 we started using the project name as suggested application name. If the project name is using non-alphanumeric characters, the suggested application name is invalid. We should not suggest invalid application names, we should sanitize those names before suggesting those.

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: