Prevent bug in upgrade diff for empty new version
apparently this is quite the rare case..but can happen
This commit is contained in:
		
							parent
							
								
									af405cfd10
								
							
						
					
					
						commit
						05bb3849a2
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -400,6 +400,10 @@ class UpgradeView(MasterView):
 | 
			
		|||
        return projects
 | 
			
		||||
 | 
			
		||||
    def get_changelog_url(self, project, old_version, new_version):
 | 
			
		||||
        # cannot generate URL if new version is unknown
 | 
			
		||||
        if not new_version:
 | 
			
		||||
            return
 | 
			
		||||
 | 
			
		||||
        projects = self.get_changelog_projects()
 | 
			
		||||
 | 
			
		||||
        project_name = project
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue