Apparently can't name builds with "-MAIN" in the key

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • None
    • Component/s: None
    • None
    • Environment:
      JDK 1.5
      Solaris 10

      After upgrading from 0.6 to 0.9, all of my builds are named with an extra "-MAIN" in the build key. I must have been clairvoyant because I already had named all my builds with a "-MAIN", so that they are now named "-MAIN-MAIN". This seems to cause problems (e.g., stack trace below), because I am now unable to browse any builds.

      I'm about to wipe the slate clean and recreate the builds, but if you have any suggestions it would be nice to keep the several weeks of build history that we've accumulated.

      Version: 0.9
      Build: 130
      Build Date: Dec 21, 2006
      
      Stack Trace: javax.servlet.ServletException: UrlRewriteFilter only supports servlet paths in the form "PROJECT[-BUILD][-BUILD_RESULT]". URI:/browse/PAC-BACKEND-MAIN-MAIN/latest
      at com.atlassian.bamboo.filter.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:134)
      at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
      at org.mortbay.jetty.plus.PlusWebAppContext.handle(PlusWebAppContext.java:158)
      at org.mortbay.http.HttpServer.service(HttpServer.java:954)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      

            Assignee:
            Unassigned
            Reporter:
            Nick Sieger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: