Rev 167 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%Option explicitResponse.Expires = 0 ' always load the page, dont store%><%'=====================================================' Generate Release Notes'=====================================================%><!--#include file="common/conf.asp"--><!--#include file="common/globals.asp"--><!--#include file="common/formating.asp"--><!--#include file="common/qstr.asp"--><!--#include file="common/common_subs.asp"--><!--#include file="common/common_dbedit.asp"--><!--#include file="common/common_make_release_subs.asp"--><%'------------ ACCESS CONTROL ------------------%><!--#include file="_access_control_general.asp"--><%'------------ Variable Definition -------------Dim parPv_idDim parRfileDim rsPkgInfoDim retERRmsgDim retParameters'------------ Constants Declaration -----------'------------ Variable Init -------------------parPv_id = QStrPar("pv_id")parRtag_id = QStrPar("rtag_id")parRfile = QStrPar("rfile")'----------------------------------------------%><%'---------------------------------- MAIN LINE ----------------------------------------' if URL called from the daemon, "gen_rel_notes", therefore no rfile parameter exists in the URL then call the release changed scriptIf Request("rfile").Count = 0 ThenDim objRC: Set objRC = New ReleaseChangedCall objRC.Run_ReleaseChanged(parRtag_id, parPv_id,enumRELEASE_CHANGE_MODE_PKG_RELEASED,true)Set objRC = NothingEnd If' REQUREMENTS CHECKIf PUBLIC_Run_onMakeOfficial ( parRtag_id, parPv_id ) = TRUE ThenCall PUBLIC_NotifyInterestManualBuild ( parRtag_id, parPv_id )Else' do nothing - the reality is that the exception handling done in PUBLIC_Run_onMakeOfficial redirects on an error anyway.End If'Return PageIf parRfile = "" Or parRfile = "_generate_release_notes.asp" ThenResponse.Redirect ( "fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )ElseResponse.Redirect ( parRfile &"?pv_id="& parPv_id &"&rtag_id="& parRtag_id )End If%><!-- DESTRUCTOR -------><!--#include file="common/destructor.asp"-->