Red Gate forums :: View topic - If you leave me, I'll go crazy (undeployable release bug)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

If you leave me, I'll go crazy (undeployable release bug)

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
isme



Joined: 12 Jun 2012
Posts: 72
Location: Edinburgh

PostPosted: Thu Dec 12, 2013 12:46 pm    Post subject: If you leave me, I'll go crazy (undeployable release bug) Reply with quote

Hey RG,

When you create a release with no targets, and then try to deploy it, Deployment Manager shows a misleading error message.

Quote:

You are not authorized to perform this action


"Not authorized? But I'm an administrator!"

This was a real problem for us when we moved our targets to a new environment.

Because you can't yet move servers in the UI, we had to add copies of the servers to the new environment and delete the old one.

That message really confused me till we worked out we also had to update all the projects that deployed to the deleted environment.

Instead of letting me create an undeployable release, an error message like this would help.

Quote:

You cannot create a release with no deployment targets.


The bug affects Deployment Manager v2.3.4.13.

Here's a repro, best enjoyed with music.

Create a new environment.

http://redgatedeploy:81/environments



Create a new environment with a target machine.

It's okay to just make up a machine name here.

Set a project to deploy to the environment.

http://redgatedeploy:81/projects/the-ttp-project/steps



Change all the steps of a project to deploy to the new environment.



Delete the environment.

http://redgatedeploy:81/environments



Delete the environment.

Now things get a little strange.

Create a new release.

http://redgatedeploy:81/projects/the-ttp-project/releases/create



Create a new release for the updated project.

Deployment Manager doesn't confirm whether I can actually deploy the package at this stage.

Deploy the release.

http://redgatedeploy:81/projects/the-ttp-project/releases/1.0.8588.192-one-more-time/deployments/create?templateid=deployments-5101



The deployment button is grey instead of blue.

The cursor changes to a no symbol over the button.

A tooltip appears with the misleading message.
_________________
Iain Elder, Skyscanner
Back to top
View user's profile Send private message
james.billings



Joined: 16 Jun 2010
Posts: 1116
Location: My desk.

PostPosted: Thu Dec 12, 2013 4:17 pm    Post subject: Reply with quote

I also see the same behaviour- it is indeed a bit misleading so I've logged a bug for it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group