Continuum

Edit Project Group moving a project to other project group fail

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.1 (Alpha)
  • Fix Version/s: 1.3.2 (Beta)
  • Component/s: Data Management
  • Labels:
    None
  • Environment:
    Ubuntu 8.10
    Firefox 3
    Java 1.6
  • Complexity:
    Intermediate
  • Number of attachments :
    2

Description

When you move a project to other project group, do not move the smcUrl, so if you build it gives an error. The scmUrl of project would also move that group.

java.lang.NullPointerException

Show/hide Stack Trace

java.lang.NullPointerException
at org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:1038)
at org.apache.maven.continuum.DefaultContinuum.buildProject(DefaultContinuum.java:995)

  1. CONTINUUM-2126.patch
    14/Mar/09 4:24 PM
    7 kB
    Jose Morales Martinez
  2. CONTINUUM-2126-2.patch
    15/Mar/09 7:31 PM
    4 kB
    Jose Morales Martinez

Activity

Hide
Jose Morales Martinez added a comment -

This patch affects the continuum core. It add 'moveProject' method to continuum api.

Show
Jose Morales Martinez added a comment - This patch affects the continuum core. It add 'moveProject' method to continuum api.
Hide
Jose Morales Martinez added a comment -

Attached a new patch. This patch replaces the previous one and contains a more general solution. The second patch does not imply changes in continuum-api, and also solve CONTINUUM-2132 issue.

Show
Jose Morales Martinez added a comment - Attached a new patch. This patch replaces the previous one and contains a more general solution. The second patch does not imply changes in continuum-api, and also solve CONTINUUM-2132 issue.
Hide
Maria Catherine Tan added a comment -

Fixed in revision 756523. Thanks!

Show
Maria Catherine Tan added a comment - Fixed in revision 756523. Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: