SSC - New Application version creation

Hi,

I have created a application version A which should pick a specific version state.. After creation, as the fpr showed Error Processing , I deleted the version.. But then I tried again to create the application version with same name, but it is showing error that version name already exists.. But, the version name actually does not exist and is not shown in the version dropdown.

I have to use the same name and cannot change it.. Can you please help resolve this

Regards,

  • Suggested Answer

    0  

    When you choose to delete an application version in the UI it simply marks the version for deletion. There is an Application Version Delete job that will run to perform the actual deletion. This job runs with a very low priority. You can check the status of this job under Administration >> Metrics and Tracking >> Jobs. You will need to wait until this job executes before trying to create an application version with the same name. 

    Going back to your scenario, if you receive an Error Processing the FPR, you can simply delete the FPR instead of having to delete the whole application version.

  • 0 in reply to   

    Thankyou.  I have a couple of questions.. Can you please guide..

    1. Verified the job - The job shows Failed. When I clicked on it , it showed Attempts - 3 , Retriggered - True, Failure Details -  as below.

    Too many retries, last failure: Job will be rescheduled. [ com.fortify.manager.exception.FMDALException: Project version deletion failed at com.fortify.manager.DAL.impl.ProjectVersionLiteManagerImpl.deleteProjectVersion(ProjectVersionLiteManagerImpl.java:2923) at com.fortify.manager.DAL.impl.ProjectVersionLiteManagerImpl$$FastClassBySpringCGLIB$$5af4917c.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at

    Should I still wait for it to be retriggered ?

    2. I did check in the database the status in the projectversion is still showing as DELETING  .

        Just curious to know - can we delete the entry in the database table projectversion with cascade constraints ?

    3. And does restarting the server help?