| 62 |
rsolanki |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| Product Issues |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
Response.Expires = 0
|
|
|
12 |
%>
|
|
|
13 |
<!--#include file="common/globals.asp"-->
|
|
|
14 |
<!--#include file="common/config.asp"-->
|
|
|
15 |
<!--#include file="common/common_subs.asp"-->
|
|
|
16 |
<!--#include file="common/_product_common.asp"-->
|
|
|
17 |
<%
|
|
|
18 |
'------------ ACCESS CONTROL ------------------
|
|
|
19 |
%>
|
|
|
20 |
<!--#include file="_access_control_general.asp"-->
|
|
|
21 |
<%
|
|
|
22 |
'------------ VARIABLE DEFINITION -------------
|
|
|
23 |
Dim rsQry
|
|
|
24 |
Dim errNumber
|
|
|
25 |
Dim objIssueCollector
|
|
|
26 |
Dim altRowColor
|
|
|
27 |
Dim currRowColor
|
|
|
28 |
Dim outORDER_BY
|
|
|
29 |
Dim parFilter_on
|
|
|
30 |
Dim parBase_env_id
|
|
|
31 |
Dim objFormCollector
|
| 64 |
jtweddle |
32 |
Dim a, b, VersionList, sqlstrA
|
| 62 |
rsolanki |
33 |
'------------ CONSTANTS DECLARATION -----------
|
|
|
34 |
Const LIMG_FIXED = "<img src='icons/i_tick.gif' border='0' hspace='2' title='Latest Fixed Issue'>"
|
|
|
35 |
Const LIMG_OLD_FIXED = "<img src='icons/i_tick_gray.gif' border='0' hspace='2' title='Old Fixed Issue'>"
|
|
|
36 |
'------------ VARIABLE INIT -------------------
|
|
|
37 |
errNumber = 0
|
|
|
38 |
Set objIssueCollector = CreateObject("Scripting.Dictionary")
|
|
|
39 |
Set objFormCollector = CreateObject("Scripting.Dictionary")
|
|
|
40 |
parProd_id = Request("prod_id_list")
|
|
|
41 |
parOs_id = Request("os_id")
|
|
|
42 |
parBom_id = Request("bom_id")
|
|
|
43 |
parFilter_on = Request("filter_on")
|
|
|
44 |
parBase_env_id = Request("base_env_id")
|
|
|
45 |
'------------ CONDITIONS ----------------------
|
|
|
46 |
'----------------------------------------------
|
|
|
47 |
%>
|
|
|
48 |
<%
|
|
|
49 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
50 |
Sub GetFormDetails ( nProd_id, nOs_id, nBaseEnvId, nBom_id, ByRef outobjDetails )
|
|
|
51 |
Dim rsQry, query
|
|
|
52 |
|
|
|
53 |
OraDatabase.Parameters.Add "BOM_ID", nBom_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
'/* Get Project Details */
|
|
|
60 |
query = _
|
|
|
61 |
" SELECT proj.RM_PROJECTS_FK, bo.rtag_id_fk"&_
|
|
|
62 |
" FROM BOMS bo,"&_
|
|
|
63 |
" BRANCHES br,"&_
|
|
|
64 |
" DM_PROJECTS proj"&_
|
|
|
65 |
" WHERE br.PROJ_ID = proj.PROJ_ID"&_
|
|
|
66 |
" AND bo.BRANCH_ID = br.BRANCH_ID"&_
|
|
|
67 |
" AND bo.BOM_ID = :BOM_ID"
|
|
|
68 |
|
|
|
69 |
Set rsQry = OraDatabase.DbCreateDynaset( query , ORADYN_DEFAULT )
|
|
|
70 |
|
|
|
71 |
If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then
|
|
|
72 |
outobjDetails.Item ("rm_projects_fk") = rsQry("rm_projects_fk")
|
|
|
73 |
outobjDetails.Item ("rtag_id_fk") = rsQry("rtag_id_fk")
|
|
|
74 |
|
|
|
75 |
Else
|
|
|
76 |
Err.Raise 8, "Sub GetFormDetails", "Empty record set returned. nBom_id="& nBom_id
|
|
|
77 |
|
|
|
78 |
End If
|
|
|
79 |
|
|
|
80 |
OraDatabase.Parameters.Remove "PROD_ID"
|
|
|
81 |
OraDatabase.Parameters.Remove "OS_ID"
|
|
|
82 |
OraDatabase.Parameters.Remove "BASE_ENV_ID"
|
|
|
83 |
OraDatabase.Parameters.Remove "BOM_ID"
|
|
|
84 |
|
|
|
85 |
rsQry.Close
|
|
|
86 |
Set rsQry = Nothing
|
|
|
87 |
End Sub
|
|
|
88 |
'--------------------------------------------------------------------------------------------------------------------------
|
|
|
89 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
90 |
Sub GetIssueDetails ( nIssID, nIssDB, oIssueCollector, nErrNumber )
|
|
|
91 |
Dim query, rsCQ
|
|
|
92 |
|
| 64 |
jtweddle |
93 |
If objFormCollector.Item("rm_projects_fk") = 122 Then
|
|
|
94 |
query = GetQuery ("IssuesList_cqVTSUP.sql")
|
|
|
95 |
query = Replace( query, "/*VTSUPiss*/", nIssID )
|
|
|
96 |
Else
|
|
|
97 |
query = GetQuery ("IssuesList_cqDEVI.sql")
|
|
|
98 |
query = Replace( query, "/*DEVIiss*/", nIssID )
|
|
|
99 |
End If
|
| 62 |
rsolanki |
100 |
|
|
|
101 |
Set rsCQ = Server.CreateObject("ADODB.Recordset")
|
|
|
102 |
|
|
|
103 |
nErrNumber = GetCQIssue ( query, rsCQ )
|
|
|
104 |
|
|
|
105 |
If nErrNumber = 0 Then
|
|
|
106 |
If (NOT rsCQ.BOF) AND (NOT rsCQ.EOF) Then
|
|
|
107 |
oIssueCollector.Item ("iss_id") = CStr( rsCQ("iss_id") )
|
|
|
108 |
oIssueCollector.Item ("iss_num") = CStr( rsCQ("iss_num") )
|
|
|
109 |
oIssueCollector.Item ("summary") = CStr( rsCQ("summary") )
|
|
|
110 |
oIssueCollector.Item ("status") = CStr( rsCQ("status") )
|
|
|
111 |
oIssueCollector.Item ("priority") = CStr( rsCQ("priority") )
|
|
|
112 |
oIssueCollector.Item ("issue_type") = CStr( rsCQ("issue_type") )
|
|
|
113 |
|
|
|
114 |
End If
|
|
|
115 |
End If
|
|
|
116 |
|
|
|
117 |
End Sub
|
|
|
118 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
119 |
Function GetCQIssue ( sSQL, oRsCQ )
|
|
|
120 |
On Error Resume Next
|
|
|
121 |
oRsCQ.ActiveConnection = CQ_CONN
|
|
|
122 |
oRsCQ.Source = sSQL
|
|
|
123 |
oRsCQ.CursorType = 0
|
|
|
124 |
oRsCQ.CursorLocation = 2
|
|
|
125 |
oRsCQ.LockType = 3
|
|
|
126 |
oRsCQ.Open()
|
|
|
127 |
|
|
|
128 |
GetCQIssue = Err.Number
|
|
|
129 |
|
|
|
130 |
End Function
|
|
|
131 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
132 |
Function SetRowColor( cRowColor )
|
|
|
133 |
If cRowColor = "" Then
|
|
|
134 |
SetRowColor = altRowColor
|
|
|
135 |
Else
|
|
|
136 |
SetRowColor = ""
|
|
|
137 |
End If
|
|
|
138 |
End Function
|
|
|
139 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 64 |
jtweddle |
140 |
Sub PreviousVersions(a, b)
|
|
|
141 |
|
|
|
142 |
If CLng(a) < CLng(b) Then
|
|
|
143 |
While CLng(a) < CLng(b)
|
|
|
144 |
b = LastPvId(b)
|
|
|
145 |
If CLng(a) < CLng(b) Then
|
|
|
146 |
VersionList = VersionList + ","& b
|
|
|
147 |
End If
|
|
|
148 |
Wend
|
|
|
149 |
End If
|
|
|
150 |
|
|
|
151 |
If CLng(b) < CLng(a) Then
|
|
|
152 |
While CLng(b) < CLng(a)
|
|
|
153 |
a = LastPvId(a)
|
|
|
154 |
If CLng(b) < CLng(a) Then
|
|
|
155 |
VersionList = VersionList + ","& a
|
|
|
156 |
End If
|
|
|
157 |
Wend
|
|
|
158 |
End If
|
|
|
159 |
|
|
|
160 |
|
|
|
161 |
End Sub
|
|
|
162 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
163 |
Sub GetDependencies(pv_id_a, pv_id_b)
|
|
|
164 |
|
|
|
165 |
VersionList = "0"
|
|
|
166 |
Set sqlstrA = OraDatabase.DbCreateDynaset("select distinct dpv_id from package_dependencies where pv_id IN ("& pv_id_b &") and dpv_id NOT IN (SELECT dpv_id from package_dependencies where pv_id ="& pv_id_a &" ) order by dpv_id desc", cint(0))
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
If sqlstrA.RecordCount <> 0 Then
|
|
|
170 |
|
|
|
171 |
While ((NOT sqlstrA.BOF) AND (NOT sqlstrA.EOF))
|
|
|
172 |
VersionList = VersionList + ","& sqlstrA("dpv_id")
|
|
|
173 |
sqlstrA.MoveNext
|
|
|
174 |
Wend
|
|
|
175 |
|
|
|
176 |
End If
|
|
|
177 |
|
|
|
178 |
sqlstrA.Close()
|
|
|
179 |
Set sqlstrA = Nothing
|
|
|
180 |
|
|
|
181 |
End Sub
|
|
|
182 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
183 |
Function LastPvId(pvId)
|
|
|
184 |
Dim qryA
|
|
|
185 |
Set qryA = OraDatabase.DbCreateDynaset("SELECT LAST_PV_ID FROM PACKAGE_VERSIONS WHERE PV_ID="&pvId , cint(0))
|
|
|
186 |
|
|
|
187 |
LastPvId = pvId
|
|
|
188 |
|
|
|
189 |
If pvId <> qryA("last_pv_id") Then
|
|
|
190 |
LastPvId = qryA("last_pv_id")
|
|
|
191 |
Else
|
|
|
192 |
errormsg = true
|
|
|
193 |
End If
|
|
|
194 |
|
|
|
195 |
qryA.Close()
|
|
|
196 |
Set qryA = Nothing
|
|
|
197 |
|
|
|
198 |
End Function
|
|
|
199 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 62 |
rsolanki |
200 |
%>
|
|
|
201 |
<%
|
|
|
202 |
'------------ RUN BEFORE PAGE RENDER ----------
|
|
|
203 |
' --- Get Form details from DB ---
|
|
|
204 |
Call GetFormDetails ( parProd_id, parOs_id, parBase_env_id, parBom_id, objFormCollector )
|
|
|
205 |
'----------------------------------------------
|
|
|
206 |
%>
|
|
|
207 |
<html>
|
|
|
208 |
<head>
|
|
|
209 |
<title>Production Manager</title>
|
|
|
210 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
211 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
212 |
<link href="scripts/deployment_manager.css" rel="stylesheet" type="text/css">
|
|
|
213 |
<script language="JavaScript" src="scripts/common.js"></script>
|
|
|
214 |
</head>
|
|
|
215 |
|
|
|
216 |
<body leftmargin="0" topmargin="0">
|
|
|
217 |
<!-- HEADER ++++++++++++++++ -->
|
|
|
218 |
<!--#include file="_header.asp"-->
|
|
|
219 |
<!-- +++++++++++++++++++++++ -->
|
|
|
220 |
<!-- MAIN MENU + CRUMBS ++++++++++++++++ -->
|
|
|
221 |
<!--#include file="_main_menu.asp"-->
|
|
|
222 |
<!-- +++++++++++++++++++++++++++++++++++++ -->
|
|
|
223 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
224 |
<tr>
|
|
|
225 |
<td width="1%" valign="top" background="images/bg_bage_0.gif">
|
|
|
226 |
<!-- NODE BROWSER ++++++++++++++++++++++ -->
|
|
|
227 |
<!--#include file="_bom_browser.asp"-->
|
|
|
228 |
<!-- END OF NODE BROWSER +++++++++++++++ -->
|
|
|
229 |
</td>
|
|
|
230 |
<td width="1" background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="600"></td>
|
|
|
231 |
<td width="100%" valign="top" bgcolor="#FFFFFF">
|
|
|
232 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
233 |
<tr>
|
|
|
234 |
<td valign="top" background="images/bg_green.gif"></td>
|
|
|
235 |
<td align="right" valign="bottom" background="images/bg_green.gif" class="body_txtw"><%Call RenderTitle( objProdCollector )%></td>
|
|
|
236 |
<td background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="20"></td>
|
|
|
237 |
</tr>
|
|
|
238 |
<tr>
|
|
|
239 |
<td width="1%" valign="top" background="images/bg_green.gif"></td>
|
|
|
240 |
<td width="100%" valign="bottom" background="images/bg_green.gif">
|
|
|
241 |
<!-- TAB CONTROLS ++++++++++++++++++++++ -->
|
|
|
242 |
<!--#include file="_tabs_definition.asp"-->
|
|
|
243 |
<%
|
|
|
244 |
Set objTabControl = New TabControl
|
|
|
245 |
objTabControl.TemplateDoc = ReadFile( Server.MapPath("controls/ERGTabStyleWinXP/tab_style.html") ) ' Supply tab style definition
|
|
|
246 |
objTabControl.TabStyle = "StyleWinXP"
|
|
|
247 |
objTabControl.AddTabDefnition ( arrProdTabDef )
|
|
|
248 |
objTabControl.SelectByName ("Issues")
|
|
|
249 |
objTabControl.Render ()
|
|
|
250 |
%>
|
|
|
251 |
<!-- END OF TAB CONTROLS +++++++++++++++ -->
|
|
|
252 |
</td>
|
|
|
253 |
<td width="1%" background="images/bg_green.gif"><img src="images/spacer.gif" width="10" height="35"></td>
|
|
|
254 |
</tr>
|
|
|
255 |
<tr>
|
|
|
256 |
<td background="images/bg_bage_0.gif"><img src="images/spacer.gif" width="30" height="10"></td>
|
|
|
257 |
<td background="images/bg_bage_0.gif">
|
|
|
258 |
<!-- BUTTONS CONTROL +++++++++++++++++++ -->
|
|
|
259 |
<%
|
|
|
260 |
'-- Define Action buttons on this tab
|
|
|
261 |
'aTabBtnsDef = Array("btnAddOs", "width=10", "btnCopyOs", "btnPasteOs")
|
|
|
262 |
|
|
|
263 |
'Call LoadTabActionButtons ( aTabBtnsDef, objBtnControl )
|
|
|
264 |
|
|
|
265 |
'objBtnControl.Render( aTabBtnsDef )
|
|
|
266 |
%>
|
|
|
267 |
<!-- +++++++++++++++++++++++++++++++++++ -->
|
|
|
268 |
</td>
|
|
|
269 |
<td background="images/bg_green.gif"><img src="images/p_bar_corrner.gif" width="17" height="42"></td>
|
|
|
270 |
</tr>
|
|
|
271 |
<tr>
|
|
|
272 |
<td> </td>
|
|
|
273 |
<td> </td>
|
|
|
274 |
<td valign="top"><%If Request.Cookies( enumCOOKIE_NAME )( "user_bar" ) = "hide" Then%><a href="<%=SCRIPT_NAME%>?user_bar=<%=enumDEFAULT%>&<%=objPMod.ComposeURL()%>"><img src="icons/b_left.gif" title="Maximize favourits" width="13" height="13" vspace="5" border="0"></a><%End If%></td>
|
|
|
275 |
</tr>
|
|
|
276 |
</table>
|
|
|
277 |
<table width="100%" border="0" cellspacing="10" cellpadding="0">
|
|
|
278 |
<tr>
|
|
|
279 |
<td>
|
|
|
280 |
<!-- PAGE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
281 |
<%
|
|
|
282 |
OraDatabase.Parameters.Add "PROD_ID", dbPARprod_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
283 |
%>
|
|
|
284 |
<form name="OldVersion" method="get" action="<%=SCRIPT_NAME%>">
|
|
|
285 |
<SPAN class="body_txt">Changes since version </SPAN>
|
|
|
286 |
<select name="old_prod_id" class="form_ivalue">
|
|
|
287 |
<option value=""></option>
|
|
|
288 |
<%
|
|
|
289 |
Dim nOldProdID
|
|
|
290 |
nOldProdID = Request("old_prod_id")
|
|
|
291 |
If nOldProdID = "" Then nOldProdID = objProdCollector.Item ("last_pv_id")
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
OraDatabase.Parameters.Add "PKG_ID", objProdCollector.Item ("pkg_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
295 |
OraDatabase.Parameters.Add "V_EXT", objProdCollector.Item ("v_ext"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
296 |
OraDatabase.Parameters.Add "OLD_PROD_ID", nOldProdID, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
297 |
OraDatabase.Parameters.Add "PROJ_ID", objFormCollector.Item("rm_projects_fk"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
298 |
OraDatabase.Parameters.Add "BRANCH_ID", objFormCollector.Item("rtag_id_fk"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
299 |
OraDatabase.Parameters.Add "FILTER_ON", 0, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("ProductVersionsList.sql"), ORADYN_DEFAULT )
|
|
|
303 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
304 |
%>
|
|
|
305 |
<option value="<%=rsQry("pv_id")%>" <%=rsQry("selected")%>><%=rsQry("pkg_version")%></option>
|
|
|
306 |
<%
|
|
|
307 |
rsQry.MoveNext
|
|
|
308 |
WEnd
|
|
|
309 |
rsQry.Close
|
|
|
310 |
|
|
|
311 |
OraDatabase.Parameters.Remove "PROD_ID"
|
|
|
312 |
OraDatabase.Parameters.Remove "PKG_ID"
|
|
|
313 |
OraDatabase.Parameters.Remove "V_EXT"
|
|
|
314 |
OraDatabase.Parameters.Remove "OLD_PROD_ID"
|
|
|
315 |
OraDatabase.Parameters.Remove "PROJ_ID"
|
|
|
316 |
OraDatabase.Parameters.Remove "BRANCH_ID"
|
|
|
317 |
OraDatabase.Parameters.Remove "FILTER_ON"
|
|
|
318 |
|
|
|
319 |
%>
|
|
|
320 |
</select>
|
|
|
321 |
<%=objPMod.ComposeHiddenTags()%>
|
|
|
322 |
<input type="submit" name="btn" value="Compare" class="form_btn">
|
|
|
323 |
<hr width="100%" size="1px" noshade color="Black">
|
|
|
324 |
</form>
|
|
|
325 |
|
|
|
326 |
<table width="100%" border="0" cellspacing="3" cellpadding="0">
|
|
|
327 |
<tr>
|
|
|
328 |
<td width="1%" nowrap align="right" <%Call DisplayColumn("Issue ID", "iss_id", outORDER_BY, TRUE)%></td>
|
|
|
329 |
<td width="100%" nowrap align="right" <%Call DisplayColumn("Summary", NULL, outORDER_BY, FALSE)%></td>
|
|
|
330 |
<td width="1%" nowrap align="right" <%Call DisplayColumn("Issue Type", NULL, outORDER_BY, FALSE)%></td>
|
|
|
331 |
<td width="1%" nowrap align="right" <%Call DisplayColumn("Priority", NULL, outORDER_BY, FALSE)%></td>
|
|
|
332 |
<td width="1%" nowrap align="right" <%Call DisplayColumn("Source", "pkg_name", outORDER_BY, FALSE)%></td>
|
|
|
333 |
</tr>
|
|
|
334 |
<%
|
| 64 |
jtweddle |
335 |
VersionList = "0"
|
|
|
336 |
On Error Resume Next
|
|
|
337 |
Dim rsQryLast
|
|
|
338 |
Set rsQryLast = OraDatabase.DbCreateDynaset( "SELECT LAST_PV_ID FROM PACKAGE_VERSIONS WHERE PV_ID="& Request("old_prod_id"), cint(0))
|
|
|
339 |
|
|
|
340 |
If rsQryLast("last_pv_id") <> Request("prod_id") Then
|
|
|
341 |
Call PreviousVersions( Request("prod_id"), Request("old_prod_id") )
|
|
|
342 |
End If
|
|
|
343 |
|
|
|
344 |
Call GetDependencies(Request("prod_id"), VersionList + ","+ Request("old_prod_id"))
|
|
|
345 |
|
|
|
346 |
|
|
|
347 |
Set rsQry = OraDatabase.DbCreateDynaset( "select * from cq_issues cq, packages pkg, package_versions pv "&_
|
|
|
348 |
" where cq.iss_db = 7 and pv.pv_id IN ("&VersionList&") and pv.pkg_id = pkg.pkg_id and cq.pv_id = pv.pv_id order by pv.pv_id desc", ORADYN_DEFAULT )
|
|
|
349 |
'Response.Write VersionList
|
|
|
350 |
Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
351 |
Call GetIssueDetails ( rsQry("iss_id"), rsQry("iss_db"), objIssueCollector, errNumber )
|
|
|
352 |
|
|
|
353 |
currRowColor = SetRowColor( currRowColor )
|
|
|
354 |
|
|
|
355 |
If errNumber <> 0 Then Exit Do
|
|
|
356 |
%>
|
|
|
357 |
<tr>
|
|
|
358 |
<td <%=currRowColor%> nowrap valign="top" class="body_link"><%=objIssueCollector.Item ("iss_num")%></td>
|
|
|
359 |
<td <%=currRowColor%> valign="top" class="body_rowlite"><%=objIssueCollector.Item ("summary")%></td>
|
|
|
360 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"><%=objIssueCollector.Item ("issue_type")%></td>
|
|
|
361 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"><%=objIssueCollector.Item ("priority")%></td>
|
|
|
362 |
<%If IsEmpty(objIssueCollector.Item ("summary")) Then%>
|
|
|
363 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"></a></td>
|
|
|
364 |
<%Else%>
|
|
|
365 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"><%=rsQry("pkg_name").Value &" "& rsQry("pkg_version").Value%></a></td>
|
|
|
366 |
<%End If%>
|
|
|
367 |
|
|
|
368 |
</tr>
|
|
|
369 |
<%rsQry.MoveNext%>
|
|
|
370 |
|
|
|
371 |
<%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
|
|
|
372 |
<tr>
|
|
|
373 |
<td colspan="6"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
374 |
</tr>
|
|
|
375 |
<%End If%>
|
|
|
376 |
|
|
|
377 |
<%
|
|
|
378 |
Loop
|
|
|
379 |
|
|
|
380 |
rsQry.Close()
|
|
|
381 |
Set rsQry = Nothing
|
|
|
382 |
rsQryLast.Close()
|
|
|
383 |
Set rsQryLast = Nothing
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
| 62 |
rsolanki |
388 |
OraDatabase.Parameters.Add "PROD_ID", dbPARprod_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
389 |
OraDatabase.Parameters.Add "OLD_PROD_ID", objProdCollector.Item("last_pv_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
390 |
OraDatabase.Parameters.Add "OTHER_PROD_ID", dbPARprod_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
391 |
|
| 64 |
jtweddle |
392 |
If objFormCollector.Item("rm_projects_fk") = 122 Then
|
|
|
393 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("VTIssuesList.sql") & outORDER_BY, ORADYN_DEFAULT )
|
|
|
394 |
Else
|
|
|
395 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery ("IssuesList.sql") & outORDER_BY, ORADYN_DEFAULT )
|
|
|
396 |
End If
|
|
|
397 |
|
| 62 |
rsolanki |
398 |
altRowColor = "bgcolor='#F7F7F8'"
|
|
|
399 |
currRowColor = ""
|
|
|
400 |
|
|
|
401 |
Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
|
|
402 |
Call GetIssueDetails ( rsQry("iss_id"), rsQry("iss_db"), objIssueCollector, errNumber )
|
|
|
403 |
|
|
|
404 |
currRowColor = SetRowColor( currRowColor )
|
|
|
405 |
|
|
|
406 |
If errNumber <> 0 Then Exit Do
|
|
|
407 |
%>
|
|
|
408 |
<tr>
|
| 64 |
jtweddle |
409 |
<td <%=currRowColor%> nowrap valign="top" class="body_link"><%=objIssueCollector.Item ("iss_num")%></td>
|
| 62 |
rsolanki |
410 |
<td <%=currRowColor%> valign="top" class="body_rowlite"><%=objIssueCollector.Item ("summary")%></td>
|
|
|
411 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"><%=objIssueCollector.Item ("issue_type")%></td>
|
|
|
412 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"><%=objIssueCollector.Item ("priority")%></td>
|
| 64 |
jtweddle |
413 |
<%If IsEmpty(objIssueCollector.Item ("summary")) Then%>
|
|
|
414 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"></a></td>
|
|
|
415 |
<%Else%>
|
|
|
416 |
<td <%=currRowColor%> nowrap valign="top" class="body_rowlite"><%=rsQry("pkg_name").Value &" "& rsQry("pkg_version").Value%></a></td>
|
|
|
417 |
<%End If%>
|
|
|
418 |
|
| 62 |
rsolanki |
419 |
</tr>
|
|
|
420 |
<%rsQry.MoveNext%>
|
|
|
421 |
|
|
|
422 |
<%If (NOT rsQry.BOF) AND (NOT rsQry.EOF) Then%>
|
|
|
423 |
<tr>
|
|
|
424 |
<td colspan="6"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
425 |
</tr>
|
|
|
426 |
<%End If%>
|
|
|
427 |
|
|
|
428 |
<%
|
|
|
429 |
Loop
|
|
|
430 |
OraDatabase.Parameters.Remove "PROD_ID"
|
|
|
431 |
OraDatabase.Parameters.Remove "OLD_PROD_ID"
|
|
|
432 |
OraDatabase.Parameters.Remove "OTHER_PROD_ID"
|
| 64 |
jtweddle |
433 |
|
| 62 |
rsolanki |
434 |
%>
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
<%If errNumber <> 0 Then '--- Handle any errors during data retrieve from MS SQL database (i.e. Cannot connect to DB.)%>
|
|
|
438 |
<tr>
|
|
|
439 |
<td colspan="6">
|
|
|
440 |
<%Response.write enumMSSQL_ERROR%>
|
|
|
441 |
</td>
|
|
|
442 |
</tr>
|
|
|
443 |
<%End If%>
|
|
|
444 |
|
|
|
445 |
<tr>
|
|
|
446 |
<td colspan="6" background="images/bg_table_border.gif">
|
|
|
447 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
448 |
<tr>
|
|
|
449 |
<td nowrap background="images/bg_table_col.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
450 |
</tr>
|
|
|
451 |
</table>
|
|
|
452 |
</td>
|
|
|
453 |
</tr>
|
|
|
454 |
</table>
|
|
|
455 |
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
456 |
</td>
|
|
|
457 |
</tr>
|
|
|
458 |
</table>
|
|
|
459 |
</td>
|
|
|
460 |
<td width="1%" valign="top" background="images/bg_favourits.gif">
|
|
|
461 |
<!-- PERSONAL BAR +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
462 |
<!--#include file="_personal_bar.asp"-->
|
|
|
463 |
<!-- END OF PERSONAL BAR ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
|
|
464 |
</td>
|
|
|
465 |
</tr>
|
|
|
466 |
<tr>
|
|
|
467 |
<td background="images/bg_bage_0a.gif"><img src="images/spacer.gif" width="1" height="15"></td>
|
|
|
468 |
<td background="images/bg_bage_1.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
469 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
470 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
471 |
</tr>
|
|
|
472 |
<tr>
|
|
|
473 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="20"></td>
|
|
|
474 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
475 |
<td bgcolor="#FFFFFF"><img src="images/spacer.gif" width="1" height="1"></td>
|
|
|
476 |
<td bgcolor="#FFFFFF"> </td>
|
|
|
477 |
</tr>
|
|
|
478 |
</table>
|
|
|
479 |
<!-- FOOTER ++++++++++++++++ -->
|
|
|
480 |
<!--#include file="_footer.asp"-->
|
|
|
481 |
<!-- +++++++++++++++++++++++ -->
|
|
|
482 |
</body>
|
|
|
483 |
</html>
|
|
|
484 |
<%
|
|
|
485 |
'------------ RUN AFTER PAGE RENDER -----------
|
|
|
486 |
Set objPMod = Nothing
|
|
|
487 |
Set objCrumbs = Nothing
|
|
|
488 |
Set objTabControl = Nothing
|
|
|
489 |
Set objBtnControl = Nothing
|
|
|
490 |
'----------------------------------------------
|
|
|
491 |
%><!--#include file="common/globals_destructor.asp"-->
|