| 119 |
ghuddy |
1 |
<%
|
|
|
2 |
'=====================================================
|
|
|
3 |
'| |
|
| 121 |
hknight |
4 |
'| RELEASE NOTES |
|
| 119 |
ghuddy |
5 |
'| |
|
|
|
6 |
'=====================================================
|
|
|
7 |
%>
|
|
|
8 |
<%
|
|
|
9 |
'------------ Variable Definition -------------
|
|
|
10 |
Dim rsCQ
|
|
|
11 |
Dim rsDepIss
|
|
|
12 |
Dim SQLstr
|
|
|
13 |
Dim fixedIssDict
|
|
|
14 |
Dim notesIssDict
|
|
|
15 |
Dim issArr()
|
|
|
16 |
Dim depIssDict
|
|
|
17 |
Dim sDocTitle
|
|
|
18 |
Dim rsQry, rsTemp
|
|
|
19 |
Dim iss_db_id, G1_template, G1_style, currG1
|
|
|
20 |
Dim retVal
|
|
|
21 |
Dim baseURL
|
|
|
22 |
Dim rsProjId
|
|
|
23 |
Dim rsPkgMetrics
|
|
|
24 |
Dim rsCodeReviewURL
|
| 129 |
ghuddy |
25 |
Dim vcsInfoCollector
|
| 119 |
ghuddy |
26 |
'------------ Constants Declaration -----------
|
|
|
27 |
Const enumLoc_iss_db = 0
|
|
|
28 |
Const enumLoc_iss_id = 1
|
|
|
29 |
Const enumLoc_iss_num = 2
|
|
|
30 |
Const enumLoc_summary = 3
|
|
|
31 |
Const enumLoc_status = 4
|
|
|
32 |
Const enumLoc_priority = 5
|
|
|
33 |
Const enumLoc_issue_type = 6
|
|
|
34 |
'------------ Variable Init -------------------
|
|
|
35 |
Set rsCQ = Server.CreateObject("ADODB.Recordset")
|
|
|
36 |
Set fixedIssDict = CreateObject("Scripting.Dictionary")
|
|
|
37 |
Set notesIssDict = CreateObject("Scripting.Dictionary")
|
|
|
38 |
Set depIssDict = CreateObject("Scripting.Dictionary")
|
| 129 |
ghuddy |
39 |
Set vcsInfoCollector = CreateObject("Scripting.Dictionary")
|
| 119 |
ghuddy |
40 |
'----------------------------------------------
|
|
|
41 |
%>
|
|
|
42 |
<%
|
|
|
43 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
44 |
Function asDepIss ( SSiss_db_id, SScolumn )
|
| 121 |
hknight |
45 |
If NOT depIssDict.Exists (SSiss_db_id) Then Exit Function
|
| 119 |
ghuddy |
46 |
|
| 121 |
hknight |
47 |
asDepIss = issArr ( SScolumn, CInt( depIssDict.Item (SSiss_db_id) ) )
|
| 119 |
ghuddy |
48 |
End Function
|
|
|
49 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
50 |
Function FixedIssues ( parPv_id )
|
| 121 |
hknight |
51 |
Dim sqlstr, rsTemp
|
|
|
52 |
sqlstr = "SELECT pv_id FROM cq_issues WHERE pv_id = "& parPv_id &" AND iss_state = "& enumISSUES_STATE_FIXED
|
|
|
53 |
Set rsTemp = OraDatabase.DbCreateDynaset( sqlstr, cint(0))
|
| 119 |
ghuddy |
54 |
|
| 121 |
hknight |
55 |
If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
|
|
|
56 |
FixedIssues = TRUE
|
|
|
57 |
Else
|
|
|
58 |
FixedIssues = FALSE
|
|
|
59 |
End If
|
| 119 |
ghuddy |
60 |
|
| 121 |
hknight |
61 |
rsTemp.Close()
|
|
|
62 |
Set rsTemp = nothing
|
| 119 |
ghuddy |
63 |
End Function
|
|
|
64 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
65 |
Function SQL_Package_Information ( nPv_id )
|
| 121 |
hknight |
66 |
SQL_Package_Information = _
|
|
|
67 |
" SELECT *"&_
|
|
|
68 |
" FROM PACKAGE_VERSIONS pv"&_
|
|
|
69 |
" WHERE pv.pv_id = "& nPv_id
|
| 119 |
ghuddy |
70 |
End Function
|
|
|
71 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
72 |
Function SQL_Dependency_Issues ( NNpv_id )
|
| 121 |
hknight |
73 |
SQL_Dependency_Issues = _
|
|
|
74 |
" SELECT pkg.pkg_name, pv.pkg_version, pv.pv_id, cqi.iss_db, cqi.iss_id, cqi.iss_state, pv.comments AS reasons"&_
|
|
|
75 |
" FROM cq_issues cqi,"&_
|
|
|
76 |
" package_dependencies dep,"&_
|
|
|
77 |
" packages pkg,"&_
|
|
|
78 |
" package_versions pv"&_
|
|
|
79 |
" WHERE dep.pv_id = "& NNpv_id &_
|
|
|
80 |
" AND dep.dpv_id = cqi.pv_id(+)"&_
|
|
|
81 |
" AND dep.dpv_id = pv.pv_id(+)"&_
|
|
|
82 |
" AND pv.pkg_id = pkg.pkg_id"&_
|
|
|
83 |
" ORDER BY UPPER(pkg.pkg_name) ASC, cqi.iss_state DESC"
|
| 119 |
ghuddy |
84 |
End Function
|
|
|
85 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
86 |
Function SQL_Additional_Notes ( nPv_id )
|
| 121 |
hknight |
87 |
SQL_Additional_Notes = ReadFile( rootPath & "queries\additional_notes.sql" )
|
|
|
88 |
SQL_Additional_Notes = Replace( SQL_Additional_Notes, ":PV_ID", nPv_id )
|
| 119 |
ghuddy |
89 |
End Function
|
|
|
90 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
91 |
Function SQL_Unit_Tests ( nPv_id )
|
| 121 |
hknight |
92 |
SQL_Unit_Tests = ReadFile( rootPath & "queries\unit_tests.sql" )
|
|
|
93 |
SQL_Unit_Tests = Replace( SQL_Unit_Tests, ":PV_ID", nPv_id )
|
| 119 |
ghuddy |
94 |
End Function
|
|
|
95 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 121 |
hknight |
96 |
' Function returns the number of imported clearquest issues
|
|
|
97 |
' and builds a string suitable for querying the clearquest issues database
|
|
|
98 |
Function Get_Package_Issues ( NNpv_id, SSsql, DDfixedIss, DDnotesIssDict, nIssState )
|
|
|
99 |
Dim rsTemp, sqlstr, DEVIiss, TDSEiss, VT5DMiss, VTSUPiss, retVal
|
| 119 |
ghuddy |
100 |
|
| 121 |
hknight |
101 |
If IsObject(DDfixedIss) Then
|
|
|
102 |
' Find this package issues
|
|
|
103 |
sqlstr = "SELECT iss_db, iss_id, iss_state, notes FROM CQ_ISSUES WHERE pv_id="& NNpv_id &" AND iss_state = "& nIssState
|
|
|
104 |
Else
|
|
|
105 |
' Find dependency issues
|
|
|
106 |
sqlstr = "SELECT iss_db, iss_id, iss_state, notes FROM CQ_ISSUES WHERE pv_id IN ( "&_
|
|
|
107 |
" SELECT dpv_id FROM package_dependencies WHERE pv_id = "& NNpv_id &_
|
|
|
108 |
" )"
|
|
|
109 |
End If
|
| 119 |
ghuddy |
110 |
|
| 121 |
hknight |
111 |
Set rsTemp = OraDatabase.DbCreateDynaset( sqlstr, cint(0))
|
|
|
112 |
retVal = rsTemp.RecordCount
|
| 119 |
ghuddy |
113 |
|
| 121 |
hknight |
114 |
DEVIiss = "-1"
|
|
|
115 |
TDSEiss = "-1"
|
|
|
116 |
VT5DMiss = "-1"
|
|
|
117 |
VTSUPiss = "-1"
|
| 119 |
ghuddy |
118 |
|
| 121 |
hknight |
119 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
120 |
If CInt(rsTemp("iss_db")) = CInt(enumCLEARQUEST_DEVI_ID) Then
|
|
|
121 |
DEVIiss = DEVIiss &","& rsTemp("iss_id")
|
| 119 |
ghuddy |
122 |
|
| 121 |
hknight |
123 |
ElseIf CInt(rsTemp("iss_db")) = CInt(enumCLEARQUEST_TDSE_ID) Then
|
|
|
124 |
TDSEiss = TDSEiss &","& rsTemp("iss_id")
|
|
|
125 |
ElseIf CInt(rsTemp("iss_db")) = CInt(enumCLEARQUEST_VT5DM_ID) Then
|
|
|
126 |
VT5DMiss = VT5DMiss &","& rsTemp("iss_id")
|
|
|
127 |
ElseIf CInt(rsTemp("iss_db")) = CInt(enumCLEARQUEST_VTSUP_ID) Then
|
|
|
128 |
VTSUPiss = VTSUPiss &","& rsTemp("iss_id")
|
| 119 |
ghuddy |
129 |
|
| 121 |
hknight |
130 |
End If
|
| 119 |
ghuddy |
131 |
|
| 121 |
hknight |
132 |
If IsObject(DDfixedIss) Then
|
|
|
133 |
' Store only Fixed Issues
|
| 159 |
ghuddy |
134 |
If CInt(rsTemp("iss_state")) = CInt(enumISSUES_STATE_FIXED) AND _
|
|
|
135 |
DDfixedIss.Exists(Cstr(rsTemp("iss_db") &"."& rsTemp("iss_id"))) = false Then DDfixedIss.Add Cstr(rsTemp("iss_db") &"."& rsTemp("iss_id")), ""
|
| 121 |
hknight |
136 |
End If
|
| 119 |
ghuddy |
137 |
|
| 121 |
hknight |
138 |
If IsObject(DDnotesIssDict) Then
|
|
|
139 |
' Store Notes
|
| 159 |
ghuddy |
140 |
If Not IsNull(rsTemp("notes")) AND (rsTemp("notes") <> "") AND _
|
|
|
141 |
DDnotesIssDict.Exists(Cstr(rsTemp("iss_db") &"."& rsTemp("iss_id"))) = false Then DDnotesIssDict.Add Cstr(rsTemp("iss_db") &"."& rsTemp("iss_id")), Cstr(rsTemp("notes"))
|
| 121 |
hknight |
142 |
End If
|
| 119 |
ghuddy |
143 |
|
| 121 |
hknight |
144 |
rsTemp.MoveNext
|
|
|
145 |
WEnd
|
| 119 |
ghuddy |
146 |
|
| 121 |
hknight |
147 |
' Construct SQL statement for CQ database
|
|
|
148 |
SSsql = ReadFile( rootPath & "queries\cq_issues.sql" )
|
|
|
149 |
SSsql = Replace( SSsql, "/*enumCLEARQUEST_DEVI_ID*/", enumCLEARQUEST_DEVI_ID)
|
|
|
150 |
SSsql = Replace( SSsql, "/*enumCLEARQUEST_TDSE_ID*/", enumCLEARQUEST_TDSE_ID)
|
|
|
151 |
SSsql = Replace( SSsql, "/*enumCLEARQUEST_VT5DM_ID*/", enumCLEARQUEST_VT5DM_ID)
|
|
|
152 |
SSsql = Replace( SSsql, "/*enumCLEARQUEST_VTSUP_ID*/", enumCLEARQUEST_VTSUP_ID)
|
|
|
153 |
SSsql = Replace( SSsql, "/*DEVIiss*/", DEVIiss)
|
|
|
154 |
SSsql = Replace( SSsql, "/*TDSEiss*/", TDSEiss)
|
|
|
155 |
SSsql = Replace( SSsql, "/*VT5DMiss*/", VT5DMiss)
|
|
|
156 |
SSsql = Replace( SSsql, "/*VTSUPiss*/", VTSUPiss)
|
| 119 |
ghuddy |
157 |
|
| 121 |
hknight |
158 |
rsTemp.Close()
|
|
|
159 |
Set rsTemp = nothing
|
| 119 |
ghuddy |
160 |
|
| 121 |
hknight |
161 |
Get_Package_Issues = retVal
|
| 119 |
ghuddy |
162 |
|
| 121 |
hknight |
163 |
End Function
|
| 119 |
ghuddy |
164 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 121 |
hknight |
165 |
' Function returns the number of imported jira issues
|
|
|
166 |
' and builds a string suitable for querying the jira issues database
|
|
|
167 |
Function Get_JIRA_Package_Issues ( NNpv_id, SSsql, DDfixedIss, DDnotesIssDict, nIssState )
|
|
|
168 |
Dim rsTemp, sqlstr, JIRAIss, retVal
|
| 119 |
ghuddy |
169 |
|
| 121 |
hknight |
170 |
JIRAIss = "'-1'"
|
|
|
171 |
sqlstr = "SELECT iss_key FROM JIRA_ISSUES WHERE pv_id="& NNpv_id
|
| 119 |
ghuddy |
172 |
|
| 121 |
hknight |
173 |
Set rsTemp = OraDatabase.DbCreateDynaset( sqlstr, cint(0))
|
|
|
174 |
retVal = rsTemp.RecordCount
|
| 119 |
ghuddy |
175 |
|
| 121 |
hknight |
176 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
177 |
JIRAIss = JIRAIss &",'"& rsTemp("iss_key")&"'"
|
|
|
178 |
rsTemp.MoveNext
|
|
|
179 |
WEnd
|
| 119 |
ghuddy |
180 |
|
| 121 |
hknight |
181 |
SSsql = "SELECT I.pkey AS iss_num, I.summary, ISS.pname AS state, IT.pname as IssueType, PR.pname as Priority, I.RESOLUTION "&_
|
|
|
182 |
" FROM jiraissue I, issuestatus ISS, issuetype IT, priority PR "&_
|
|
|
183 |
" WHERE I.pkey IN ("& JIRAIss &") "&_
|
|
|
184 |
" AND I.issuestatus = ISS.ID "&_
|
|
|
185 |
" AND IT.ID = I.issuetype "&_
|
|
|
186 |
" AND PR.ID = I.PRIORITY "
|
| 119 |
ghuddy |
187 |
|
| 121 |
hknight |
188 |
rsTemp.Close()
|
|
|
189 |
Set rsTemp = nothing
|
| 119 |
ghuddy |
190 |
|
| 121 |
hknight |
191 |
Get_JIRA_Package_Issues = retVal
|
| 119 |
ghuddy |
192 |
|
| 121 |
hknight |
193 |
End Function
|
| 119 |
ghuddy |
194 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
195 |
Sub LastPvId (PvId)
|
| 121 |
hknight |
196 |
Dim sqlstr
|
| 119 |
ghuddy |
197 |
|
| 131 |
ghuddy |
198 |
sqlstr = "SELECT pv_id, pkg_version, comments, last_pv_id FROM PACKAGE_VERSIONS WHERE PV_ID= "& PvId
|
| 119 |
ghuddy |
199 |
|
| 121 |
hknight |
200 |
Set rsQry = OraDatabase.DbCreateDynaset( sqlstr, cint(0) )
|
| 119 |
ghuddy |
201 |
|
|
|
202 |
End Sub
|
|
|
203 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
204 |
Function Get_JIRA_Issues ( SSsql, OOrsCQ )
|
| 121 |
hknight |
205 |
If OOrsCQ.State = 1 Then
|
|
|
206 |
OOrsCQ.Close()
|
|
|
207 |
End If
|
| 119 |
ghuddy |
208 |
|
|
|
209 |
|
|
|
210 |
|
| 121 |
hknight |
211 |
On Error Resume Next
|
|
|
212 |
OOrsCQ.ActiveConnection = JIRA_conn
|
|
|
213 |
OOrsCQ.Source = SSsql
|
|
|
214 |
OOrsCQ.CursorType = 0
|
|
|
215 |
OOrsCQ.CursorLocation = 3
|
|
|
216 |
OOrsCQ.LockType = 3
|
|
|
217 |
OOrsCQ.Open()
|
| 119 |
ghuddy |
218 |
|
|
|
219 |
|
| 121 |
hknight |
220 |
Get_JIRA_Issues = Err.Number
|
| 119 |
ghuddy |
221 |
|
|
|
222 |
End Function
|
|
|
223 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
224 |
Function Get_CQ_Issues ( SSsql, OOrsCQ )
|
| 121 |
hknight |
225 |
If OOrsCQ.State = 1 Then
|
|
|
226 |
OOrsCQ.Close()
|
|
|
227 |
End If
|
| 119 |
ghuddy |
228 |
|
| 121 |
hknight |
229 |
On Error Resume Next
|
|
|
230 |
OOrsCQ.ActiveConnection = CQ_conn
|
|
|
231 |
OOrsCQ.Source = SSsql
|
|
|
232 |
OOrsCQ.CursorType = 0
|
|
|
233 |
OOrsCQ.CursorLocation = 2
|
|
|
234 |
OOrsCQ.LockType = 3
|
|
|
235 |
OOrsCQ.Open()
|
| 119 |
ghuddy |
236 |
|
| 121 |
hknight |
237 |
Get_CQ_Issues = Err.Number
|
| 119 |
ghuddy |
238 |
|
|
|
239 |
End Function
|
|
|
240 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
241 |
Function Get_Dependency_CQ_Issues ( SSsql, OOrsCQ, DDdepIss, AAiss )
|
| 121 |
hknight |
242 |
Dim recCnt
|
|
|
243 |
If OOrsCQ.State = 1 Then
|
|
|
244 |
OOrsCQ.Close()
|
|
|
245 |
End If
|
| 119 |
ghuddy |
246 |
|
| 121 |
hknight |
247 |
OOrsCQ.ActiveConnection = CQ_conn
|
|
|
248 |
OOrsCQ.Source = SSsql
|
|
|
249 |
OOrsCQ.CursorType = 0
|
|
|
250 |
OOrsCQ.CursorLocation = 2
|
|
|
251 |
OOrsCQ.LockType = 3
|
| 119 |
ghuddy |
252 |
|
| 121 |
hknight |
253 |
On Error Resume Next
|
|
|
254 |
OOrsCQ.Open()
|
| 119 |
ghuddy |
255 |
|
| 121 |
hknight |
256 |
' Exit with error if error occurs
|
|
|
257 |
Get_Dependency_CQ_Issues = Err.Number
|
|
|
258 |
If Err.Number <> 0 Then Exit Function
|
| 119 |
ghuddy |
259 |
|
|
|
260 |
|
| 121 |
hknight |
261 |
recCnt = 1
|
| 119 |
ghuddy |
262 |
|
| 121 |
hknight |
263 |
While ((NOT OOrsCQ.BOF) AND (NOT OOrsCQ.EOF))
|
|
|
264 |
ReDim Preserve AAiss( 6, recCnt )
|
|
|
265 |
'If NOT DDdepIss.Exists Cstr(rsTemp("iss_db") &"."& rsTemp("iss_id")) Then
|
|
|
266 |
DDdepIss.Add Cstr(OOrsCQ("iss_db") &"."& OOrsCQ("iss_id")), Cstr(recCnt)
|
|
|
267 |
'End If
|
|
|
268 |
AAiss( enumLoc_iss_db, recCnt ) = OOrsCQ("iss_db")
|
|
|
269 |
AAiss( enumLoc_iss_id, recCnt ) = OOrsCQ("iss_id")
|
|
|
270 |
AAiss( enumLoc_iss_num, recCnt ) = OOrsCQ("iss_num")
|
|
|
271 |
AAiss( enumLoc_summary, recCnt ) = OOrsCQ("summary")
|
|
|
272 |
AAiss( enumLoc_status, recCnt ) = OOrsCQ("status")
|
|
|
273 |
AAiss( enumLoc_priority, recCnt ) = OOrsCQ("priority")
|
|
|
274 |
AAiss( enumLoc_issue_type, recCnt ) = OOrsCQ("issue_type")
|
| 119 |
ghuddy |
275 |
|
| 121 |
hknight |
276 |
recCnt = recCnt + 1
|
|
|
277 |
OOrsCQ.MoveNext
|
|
|
278 |
WEnd
|
| 119 |
ghuddy |
279 |
|
| 121 |
hknight |
280 |
OOrsCQ.Close()
|
| 119 |
ghuddy |
281 |
End Function
|
|
|
282 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
283 |
Function FormatPath ( SSpath )
|
|
|
284 |
|
| 121 |
hknight |
285 |
If (SSpath = "") Then
|
|
|
286 |
FormatPath = ""
|
|
|
287 |
Exit Function
|
|
|
288 |
End If
|
| 119 |
ghuddy |
289 |
|
| 121 |
hknight |
290 |
If (InStr(1, LCase(SSpath), "http") = 1) OR (InStr(1, LCase(SSpath), "www") = 1) Then
|
|
|
291 |
' Source path is URL
|
|
|
292 |
FormatPath = "<a href='"& SSpath &"' class='txt_linked'>"& SSpath &"</a>"
|
|
|
293 |
Else
|
|
|
294 |
FormatPath = SSpath
|
|
|
295 |
End If
|
| 119 |
ghuddy |
296 |
|
|
|
297 |
End Function
|
|
|
298 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
299 |
Sub Group_By ( rsG, styleG, currG )
|
| 121 |
hknight |
300 |
If rsG = currG Then Exit Sub
|
|
|
301 |
Response.write styleG
|
|
|
302 |
'currG = rsG
|
| 119 |
ghuddy |
303 |
End Sub
|
|
|
304 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
305 |
Sub CheckUnitTestsState ( nPv_id, outMSG, outMSG_ID, outNote, outTestsFound )
|
| 121 |
hknight |
306 |
Dim sqlstr, rsTemp
|
|
|
307 |
sqlstr = ReadFile( rootPath & "queries\unit_test_entries_check.sql" )
|
|
|
308 |
sqlstr = Replace( sqlstr, ":PV_ID", nPv_id)
|
|
|
309 |
sqlstr = Replace( sqlstr, ":enumTEST_TYPE_NOT_DONE", enumTEST_TYPE_NOT_DONE)
|
| 119 |
ghuddy |
310 |
|
| 121 |
hknight |
311 |
Set rsTemp = OraDatabase.DbCreateDynaset( sqlstr, cint(0))
|
| 119 |
ghuddy |
312 |
|
| 121 |
hknight |
313 |
If ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF)) Then
|
|
|
314 |
outMSG = rsTemp("msg")
|
|
|
315 |
outMSG_ID = CInt(rsTemp("msg_id"))
|
|
|
316 |
outNote = rsTemp("test_summary")
|
|
|
317 |
outTestsFound = FALSE
|
| 119 |
ghuddy |
318 |
|
| 121 |
hknight |
319 |
If IsNull(rsTemp("msg")) Then outTestsFound = TRUE
|
|
|
320 |
End If
|
| 119 |
ghuddy |
321 |
|
| 121 |
hknight |
322 |
rsTemp.Close()
|
|
|
323 |
Set rsTemp = nothing
|
| 119 |
ghuddy |
324 |
End Sub
|
|
|
325 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
326 |
Function FormatAccepted ( sAccepted, nTest_id )
|
| 121 |
hknight |
327 |
Dim tempSTR
|
|
|
328 |
If IsNull(nTest_id) Then Exit Function
|
| 119 |
ghuddy |
329 |
|
| 121 |
hknight |
330 |
tempSTR = ""
|
| 119 |
ghuddy |
331 |
|
| 121 |
hknight |
332 |
If pageIsEditable Then
|
|
|
333 |
tempSTR = "<select name='acc"& nTest_id &"' class='form_item'>"
|
|
|
334 |
Else
|
|
|
335 |
tempSTR = "<select name='acc"& nTest_id &"' class='form_item' disabled>"
|
|
|
336 |
End If
|
| 119 |
ghuddy |
337 |
|
| 121 |
hknight |
338 |
If sAccepted = enumUNIT_TEST_ACCEPTED Then
|
|
|
339 |
tempSTR = tempSTR &"<option></option>"&_
|
|
|
340 |
"<option value='"& enumUNIT_TEST_ACCEPTED &"' SELECTED>Yes</option>"&_
|
|
|
341 |
"<option value='"& enumUNIT_TEST_NOTACCEPTED &"'>No</option>"
|
| 119 |
ghuddy |
342 |
|
| 121 |
hknight |
343 |
ElseIf sAccepted = enumUNIT_TEST_NOTACCEPTED Then
|
|
|
344 |
tempSTR = tempSTR &"<option></option>"&_
|
|
|
345 |
"<option value='"& enumUNIT_TEST_ACCEPTED &"'>Yes</option>"&_
|
|
|
346 |
"<option value='"& enumUNIT_TEST_NOTACCEPTED &"' SELECTED>No</option>"
|
| 119 |
ghuddy |
347 |
|
| 121 |
hknight |
348 |
Else
|
|
|
349 |
tempSTR = tempSTR &"<option SELECTED></option>"&_
|
|
|
350 |
"<option value='"& enumUNIT_TEST_ACCEPTED &"'>Yes</option>"&_
|
|
|
351 |
"<option value='"& enumUNIT_TEST_NOTACCEPTED &"'>No</option>"
|
| 119 |
ghuddy |
352 |
|
| 121 |
hknight |
353 |
End If
|
| 119 |
ghuddy |
354 |
|
| 121 |
hknight |
355 |
tempSTR = tempSTR & "</select>"
|
| 119 |
ghuddy |
356 |
|
| 121 |
hknight |
357 |
FormatAccepted = tempSTR
|
| 119 |
ghuddy |
358 |
|
|
|
359 |
End Function
|
|
|
360 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
361 |
Function SQL_CodeReview ( nPv_id )
|
| 121 |
hknight |
362 |
SQL_CodeReview = _
|
|
|
363 |
" SELECT cr.date_of_review, cr.time_spent, cr.review_reason, cr.rteam_domain_expert,"&_
|
|
|
364 |
" cr.rteam_language_expert, cr.rteam_peer_developer, cr.rteam_author,"&_
|
|
|
365 |
" cr.files_reviewed, cr.review_results, cr.issues_raised,"&_
|
|
|
366 |
" cr.review_comments, cr.fnc_s_meets_functionality,"&_
|
|
|
367 |
" cr.fnc_c_meets_functionality"&_
|
|
|
368 |
" FROM code_reviews cr"&_
|
|
|
369 |
" WHERE cr.pv_id = "& nPv_id
|
| 119 |
ghuddy |
370 |
End Function
|
|
|
371 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
372 |
Function SQL_Build_Env ( nPv_id )
|
| 121 |
hknight |
373 |
SQL_Build_Env = _
|
|
|
374 |
" SELECT pv.*, bm.BM_ID,"&_
|
|
|
375 |
" bm.BM_NAME,"&_
|
|
|
376 |
" pkgbinfo.BSA_ID"&_
|
|
|
377 |
" FROM PACKAGE_BUILD_INFO pkgbinfo,"&_
|
|
|
378 |
" BUILD_MACHINES bm,"&_
|
|
|
379 |
" PACKAGE_VERSIONS pv"&_
|
|
|
380 |
" WHERE pkgbinfo.BM_ID = bm.BM_ID"&_
|
|
|
381 |
" AND pv.PV_ID = pkgbinfo.PV_ID"&_
|
|
|
382 |
" AND pkgbinfo.PV_ID = "& nPv_id &_
|
|
|
383 |
" ORDER BY UPPER(bm.BM_NAME) "
|
| 119 |
ghuddy |
384 |
End Function
|
|
|
385 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
386 |
Function DecodeOverallResult ( ByVal cCheck )
|
| 121 |
hknight |
387 |
If cCheck = "" OR IsNull(cCheck) Then cCheck = 0
|
| 119 |
ghuddy |
388 |
|
| 121 |
hknight |
389 |
Select Case CInt( cCheck )
|
|
|
390 |
Case enumCODE_REVIEW_ACCEPTED
|
|
|
391 |
DecodeOverallResult = "Accepted"
|
|
|
392 |
Case enumCODE_REVIEW_MINOR_UPDATES
|
|
|
393 |
DecodeOverallResult = "Minor updates required"
|
|
|
394 |
Case enumCODE_REVIEW_MAJOR_REWORK
|
|
|
395 |
DecodeOverallResult = "Major rework required"
|
|
|
396 |
Case Else
|
|
|
397 |
DecodeOverallResult = ""
|
|
|
398 |
End Select
|
| 119 |
ghuddy |
399 |
|
|
|
400 |
End Function
|
|
|
401 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
402 |
Function GetBuildType ( nBuildType )
|
|
|
403 |
|
| 121 |
hknight |
404 |
If (NOT IsNull(nBuildType)) OR (NOT nBuildType = "") Then
|
| 119 |
ghuddy |
405 |
|
| 121 |
hknight |
406 |
If ( CInt(nBuildType) = enumDB_BUILD_TYPE_NONE ) Then
|
|
|
407 |
GetBuildType = "Build type not specified!"
|
|
|
408 |
Else
|
|
|
409 |
GetBuildType = GetBuildTypeString( nBuildType )
|
|
|
410 |
End If
|
| 119 |
ghuddy |
411 |
|
| 121 |
hknight |
412 |
Else
|
|
|
413 |
GetBuildType = GetBuildTypeString( nBuildType )
|
| 119 |
ghuddy |
414 |
|
| 121 |
hknight |
415 |
End If
|
| 119 |
ghuddy |
416 |
|
| 121 |
hknight |
417 |
'' Wrap around brackets
|
|
|
418 |
GetBuildType = "("& GetBuildType &")"
|
| 119 |
ghuddy |
419 |
|
|
|
420 |
End Function
|
|
|
421 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
422 |
Sub GetPackageMetrics (NNpv_id, rsTemp)
|
|
|
423 |
|
| 121 |
hknight |
424 |
OraDatabase.Parameters.Add "PV_ID", NNpv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 119 |
ghuddy |
425 |
|
| 121 |
hknight |
426 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageMetrics.sql"), cint(0))
|
| 119 |
ghuddy |
427 |
|
| 121 |
hknight |
428 |
OraDatabase.Parameters.Remove "PV_ID"
|
| 119 |
ghuddy |
429 |
|
|
|
430 |
End Sub
|
|
|
431 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
|
|
432 |
Sub GetCodeReviewURLs (NNpv_id, rsTemp)
|
|
|
433 |
|
| 121 |
hknight |
434 |
OraDatabase.Parameters.Add "PV_ID", NNpv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
| 119 |
ghuddy |
435 |
|
| 121 |
hknight |
436 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("CodeReviewURLs.sql"), cint(0))
|
| 119 |
ghuddy |
437 |
|
| 121 |
hknight |
438 |
OraDatabase.Parameters.Remove "PV_ID"
|
| 119 |
ghuddy |
439 |
|
|
|
440 |
End Sub
|
| 161 |
iaugusti |
441 |
|
|
|
442 |
|
|
|
443 |
'---------------------------------------------------------------
|
|
|
444 |
Sub Query_Config_Spec (NNRtag_id, NNPv_id)
|
|
|
445 |
OraDatabase.Parameters.Add "RTAG_ID", NNRtag_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
446 |
OraDatabase.Parameters.Add "PV_ID", NNPv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
447 |
If NNRtag_id <> "" Then
|
|
|
448 |
If pkgInfoHash.Item ("dlocked") <> "Y" Then
|
|
|
449 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("config_spec.sql"), cint(0))
|
|
|
450 |
Else
|
|
|
451 |
Set rsQry = OraDatabase.DbCreateDynaset( Replace(GetQuery("config_spec.sql"), "PV.LAST_PV_ID", "PV.PV_ID"), cint(0))
|
|
|
452 |
End If
|
|
|
453 |
Else
|
|
|
454 |
If pkgInfoHash.Item ("dlocked") <> "Y" Then
|
|
|
455 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("config_spec_nortag.sql"), cint(0))
|
|
|
456 |
Else
|
|
|
457 |
Set rsQry = OraDatabase.DbCreateDynaset( Replace(GetQuery("config_spec_nortag.sql"), "PV.LAST_PV_ID", "PV.PV_ID"), cint(0))
|
|
|
458 |
End If
|
|
|
459 |
End If
|
|
|
460 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
|
|
461 |
OraDatabase.Parameters.Remove "PV_ID"
|
|
|
462 |
End Sub
|
|
|
463 |
|
|
|
464 |
'---------------------------------------------------------------
|
| 167 |
brianf |
465 |
' Returns the jats extraction commands
|
| 161 |
iaugusti |
466 |
Sub Jats_Extract_Command (ByRef ajats_cmd, ByRef ajats_cmd_test)
|
|
|
467 |
Dim dlocked: dlocked = pkgInfoHash.Item("dlocked")
|
| 167 |
brianf |
468 |
|
| 169 |
brianf |
469 |
Dim pkg_vcs_tag: pkg_vcs_tag = Get_Pkg_Vcs_Tag(Request("pv_id"))
|
| 161 |
iaugusti |
470 |
|
| 167 |
brianf |
471 |
' if not released then use last package version vcs tag and branch else use current vcs tag
|
|
|
472 |
If dlocked <> "Y" Then
|
|
|
473 |
' not released, so get last package version id
|
|
|
474 |
Dim last_pv_id: last_pv_id = pkgInfoHash.Item("last_pv_id")
|
| 169 |
brianf |
475 |
Dim last_pkg_vcs_tag: last_pkg_vcs_tag = Get_Pkg_Vcs_Tag(last_pv_id)
|
| 167 |
brianf |
476 |
Call Query_Config_Spec (Request("rtag_id"), last_pv_id)
|
|
|
477 |
Dim config_branch: config_branch = rsQry("config_spec_branch")
|
| 161 |
iaugusti |
478 |
|
| 167 |
brianf |
479 |
If NOT IsNull(config_branch) AND (config_branch <> "") Then
|
|
|
480 |
ajats_cmd = "jats vcsrelease -extract -label """ & last_pkg_vcs_tag & """ -branch " & config_branch
|
|
|
481 |
Else
|
|
|
482 |
ajats_cmd = "jats vcsrelease -extract -label """ & last_pkg_vcs_tag & """"
|
|
|
483 |
End If
|
| 161 |
iaugusti |
484 |
Else
|
| 167 |
brianf |
485 |
' released
|
| 163 |
brianf |
486 |
ajats_cmd = "jats vcsrelease -extract -label """ & pkg_vcs_tag & """"
|
| 161 |
iaugusti |
487 |
End If
|
| 167 |
brianf |
488 |
|
| 163 |
brianf |
489 |
ajats_cmd_test = "jats vcsrelease -test -label """ & pkg_vcs_tag & """"
|
| 161 |
iaugusti |
490 |
|
|
|
491 |
rsQry.Close()
|
|
|
492 |
Set rsQry = nothing
|
|
|
493 |
|
|
|
494 |
End Sub
|
|
|
495 |
|
| 167 |
brianf |
496 |
'---------------------------------------------------------------
|
|
|
497 |
' Returns the VCS tag for the specified package version
|
| 169 |
brianf |
498 |
Function Get_Pkg_Vcs_Tag(apv_id)
|
| 167 |
brianf |
499 |
OraDatabase.Parameters.Add "PV_ID", apv_id, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
500 |
OraDatabase.Parameters.Add "RETURN_CODE","", ORAPARM_OUTPUT, ORATYPE_VARCHAR2
|
|
|
501 |
OraDatabase.ExecuteSQL ("BEGIN :RETURN_CODE := PK_RMAPI.RETURN_VCS_TAG( :PV_ID ); END;")
|
| 169 |
brianf |
502 |
Get_Pkg_Vcs_Tag = OraDatabase.Parameters("RETURN_CODE").Value
|
| 167 |
brianf |
503 |
OraDatabase.Parameters.Remove "PV_ID"
|
|
|
504 |
OraDatabase.Parameters.Remove "RETURN_CODE"
|
|
|
505 |
End Function
|
| 161 |
iaugusti |
506 |
|
| 119 |
ghuddy |
507 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 129 |
ghuddy |
508 |
|
|
|
509 |
|
|
|
510 |
'----------------------------------------------------------------------------------------------------------------------------------------
|
| 119 |
ghuddy |
511 |
%>
|
|
|
512 |
<%
|
|
|
513 |
'------------------ MAIN LINE --------------------
|
|
|
514 |
'-------------------------------------------------
|
|
|
515 |
%>
|
|
|
516 |
<!-- PACKAGE INFORMATION --------------------------------------------------------------------------------------------------------------->
|
| 161 |
iaugusti |
517 |
<fieldset class="fset"><legend class="body_colb"><img src='images/s_info.gif' width='21' height='24' hspace='4' border='0' align='absmiddle'>Package Information</legend>
|
| 121 |
hknight |
518 |
<a name="PACKAGE_INFORMATION"></a>
|
|
|
519 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
520 |
<tr>
|
|
|
521 |
<td align="right" valign="bottom">
|
|
|
522 |
<%If pageIsEditable Then%>
|
|
|
523 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_pkg_info.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','PackageInfo','resizable=yes,width=650,height=690')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
|
|
524 |
<%End If%>
|
|
|
525 |
</td>
|
|
|
526 |
</tr>
|
|
|
527 |
</table>
|
|
|
528 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 129 |
ghuddy |
529 |
<%
|
|
|
530 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Package_Information ( parPv_id ), cint(0))
|
| 161 |
iaugusti |
531 |
|
| 137 |
ghuddy |
532 |
Call get_vcs_info_for_package( rsQry("pkg_label"), rsQry("build_type"), rsQry("vcs_type_id"), rsQry("dlocked"), vcsInfoCollector )
|
| 161 |
iaugusti |
533 |
|
|
|
534 |
%>
|
| 129 |
ghuddy |
535 |
|
| 161 |
iaugusti |
536 |
<%
|
|
|
537 |
' State
|
|
|
538 |
Dim sstate
|
| 171 |
brianf |
539 |
Dim bcan_unlock
|
| 161 |
iaugusti |
540 |
Dim stitle
|
| 171 |
brianf |
541 |
Dim bis_patch
|
|
|
542 |
Dim slockonclick: slockonclick=""
|
| 161 |
iaugusti |
543 |
|
| 171 |
brianf |
544 |
bis_patch = not IsNull(pkgInfoHash.Item ("is_patch"))
|
| 183 |
brianf |
545 |
' the user can unlock a patch if they have permission
|
|
|
546 |
' packages can be unlocked by the btnUnlockRelease button
|
|
|
547 |
bcan_unlock = bis_patch AND objAccessControl.IsDataActive ("PROJECTS", DB_PROJ_ID, "EditProjects") AND (objAccessControl.IsActive("UnlockPatch"))
|
| 171 |
brianf |
548 |
|
| 161 |
iaugusti |
549 |
If (pkgInfoHash.Item ("dlocked") = "Y") Then
|
|
|
550 |
sstate = "Released"
|
|
|
551 |
Else
|
|
|
552 |
sstate = "Not released"
|
| 171 |
brianf |
553 |
End If
|
|
|
554 |
|
|
|
555 |
If bcan_unlock Then
|
| 161 |
iaugusti |
556 |
If (pkgInfoHash.Item ("dlocked") = "Y") Then
|
| 183 |
brianf |
557 |
' Unlock patch.
|
|
|
558 |
stitle="Unlock the patch"
|
| 161 |
iaugusti |
559 |
shref="_s_unlock_package.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id
|
|
|
560 |
ElseIf (pkgInfoHash.Item ("dlocked") = "N") Then
|
| 183 |
brianf |
561 |
' lock patch.
|
| 161 |
iaugusti |
562 |
shref="_s_lock_package.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id
|
| 183 |
brianf |
563 |
stitle="Lock the patch. Release requirements are not applied."
|
| 161 |
iaugusti |
564 |
End If
|
|
|
565 |
End if
|
| 171 |
brianf |
566 |
|
| 129 |
ghuddy |
567 |
%>
|
| 161 |
iaugusti |
568 |
|
| 121 |
hknight |
569 |
<tr>
|
| 161 |
iaugusti |
570 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
| 171 |
brianf |
571 |
<% If bcan_unlock Then
|
|
|
572 |
If (slockonclick = "") Then%>
|
|
|
573 |
<a href=<%=shref%> class='body_txt' title=<%=stitle%>><strong>Status:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
|
|
|
574 |
<% Else %>
|
|
|
575 |
<a href=<%=shref%> onClick=<%=slockonclick%> class='body_txt' title=<%=stitle%>><strong>Status:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' ></a>
|
|
|
576 |
<% End If %>
|
|
|
577 |
<% Else %>
|
|
|
578 |
<b><strong>Status:</strong></b>
|
|
|
579 |
<% End If %>
|
| 161 |
iaugusti |
580 |
</td>
|
|
|
581 |
<td bgcolor=#f5f5f5 class="sublbox_txt"><%=sstate%></td>
|
|
|
582 |
</tr>
|
|
|
583 |
|
|
|
584 |
<tr>
|
|
|
585 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Deployable:</b></td>
|
|
|
586 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 121 |
hknight |
587 |
<%If IsNull( rsQry("is_deployable") ) Then%>No<%Else%>Yes<%End If%>
|
|
|
588 |
</td>
|
|
|
589 |
</tr>
|
| 129 |
ghuddy |
590 |
|
| 161 |
iaugusti |
591 |
<tr>
|
|
|
592 |
<td width="1%" nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Short Description:</b></td>
|
|
|
593 |
<td witdh="100%" bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
594 |
<%If IsNull( rsQry("pv_description") ) Then%>
|
|
|
595 |
<span class='err_alert'>Required!</span><%Else%><%=NewLine_To_BR ( To_HTML( rsQry("pv_description") ) )%>
|
|
|
596 |
<%End If%>
|
|
|
597 |
</td>
|
|
|
598 |
</tr>
|
|
|
599 |
<tr>
|
|
|
600 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Package Overview:</b> </td>
|
|
|
601 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
602 |
<%If IsNull( rsQry("pv_overview") ) Then%>
|
|
|
603 |
<span class='err_alert'>Required!</span><%Else%><%=NewLine_To_BR ( To_HTML( rsQry("pv_overview") ) )%>
|
|
|
604 |
<%End If%>
|
|
|
605 |
</td>
|
|
|
606 |
</tr>
|
|
|
607 |
|
|
|
608 |
<%
|
|
|
609 |
Dim shref
|
|
|
610 |
Dim smail
|
|
|
611 |
Dim sonclick
|
|
|
612 |
|
|
|
613 |
' Owner:
|
|
|
614 |
sonclick="MM_openBrWindow('_wform_change_owner.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id &"','ChangeOwner','resizable=yes,width=400,height=200')"
|
|
|
615 |
smail = pkgInfoHash.Item ("owner_email")
|
|
|
616 |
shref = "mailto:"& smail
|
|
|
617 |
%>
|
|
|
618 |
|
|
|
619 |
<tr>
|
|
|
620 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
|
|
621 |
<%If objAccessControl.UserLogedIn() Then%>
|
|
|
622 |
<a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
|
|
|
623 |
<strong>Owner:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Change owner'>
|
|
|
624 |
</a>
|
|
|
625 |
<%Else%>
|
|
|
626 |
<strong>Owner:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Change owner'>
|
|
|
627 |
<%End If%>
|
|
|
628 |
</td>
|
|
|
629 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
630 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" ID="Table1">
|
|
|
631 |
<tr class="sublbox_txt">
|
|
|
632 |
<td><%=pkgInfoHash.Item ("owner")%></td>
|
|
|
633 |
<td><a href=<%=shref%> class='txt_linked'><img src='images/bt_send_email.gif' width='36' height='13' hspace='3' border='0' align=right alt=<%=smail%>></a></td>
|
|
|
634 |
</tr>
|
|
|
635 |
</table>
|
|
|
636 |
</td>
|
|
|
637 |
</tr>
|
|
|
638 |
|
|
|
639 |
<%
|
|
|
640 |
' Created:
|
|
|
641 |
smail = pkgInfoHash.Item ("creator_email")
|
|
|
642 |
shref = "mailto:"& smail
|
|
|
643 |
%>
|
|
|
644 |
<tr>
|
|
|
645 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Created:</b></td>
|
|
|
646 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
647 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" ID="Table3">
|
|
|
648 |
<tr class="sublbox_txt">
|
|
|
649 |
<td><%=EuroDate(pkgInfoHash.Item ("created_stamp"))&" by "& pkgInfoHash.Item ("creator")%></td>
|
|
|
650 |
<td><a href=<%=shref%> class='txt_linked'><img src='images/bt_send_email.gif' width='36' height='13' hspace='3' border='0' align=right alt=<%=smail%>></a></td>
|
|
|
651 |
</tr>
|
|
|
652 |
</table>
|
|
|
653 |
</td>
|
|
|
654 |
</tr>
|
|
|
655 |
|
|
|
656 |
<%
|
|
|
657 |
' Last Modified:
|
|
|
658 |
smail = pkgInfoHash.Item ("modifier_email")
|
|
|
659 |
shref = "mailto:"& smail
|
|
|
660 |
%>
|
|
|
661 |
<tr>
|
|
|
662 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Last Modified:</b></td>
|
|
|
663 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
664 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" ID="Table4">
|
|
|
665 |
<tr class="sublbox_txt">
|
|
|
666 |
<td><%=EuroDateTime(pkgInfoHash.Item ("modified_stamp")) &" by "& pkgInfoHash.Item ("modifier")%></td>
|
|
|
667 |
<td><a href=<%=shref%> class='txt_linked'><img src='images/bt_send_email.gif' width='36' height='13' hspace='3' border='0' align=right alt=<%=smail%>></a></td>
|
|
|
668 |
</tr>
|
|
|
669 |
</table>
|
|
|
670 |
</td>
|
|
|
671 |
</tr>
|
|
|
672 |
|
|
|
673 |
<%
|
|
|
674 |
' Added to Release
|
|
|
675 |
smail = pkgInfoHash.Item ("insertor_email")
|
|
|
676 |
shref = "mailto:"& smail
|
|
|
677 |
If IsNull(pkgInfoHash.Item ("is_patch")) AND (Request("rtag_id") <> "") AND (pkgInfoHash.Item ("insertor") <> "") Then
|
|
|
678 |
%>
|
|
|
679 |
<tr>
|
|
|
680 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Added to Release:</b></td>
|
|
|
681 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
682 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" ID="Table2">
|
|
|
683 |
<tr class="sublbox_txt">
|
|
|
684 |
<td><%=EuroDate(pkgInfoHash.Item ("insert_stamp")) &" by "& pkgInfoHash.Item ("insertor")%></td>
|
|
|
685 |
<td><a href=<%=shref%> class='txt_linked'><img src='images/bt_send_email.gif' width='36' height='13' hspace='3' border='0' align=right alt=<%=smail%>></a></td>
|
|
|
686 |
</tr>
|
|
|
687 |
</table>
|
|
|
688 |
</td>
|
|
|
689 |
</tr>
|
|
|
690 |
<%End If%>
|
|
|
691 |
|
| 139 |
ghuddy |
692 |
<%If (vcsInfoCollector.Item("vcs_tag") = enum_VCS_CLEARCASE_TAG) OR (vcsInfoCollector.Item("vcs_tag") = enum_VCS_CVS_TAG) Then%>
|
| 129 |
ghuddy |
693 |
<tr>
|
| 161 |
iaugusti |
694 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Version Control System:</b></td>
|
|
|
695 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
696 |
<%=NewLine_To_BR ( To_HTML( vcsInfoCollector.Item("vcs_name") ) )%>
|
|
|
697 |
</td>
|
|
|
698 |
</tr>
|
| 161 |
iaugusti |
699 |
|
| 129 |
ghuddy |
700 |
<tr>
|
| 161 |
iaugusti |
701 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Label:</b></td>
|
|
|
702 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
703 |
<%If IsNull( rsQry("pkg_label") ) Then%>
|
|
|
704 |
<span class='err_alert'>Required!</span><%Else%><%=NewLine_To_BR ( To_HTML( rsQry("pkg_label") ) )%>
|
|
|
705 |
<%End If%>
|
|
|
706 |
</td>
|
|
|
707 |
</tr>
|
|
|
708 |
<tr>
|
| 161 |
iaugusti |
709 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Source Path:</b> </td>
|
|
|
710 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
711 |
<%If IsNull( rsQry("src_path") ) Then%>
|
|
|
712 |
<span class='err_alert'>Required!</span><%Else%><%=NewLine_To_BR ( To_HTML( rsQry("src_path") ) )%>
|
|
|
713 |
<%End If%>
|
|
|
714 |
</td>
|
|
|
715 |
</tr>
|
|
|
716 |
<%ElseIf vcsInfoCollector.Item("vcs_tag") = enum_VCS_SUBVERSION_TAG Then%>
|
|
|
717 |
<tr>
|
| 161 |
iaugusti |
718 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Version Control System:</b></td>
|
|
|
719 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
720 |
<%=NewLine_To_BR ( To_HTML( vcsInfoCollector.Item("vcs_name") ) )%>
|
|
|
721 |
</td>
|
|
|
722 |
</tr>
|
|
|
723 |
<tr>
|
| 161 |
iaugusti |
724 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>SubVersion Tag:</b> </td>
|
|
|
725 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
726 |
<%If IsNull( rsQry("src_path") ) Then%>
|
|
|
727 |
<span class='err_alert'>Required!</span><%Else%><%=NewLine_To_BR ( To_HTML( rsQry("src_path") ) )%>
|
|
|
728 |
<%End If%>
|
|
|
729 |
</td>
|
|
|
730 |
</tr>
|
| 191 |
brianf |
731 |
<%If PackageExists(parRtag_id,parPv_id,"work_in_progress") Then%>
|
| 183 |
brianf |
732 |
<tr>
|
|
|
733 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>WIP Tag:</b> </td>
|
|
|
734 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 191 |
brianf |
735 |
<%If IsNull( rsQry("pkg_label") ) Then%>
|
|
|
736 |
<span class='err_alert'>Required!</span><%Else%><%=NewLine_To_BR ( To_HTML( rsQry("pkg_label") ) )%>
|
|
|
737 |
<%End If%>
|
| 183 |
brianf |
738 |
</td>
|
|
|
739 |
</tr>
|
|
|
740 |
<%End If%>
|
| 129 |
ghuddy |
741 |
<%ElseIf vcsInfoCollector.Item("vcs_tag") = enum_VCS_UNCONTROLLED_TAG Then%>
|
|
|
742 |
<tr>
|
| 161 |
iaugusti |
743 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Version Control System:</b></td>
|
|
|
744 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
745 |
<%=NewLine_To_BR ( To_HTML( vcsInfoCollector.Item("vcs_name") ) )%>
|
|
|
746 |
</td>
|
|
|
747 |
</tr>
|
|
|
748 |
<%Else%>
|
|
|
749 |
<tr>
|
| 161 |
iaugusti |
750 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Version Control System:</b></td>
|
|
|
751 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
752 |
<span class='err_alert'>Required!</span>
|
|
|
753 |
</td>
|
|
|
754 |
</tr>
|
|
|
755 |
<%End If%>
|
|
|
756 |
|
| 121 |
hknight |
757 |
<tr>
|
| 161 |
iaugusti |
758 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Base View:</b></td>
|
|
|
759 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
760 |
<%=Get_Pkg_Base_View ( parPv_id, parRtag_id )%>
|
| 121 |
hknight |
761 |
</td>
|
|
|
762 |
</tr>
|
| 161 |
iaugusti |
763 |
|
| 121 |
hknight |
764 |
<tr>
|
| 161 |
iaugusti |
765 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top">
|
| 123 |
ghuddy |
766 |
<b>Build Standard:</b>
|
| 121 |
hknight |
767 |
</td>
|
|
|
768 |
<%
|
|
|
769 |
If pkgInfoHash.Item ("bs_id") <> "" Then
|
|
|
770 |
If pkgInfoHash.Item ("bs_id") = "1" Then
|
| 161 |
iaugusti |
771 |
Response.write "<td bgcolor=#f5f5f5 class='sublbox_txt'>JATS<br></td>"
|
| 119 |
ghuddy |
772 |
|
| 121 |
hknight |
773 |
ElseIf pkgInfoHash.Item ("bs_id") = "2" Then
|
| 161 |
iaugusti |
774 |
Response.write "<td bgcolor=#f5f5f5 class='sublbox_txt'>ANT<br></td>"
|
| 119 |
ghuddy |
775 |
|
| 121 |
hknight |
776 |
ElseIf pkgInfoHash.Item ("bs_id") = "3" Then
|
| 161 |
iaugusti |
777 |
Response.write "<td bgcolor=#f5f5f5 class='sublbox_txt'>NONE<br></td>"
|
| 121 |
hknight |
778 |
End If
|
|
|
779 |
Else
|
| 129 |
ghuddy |
780 |
If vcsInfoCollector.Item("vcs_tag") <> enum_VCS_UNCONTROLLED_TAG Then
|
| 161 |
iaugusti |
781 |
Response.write "<td bgcolor=#f5f5f5 class='sublbox_txt'><span class='err_alert'>Required!</span><br></td>"
|
| 129 |
ghuddy |
782 |
Else
|
| 161 |
iaugusti |
783 |
Response.write "<td bgcolor=#f5f5f5 class='sublbox_txt'>Unspecified<br></td>"
|
| 129 |
ghuddy |
784 |
End If
|
| 121 |
hknight |
785 |
End If
|
|
|
786 |
%>
|
|
|
787 |
</tr>
|
| 129 |
ghuddy |
788 |
<%If (NOT IsNull(pkgInfoHash.Item ("bs_id"))) AND (pkgInfoHash.Item ("bs_id") <> "3") Then%>
|
|
|
789 |
<tr>
|
| 161 |
iaugusti |
790 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>Build Environment:</b> </td>
|
| 129 |
ghuddy |
791 |
<%
|
|
|
792 |
'--- Get Build Env Details
|
|
|
793 |
Set rsTemp = OraDatabase.DbCreateDynaset( SQL_Build_Env ( parPv_id ), cint(0))
|
|
|
794 |
%>
|
| 161 |
iaugusti |
795 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 129 |
ghuddy |
796 |
<%If rsTemp.RecordCount = 0 Then%>
|
|
|
797 |
<%If rsQry("is_build_env_required") = enumDB_NO Then%>
|
|
|
798 |
Not Required
|
|
|
799 |
<%Else%>
|
|
|
800 |
<span class='err_alert'>Required!</span>
|
|
|
801 |
<%End If%>
|
|
|
802 |
<%Else%>
|
|
|
803 |
<%If (IsNull( rsQry("is_build_env_required") ) AND (rsQry("comments") <> "Rippled Build.")) Then%>
|
|
|
804 |
<span class='err_alert'>Required!</span>
|
|
|
805 |
<%ElseIf rsQry("is_build_env_required") = enumDB_NO Then%>
|
|
|
806 |
Not Required.
|
|
|
807 |
<%Else%>
|
|
|
808 |
<table width="40%" border="0" cellspacing="3" cellpadding="2">
|
|
|
809 |
<%
|
|
|
810 |
currG1 = 0
|
|
|
811 |
While (NOT rsTemp.BOF) AND (NOT rsTemp.EOF)
|
|
|
812 |
'retVal = Lookup_Document ( rsQry("doc_num"), sDocTitle, NULL, NULL, NULL )
|
|
|
813 |
%>
|
|
|
814 |
<%If currG1 <> CInt(rsTemp("bm_id")) Then%>
|
|
|
815 |
<tr>
|
| 161 |
iaugusti |
816 |
<td colspan="2" nowrap class="sublbox_txt" bgcolor=#e4e9ec>
|
| 129 |
ghuddy |
817 |
<%=rsTemp("bm_name")%> <%=GetBuildType( rsTemp("bsa_id") )%>
|
|
|
818 |
</td>
|
|
|
819 |
</tr>
|
|
|
820 |
<%currG1 = CInt(rsTemp("bm_id"))
|
|
|
821 |
End If
|
|
|
822 |
rsTemp.MoveNext
|
|
|
823 |
WEnd
|
|
|
824 |
%>
|
|
|
825 |
<tr>
|
|
|
826 |
<td width="5%"></td>
|
|
|
827 |
<td width="95%"></td>
|
|
|
828 |
</tr>
|
|
|
829 |
</table>
|
|
|
830 |
<%End If%>
|
| 121 |
hknight |
831 |
<%End If%>
|
| 129 |
ghuddy |
832 |
</td>
|
|
|
833 |
</tr>
|
|
|
834 |
<%End If%>
|
|
|
835 |
|
| 161 |
iaugusti |
836 |
<%If IsNull(pkgInfoHash.Item ("is_patch")) Then%>
|
|
|
837 |
<tr>
|
|
|
838 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
|
|
839 |
<%
|
|
|
840 |
' Previous Version
|
|
|
841 |
sonclick="MM_openBrWindow(""_wform_change_previous_version.asp?rfile="& scriptName &"&pv_id="& parPv_id &"&rtag_id="& parRtag_id &""",""ChangeOwner"",""resizable=yes,width=400,height=200"")"
|
|
|
842 |
If objAccessControl.IsActive("ChangePreviousVersion") Then
|
|
|
843 |
%>
|
|
|
844 |
<a href='javascript:;' onClick=<%=sonclick%> class='body_txt'>
|
|
|
845 |
<strong>Previous Version:</strong><img src='images/i_edit.gif' width='12' height='12' border='0' alt='Edit'>
|
|
|
846 |
</a>
|
|
|
847 |
<%Else%>
|
|
|
848 |
<strong>Previous Version:</strong><img src='images/i_edit_disable.gif' width='12' height='12' border='0' alt='Edit'>
|
|
|
849 |
<%End If%>
|
|
|
850 |
</td>
|
| 129 |
ghuddy |
851 |
|
| 161 |
iaugusti |
852 |
<%
|
|
|
853 |
Dim sprevious_version_value
|
|
|
854 |
sprevious_version_value = ""
|
|
|
855 |
If IsNull(pkgInfoHash.Item ("previous_version")) Then
|
|
|
856 |
sprevious_version_value = "Unknown!"
|
|
|
857 |
Else
|
|
|
858 |
sprevious_version_value = pkgInfoHash.Item ("previous_version")
|
|
|
859 |
End If
|
| 129 |
ghuddy |
860 |
|
| 161 |
iaugusti |
861 |
' Previous pkg vcs tag
|
|
|
862 |
Dim last_pv_id
|
|
|
863 |
Dim rsQryPV, rsQryVT
|
|
|
864 |
Set rsQryPV = OraDatabase.DbCreateDynaset( "SELECT last_pv_id from package_versions where pv_id ="&parPv_id , cint(0))
|
| 191 |
brianf |
865 |
Dim slast_vcs_tag
|
| 161 |
iaugusti |
866 |
last_pv_id = rsQryPV("last_pv_id")
|
| 191 |
brianf |
867 |
If (pv_id_exists(last_pv_id)) Then
|
|
|
868 |
slast_vcs_tag = Get_Pkg_Vcs_Tag(last_pv_id)
|
|
|
869 |
End If
|
| 161 |
iaugusti |
870 |
%>
|
|
|
871 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
872 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
873 |
<tr class="sublbox_txt">
|
|
|
874 |
<td width=15% colspan=2 nowrap class="sublbox_txt">
|
|
|
875 |
<%=sprevious_version_value%>
|
|
|
876 |
</td>
|
|
|
877 |
<td colspan="2" nowrap class="sublbox_txt">
|
| 167 |
brianf |
878 |
<%=NewLine_To_BR ( To_HTML(slast_vcs_tag) )%><%=Quick_Help ( "PreviousVcsTag" )%>
|
| 161 |
iaugusti |
879 |
</td>
|
|
|
880 |
</tr>
|
|
|
881 |
</table>
|
|
|
882 |
</td>
|
|
|
883 |
</tr>
|
|
|
884 |
<%End If%>
|
|
|
885 |
<%
|
|
|
886 |
Dim iLastSignificantPVID
|
|
|
887 |
Dim old_pkg_vcs_tag
|
|
|
888 |
Dim old_previous_version_value
|
|
|
889 |
iLastSignificantPVID = getLastSignificantPVID(pkgInfoHash.Item("pv_id"), pkgInfoHash.Item("last_pv_id"))
|
| 129 |
ghuddy |
890 |
|
| 161 |
iaugusti |
891 |
If (pv_id_exists(iLastSignificantPVID) = TRUE) Then
|
|
|
892 |
Dim rsQryLPV
|
| 167 |
brianf |
893 |
Set rsQryLPV = OraDatabase.DbCreateDynaset( "SELECT pkg_version from package_versions where pv_id ="&iLastSignificantPVID , cint(0))
|
| 161 |
iaugusti |
894 |
old_previous_version_value = rsQryLPV("pkg_version")
|
| 169 |
brianf |
895 |
old_pkg_vcs_tag = Get_Pkg_Vcs_Tag(iLastSignificantPVID)
|
| 161 |
iaugusti |
896 |
%>
|
|
|
897 |
<tr>
|
|
|
898 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt"><strong>Previous Significant Version:</strong></td>
|
|
|
899 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
900 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
901 |
<tr class="sublbox_txt">
|
|
|
902 |
<td width=15% colspan=2 nowrap class="sublbox_txt">
|
|
|
903 |
<%=old_previous_version_value%>
|
| 129 |
ghuddy |
904 |
</td>
|
| 161 |
iaugusti |
905 |
<td colspan=2 nowrap class="sublbox_txt">
|
|
|
906 |
<%=old_pkg_vcs_tag%><%=Quick_Help ( "PreviousSignificantVcsTag" )%>
|
| 129 |
ghuddy |
907 |
</td>
|
| 161 |
iaugusti |
908 |
</tr>
|
|
|
909 |
</table>
|
|
|
910 |
</td>
|
|
|
911 |
</tr>
|
|
|
912 |
<%End If%>
|
| 129 |
ghuddy |
913 |
|
| 161 |
iaugusti |
914 |
<tr>
|
|
|
915 |
<%
|
|
|
916 |
' Get JATS extraction commands
|
|
|
917 |
Dim sjats_cmd,sjats_cmd_test
|
|
|
918 |
call Jats_Extract_Command(sjats_cmd,sjats_cmd_test)
|
|
|
919 |
%>
|
|
|
920 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
|
|
921 |
<strong>JATS extraction command:</strong>
|
|
|
922 |
</td>
|
|
|
923 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
924 |
<%=NewLine_To_BR ( To_HTML(sjats_cmd) )%>
|
|
|
925 |
</td>
|
|
|
926 |
</tr>
|
|
|
927 |
<tr>
|
|
|
928 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
|
|
929 |
<strong>JATS Test:</strong>
|
|
|
930 |
</td>
|
|
|
931 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
932 |
<%=NewLine_To_BR ( To_HTML(sjats_cmd_test) )%>
|
|
|
933 |
</td>
|
|
|
934 |
</tr>
|
| 129 |
ghuddy |
935 |
|
| 161 |
iaugusti |
936 |
<%
|
|
|
937 |
' Codestriker and Beyond Compare differencing commands
|
|
|
938 |
Dim oldLabel
|
|
|
939 |
Dim old_vcs_tag
|
|
|
940 |
Dim sCsCmd
|
|
|
941 |
Dim sBcCmd
|
|
|
942 |
sCsCmd = ""
|
|
|
943 |
sBcCmd = ""
|
|
|
944 |
If vcsInfoCollector.Item("vcs_tag") = enum_VCS_CLEARCASE_TAG Then
|
|
|
945 |
If (pv_id_exists(iLastSignificantPVID) = TRUE) Then
|
|
|
946 |
old_vcs_tag = get_vcs_tag(iLastSignificantPVID)
|
|
|
947 |
If (old_vcs_tag = enum_VCS_CLEARCASE_TAG) Then
|
|
|
948 |
oldLabel = get_Pkg_Label(iLastSignificantPVID)
|
|
|
949 |
sCsCmd = NewLine_To_BR ( To_HTML( Codestriker_Command (oldLabel, pkgInfoHash.Item("pkg_label")) ) )
|
|
|
950 |
sBcCmd = NewLine_To_BR ( To_HTML( BeyondCompare_Command (oldLabel, pkgInfoHash.Item("pkg_label")) ) )
|
|
|
951 |
End If
|
| 129 |
ghuddy |
952 |
End If
|
|
|
953 |
End If%>
|
| 161 |
iaugusti |
954 |
|
|
|
955 |
<tr>
|
|
|
956 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
|
|
957 |
<strong>Codestriker command:</strong><%=Quick_Help ( "Codestriker" )%>
|
|
|
958 |
</td>
|
|
|
959 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
960 |
<%=sCsCmd%>
|
|
|
961 |
</td>
|
|
|
962 |
</tr>
|
|
|
963 |
<tr>
|
|
|
964 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
|
|
965 |
<strong>Beyond Compare command:</strong><%=Quick_Help ( "BeyondCompare" )%>
|
|
|
966 |
</td>
|
|
|
967 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
|
|
968 |
<%=sBcCmd%>
|
|
|
969 |
</td>
|
|
|
970 |
</tr>
|
|
|
971 |
|
| 119 |
ghuddy |
972 |
|
| 121 |
hknight |
973 |
<%If pkgInfoHash.Item("is_deployable") = "Y" Then
|
|
|
974 |
OraDatabase.Parameters.Add "PV_ID", pkgInfoHash.Item ("pv_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
975 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("DeploymentManagerReference.sql"), cint(0))
|
|
|
976 |
If rsTemp.RecordCount = 0 Then%>
|
|
|
977 |
<tr>
|
| 161 |
iaugusti |
978 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>SBOM Information:</b></td>
|
| 121 |
hknight |
979 |
<%If pkgInfoHash.Item("product_state") = 3 Then%>
|
| 161 |
iaugusti |
980 |
<td bgcolor=#f5f5f5 class="err_alert"><b>Ready For Deployment!</b></td>
|
| 121 |
hknight |
981 |
<%ElseIf pkgInfoHash.Item("product_state") = 2 Then%>
|
| 161 |
iaugusti |
982 |
<td bgcolor=#f5f5f5 class="err_alert"><b>Ready For Testing!</b></td>
|
| 121 |
hknight |
983 |
<%ElseIf pkgInfoHash.Item("product_state") = 1 Then%>
|
| 161 |
iaugusti |
984 |
<td bgcolor=#f5f5f5 class="err_alert"><b>Ready For Integration!</b></td>
|
| 121 |
hknight |
985 |
<%ElseIf pkgInfoHash.Item("product_state") = 5 Then%>
|
| 161 |
iaugusti |
986 |
<td bgcolor=#f5f5f5 class="err_alert"><b>Ready For Integration and Deployment!</b></td>
|
| 121 |
hknight |
987 |
<%ElseIf IsNull(pkgInfoHash.Item("product_state")) Then%>
|
| 161 |
iaugusti |
988 |
<td bgcolor=#f5f5f5 class="err_alert"><b>Information Unavailable!</b></td>
|
| 121 |
hknight |
989 |
<%End If%>
|
| 119 |
ghuddy |
990 |
|
|
|
991 |
</tr>
|
| 121 |
hknight |
992 |
<%Else%>
|
| 119 |
ghuddy |
993 |
<tr>
|
| 161 |
iaugusti |
994 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top"><b>SBOM Added/Updated:</b></td>
|
|
|
995 |
<td bgcolor=#f5f5f5 class="sublbox_txt">
|
| 121 |
hknight |
996 |
<%=rsTemp("branch_name")%> - <%=rsTemp("bom_name")%><%=VBNewLine%><%=rsTemp("version")%>
|
|
|
997 |
</td>
|
| 119 |
ghuddy |
998 |
</tr>
|
| 121 |
hknight |
999 |
<%End If
|
|
|
1000 |
rsTemp.Close()
|
|
|
1001 |
Set rsTemp = Nothing
|
|
|
1002 |
OraDatabase.Parameters.Remove "PV_ID"
|
|
|
1003 |
End If
|
|
|
1004 |
%>
|
|
|
1005 |
</table>
|
| 161 |
iaugusti |
1006 |
</fieldset>
|
| 121 |
hknight |
1007 |
<br>
|
|
|
1008 |
<!-- PACKAGE METRICS -------------------------------------------------------------------------------------------------------------------->
|
|
|
1009 |
<%If Request("rtag_id") <> "" Then%>
|
|
|
1010 |
<%
|
|
|
1011 |
Call GetPackageMetrics( parPv_id, rsPkgMetrics )
|
|
|
1012 |
%>
|
|
|
1013 |
<fieldset class="fset"><a href="javascript:;" onclick="ToggleDisplay('divPkgMetrics','pkg_metrics_filler')" class="lbl_link">
|
|
|
1014 |
<legend class="body_colb">
|
|
|
1015 |
<img src="images/i_metrics.gif" width="20" height="24" hspace="4" border="0" align="absmiddle" alt="Click to display Package Metrics">Package Metrics...
|
|
|
1016 |
</legend></a>
|
|
|
1017 |
<div name="pkg_metrics_filler" id="pkg_metrics_filler" style="display:block;" class="div_filler">
|
|
|
1018 |
<a href="javascript:;" onclick="ToggleDisplay('divPkgMetrics','pkg_metrics_filler')" class="txt_linked">Show...</a>
|
|
|
1019 |
</div>
|
|
|
1020 |
<div name="divPkgMetrics" id="divPkgMetrics" style="display:none;">
|
|
|
1021 |
<a name="PACKAGE_METRICS"></a>
|
|
|
1022 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1023 |
<tr>
|
| 161 |
iaugusti |
1024 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" width="20%"><b>Autobuilt:</b></td>
|
|
|
1025 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%If rsPkgMetrics("is_autobuildable") = "Y" Then%>Yes<%Else%>No<%End If%></td>
|
| 121 |
hknight |
1026 |
</tr>
|
|
|
1027 |
<tr>
|
| 161 |
iaugusti |
1028 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Unit Tested:</b></td>
|
|
|
1029 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%If rsPkgMetrics("unit_tested") = "Y" Then%>Yes<%Else%>No<%End If%></td>
|
| 121 |
hknight |
1030 |
</tr>
|
|
|
1031 |
<tr>
|
| 161 |
iaugusti |
1032 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Autotested:</b></td>
|
|
|
1033 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%If rsPkgMetrics("autotested") = "Y" Then%>Yes<%Else%>No<%End If%></td>
|
| 121 |
hknight |
1034 |
</tr>
|
|
|
1035 |
<%If NOT IsNull(rsPkgMetrics("code_lines")) Then%>
|
|
|
1036 |
<tr>
|
| 161 |
iaugusti |
1037 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Code Lines:</b></td>
|
|
|
1038 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("code_lines")%></td>
|
| 121 |
hknight |
1039 |
</tr>
|
|
|
1040 |
<%End If%>
|
|
|
1041 |
<%If NOT IsNull(rsPkgMetrics("comment_lines")) Then%>
|
|
|
1042 |
<tr>
|
| 161 |
iaugusti |
1043 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Comment Lines:</b></td>
|
|
|
1044 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("comment_lines")%></td>
|
| 121 |
hknight |
1045 |
</tr>
|
|
|
1046 |
<%End If%>
|
|
|
1047 |
<%If NOT IsNull(rsPkgMetrics("blank_lines")) Then%>
|
|
|
1048 |
<tr>
|
| 161 |
iaugusti |
1049 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Blank Lines:</b></td>
|
|
|
1050 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("blank_lines")%></td>
|
| 121 |
hknight |
1051 |
</tr>
|
|
|
1052 |
<%End If%>
|
|
|
1053 |
<%If NOT IsNull(rsPkgMetrics("branches")) Then%>
|
|
|
1054 |
<tr>
|
| 161 |
iaugusti |
1055 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Number of Branches:</b></td>
|
|
|
1056 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("branches")%></td>
|
| 121 |
hknight |
1057 |
</tr>
|
|
|
1058 |
<%End If%>
|
|
|
1059 |
<%If NOT IsNull(rsPkgMetrics("branch_list")) Then%>
|
|
|
1060 |
<tr>
|
| 161 |
iaugusti |
1061 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Branch List:</b></td>
|
|
|
1062 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("branch_list")%></td>
|
| 121 |
hknight |
1063 |
</tr>
|
|
|
1064 |
<%End If%>
|
|
|
1065 |
<%If NOT IsNull(rsPkgMetrics("code_files")) Then%>
|
|
|
1066 |
<tr>
|
| 161 |
iaugusti |
1067 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Code Files:</b></td>
|
|
|
1068 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("code_files")%></td>
|
| 121 |
hknight |
1069 |
</tr>
|
|
|
1070 |
<%End If%>
|
|
|
1071 |
<%If NOT IsNull(rsPkgMetrics("ignored_files")) Then%>
|
|
|
1072 |
<tr>
|
| 161 |
iaugusti |
1073 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Ignored Files:</b></td>
|
|
|
1074 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("ignored_files")%></td>
|
| 121 |
hknight |
1075 |
</tr>
|
|
|
1076 |
<%End If%>
|
|
|
1077 |
<%If NOT IsNull(rsPkgMetrics("makefiles")) Then%>
|
|
|
1078 |
<tr>
|
| 161 |
iaugusti |
1079 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Makefiles:</b></td>
|
|
|
1080 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("makefiles")%></td>
|
| 121 |
hknight |
1081 |
</tr>
|
|
|
1082 |
<%End If%>
|
|
|
1083 |
<%If NOT IsNull(rsPkgMetrics("total_files")) Then%>
|
|
|
1084 |
<tr>
|
| 161 |
iaugusti |
1085 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Total Files:</b></td>
|
|
|
1086 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("total_files")%></td>
|
| 121 |
hknight |
1087 |
</tr>
|
|
|
1088 |
<%End If%>
|
|
|
1089 |
<%If NOT IsNull(rsPkgMetrics("directories")) Then%>
|
|
|
1090 |
<tr>
|
| 161 |
iaugusti |
1091 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Number of Directories:</b></td>
|
|
|
1092 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("directories")%></td>
|
| 121 |
hknight |
1093 |
</tr>
|
|
|
1094 |
<%End If%>
|
|
|
1095 |
<%If NOT IsNull(rsPkgMetrics("directory_depth")) Then%>
|
|
|
1096 |
<tr>
|
| 161 |
iaugusti |
1097 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Directory Depth:</b></td>
|
|
|
1098 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("directory_depth")%></td>
|
| 121 |
hknight |
1099 |
</tr>
|
|
|
1100 |
<%End If%>
|
|
|
1101 |
<%If NOT IsNull(rsPkgMetrics("created_stamp")) Then%>
|
|
|
1102 |
<tr>
|
| 161 |
iaugusti |
1103 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt"><b>Metrics Collected:</b></td>
|
|
|
1104 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsPkgMetrics("created_stamp")%></td>
|
| 121 |
hknight |
1105 |
</tr>
|
|
|
1106 |
<%End If%>
|
|
|
1107 |
</table>
|
|
|
1108 |
</div>
|
|
|
1109 |
</fieldset>
|
|
|
1110 |
<br>
|
|
|
1111 |
<%
|
|
|
1112 |
rsPkgMetrics.Close()
|
|
|
1113 |
Set rsPkgMetrics = nothing
|
|
|
1114 |
%>
|
|
|
1115 |
<%End If%>
|
|
|
1116 |
<!-- PRODUCTS AFFECTED BY CHANGE -------------------------------------------------------------------------------------------------------->
|
| 119 |
ghuddy |
1117 |
|
|
|
1118 |
<!-- REASON FOR DEPRECATION/DEPENDANCY DEPRECATED ----------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
1119 |
<%If pkgInfoHash.Item("deprecated_state") = 6 Then %>
|
| 119 |
ghuddy |
1120 |
|
| 121 |
hknight |
1121 |
<fieldset class="fset"><legend class="body_colb"><img src='images/s_notes.gif' width='21' height='24' hspace='4' border='0' align='absmiddle'>Reason for deprecation</legend>
|
|
|
1122 |
<a name="REASON_FOR_DEPRECATION"></a>
|
|
|
1123 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1124 |
<tr>
|
| 161 |
iaugusti |
1125 |
<td bgcolor=#f5f5f5>
|
| 119 |
ghuddy |
1126 |
|
| 121 |
hknight |
1127 |
<%
|
|
|
1128 |
Dim rsComment
|
|
|
1129 |
Set rsComment = OraDatabase.DbCreateDynaset("SELECT * FROM DEPRECATED_PACKAGES WHERE RTAG_ID ="& Request("rtag_id") &" AND PKG_ID = "& pkgInfoHash.Item ("pkg_id") &"", cint(0))
|
|
|
1130 |
If rsComment("comments") <> "" Then
|
|
|
1131 |
Response.write "<table border='0' cellspacing='0' cellpadding='0'>"
|
|
|
1132 |
Response.write "<tr>"
|
|
|
1133 |
Response.write "<td class='sublbox_txt'>"& NewLine_To_BR(( rsComment("comments") ) ) &"<br></td>"
|
|
|
1134 |
Response.write "</tr>"
|
|
|
1135 |
Response.write "</table>"
|
|
|
1136 |
'Else
|
|
|
1137 |
' If FixedIssues ( parPv_id ) Then
|
|
|
1138 |
' Response.write "<span class='sublbox_txt'>Not specified.</span><br>"
|
|
|
1139 |
' Else
|
|
|
1140 |
' Response.write "<span class='err_alert'>Required!</span><br>"
|
|
|
1141 |
' End If
|
|
|
1142 |
End If
|
|
|
1143 |
rsComment.Close()
|
|
|
1144 |
Set rsComment = nothing
|
|
|
1145 |
%>
|
|
|
1146 |
</td>
|
|
|
1147 |
</tr>
|
|
|
1148 |
</table>
|
|
|
1149 |
</fieldset>
|
|
|
1150 |
<br><br>
|
|
|
1151 |
<%End If%>
|
| 119 |
ghuddy |
1152 |
<!-- SBOM PRIORITY/CRITICALITY --------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
1153 |
<%If NOT pageIsEditable AND pkgInfoHash.Item ("is_deployable") = "Y" Then%>
|
|
|
1154 |
<fieldset class="fset"><legend class="body_colb"><img src='icons/i_prod_sbom_priority.gif' hspace='4' border='0' align='absmiddle'>SBOM Priority</legend>
|
|
|
1155 |
<a name="SBOM_PRIORITY"></a>
|
|
|
1156 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1157 |
<tr>
|
|
|
1158 |
<td class="body_colb"></td>
|
|
|
1159 |
<td align="right" valign="bottom">
|
|
|
1160 |
<%If (pkgInfoHash.Item ("dlocked") = "Y") Then%>
|
|
|
1161 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_sbom_priority.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','SBOMPriority','resizable=yes,width=400,height=400')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
|
|
1162 |
<%End If%>
|
|
|
1163 |
</td>
|
|
|
1164 |
</tr>
|
|
|
1165 |
</table>
|
|
|
1166 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1167 |
<tr>
|
| 161 |
iaugusti |
1168 |
<td bgcolor=#f5f5f5>
|
| 121 |
hknight |
1169 |
<%If pkgInfoHash.Item ("sbom_priority") <> "" Then%>
|
|
|
1170 |
<table border='0' cellspacing='0' cellpadding='0'>
|
|
|
1171 |
<tr>
|
|
|
1172 |
<td class='sublbox_txt'>
|
|
|
1173 |
<%
|
|
|
1174 |
If pkgInfoHash.Item ("sbom_priority") = "C" Then
|
|
|
1175 |
Response.write "<b><font color='red'>Critical.</font></b>"
|
|
|
1176 |
ElseIf pkgInfoHash.Item ("sbom_priority") = "I" Then
|
|
|
1177 |
Response.write "<b>Important.</b>"
|
|
|
1178 |
ElseIf pkgInfoHash.Item ("sbom_priority") = "R" Then
|
|
|
1179 |
Response.write "Routine"
|
|
|
1180 |
ElseIf pkgInfoHash.Item ("sbom_priority") = "L" Then
|
|
|
1181 |
Response.write "Low"
|
|
|
1182 |
End If
|
|
|
1183 |
%>
|
|
|
1184 |
</td>
|
|
|
1185 |
</tr>
|
|
|
1186 |
</table>
|
|
|
1187 |
<%Else%>
|
|
|
1188 |
<span class='err_alert'>Required!</span><br>
|
|
|
1189 |
<%End If%>
|
|
|
1190 |
</td>
|
|
|
1191 |
</tr>
|
|
|
1192 |
</table>
|
|
|
1193 |
</fieldset>
|
|
|
1194 |
<br><br>
|
|
|
1195 |
<%End If%>
|
| 119 |
ghuddy |
1196 |
<!-- CHANGE TYPE ----------------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
1197 |
<%If pkgInfoHash.Item ("build_type") = "A" Then%>
|
|
|
1198 |
<fieldset class="fset"><legend class="body_colb"><img src='icons/i_pkg_change_type.gif' hspace='4' border='0' align='absmiddle'>Change Type</legend>
|
|
|
1199 |
<a name="CHANGE_TYPE"></a>
|
|
|
1200 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1201 |
<tr>
|
|
|
1202 |
<td class="body_colb"></td>
|
|
|
1203 |
<td align="right" valign="bottom">
|
|
|
1204 |
<%If (pkgInfoHash.Item ("dlocked") <> "A") AND (pkgInfoHash.Item ("dlocked") <> "Y") AND criticalSectionIsEditable Then%>
|
|
|
1205 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_change_type.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ChangeType','resizable=yes,width=530,height=290')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
|
|
1206 |
<%End If%>
|
|
|
1207 |
</td>
|
|
|
1208 |
</tr>
|
|
|
1209 |
</table>
|
|
|
1210 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1211 |
<tr>
|
| 161 |
iaugusti |
1212 |
<td bgcolor=#f5f5f5>
|
| 121 |
hknight |
1213 |
<%
|
|
|
1214 |
If pkgInfoHash.Item ("change_type") <> "" Then
|
|
|
1215 |
Response.write "<table border='0' cellspacing='0' cellpadding='0'>"
|
|
|
1216 |
Response.write "<tr>"
|
|
|
1217 |
If pkgInfoHash.Item ("change_type") = "M" Then
|
|
|
1218 |
Response.write "<td class='sublbox_txt'>Major Change.<br></td>"
|
|
|
1219 |
ElseIf pkgInfoHash.Item ("change_type") = "N" Then
|
|
|
1220 |
Response.write "<td class='sublbox_txt'>Minor Change.<br></td>"
|
|
|
1221 |
ElseIf pkgInfoHash.Item ("change_type") = "P" Then
|
|
|
1222 |
Response.write "<td class='sublbox_txt'>Patch Change.<br></td>"
|
|
|
1223 |
End If
|
|
|
1224 |
Response.write "</tr>"
|
|
|
1225 |
Response.write "</table>"
|
|
|
1226 |
Else
|
|
|
1227 |
Response.write "<span class='err_alert'>Required!</span><br>"
|
|
|
1228 |
End If
|
|
|
1229 |
%>
|
|
|
1230 |
</td>
|
|
|
1231 |
</tr>
|
|
|
1232 |
</table>
|
|
|
1233 |
</fieldset>
|
|
|
1234 |
<br><br>
|
|
|
1235 |
<%End If%>
|
| 131 |
ghuddy |
1236 |
|
|
|
1237 |
|
|
|
1238 |
|
| 119 |
ghuddy |
1239 |
<!-- RIPPLE PROPERTIES ----------------------------------------------------------------------------------------------------------------------->
|
| 131 |
ghuddy |
1240 |
<%If IsNull(pkgInfoHash.Item ("is_patch")) Then%>
|
| 121 |
hknight |
1241 |
<fieldset class="fset"><legend class="body_colb"><img src='icons/i_pkg_ripple_type.gif' hspace='4' border='0' align='absmiddle' height='25' width='25'>Ripple Properties</legend>
|
|
|
1242 |
<a name="RIPPLE_PROPERTIES"></a>
|
|
|
1243 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1244 |
<tr>
|
|
|
1245 |
<td class="body_colb"></td>
|
|
|
1246 |
<td align="right" valign="bottom">
|
|
|
1247 |
<%If (objAccessControl.IsVisible( "RipplePackage" ) AND pageIsEditable) OR criticalSectionIsEditable Then%>
|
| 131 |
ghuddy |
1248 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_ripple_properties.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','RippleType','resizable=yes,width=800,height=500')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
| 121 |
hknight |
1249 |
<%End If%>
|
|
|
1250 |
</td>
|
|
|
1251 |
</tr>
|
|
|
1252 |
</table>
|
|
|
1253 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 131 |
ghuddy |
1254 |
|
|
|
1255 |
<%If Request("rtag_id") <> "" Then
|
|
|
1256 |
Dim rsQryPegged
|
|
|
1257 |
Dim isPegged
|
|
|
1258 |
Set rsQryPegged = OraDatabase.DbCreateDynaset( "SELECT * FROM PEGGED_VERSIONS WHERE RTAG_ID ="& Request("rtag_id") &"AND PV_ID ="& Request("pv_id"), cint(0))
|
|
|
1259 |
|
|
|
1260 |
If rsQryPegged.RecordCount = 0 Then
|
|
|
1261 |
isPegged = FALSE%>
|
|
|
1262 |
<%Else
|
|
|
1263 |
isPegged = TRUE %>
|
|
|
1264 |
<tr>
|
| 161 |
iaugusti |
1265 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
| 131 |
ghuddy |
1266 |
<strong>Is Pegged</strong>
|
|
|
1267 |
<%=Quick_Help ( "pegged_version" )%>
|
|
|
1268 |
</td>
|
| 161 |
iaugusti |
1269 |
<td bgcolor=#f5f5f5 class="sublbox_txt">Yes</td>
|
| 131 |
ghuddy |
1270 |
</tr>
|
|
|
1271 |
<%End If%>
|
|
|
1272 |
<%rsQryPegged.Close()
|
|
|
1273 |
Set rsQryPegged = nothing
|
|
|
1274 |
End If%>
|
|
|
1275 |
|
|
|
1276 |
<%If isPegged = FALSE Then%>
|
|
|
1277 |
<tr>
|
| 161 |
iaugusti |
1278 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
| 131 |
ghuddy |
1279 |
<strong>Build Inclusion</strong>
|
|
|
1280 |
<%=Quick_Help ( "ripple_build" )%>
|
|
|
1281 |
</td>
|
|
|
1282 |
<%If Request("rtag_id") <> "" Then
|
|
|
1283 |
Dim rsQryRipple
|
|
|
1284 |
Set rsQryRipple = OraDatabase.DbCreateDynaset( "SELECT * FROM DO_NOT_RIPPLE WHERE RTAG_ID ="& Request("rtag_id") &"AND PV_ID ="&Request("pv_id"), cint(0))
|
|
|
1285 |
If rsQryRipple.RecordCount = 0 Then %>
|
| 161 |
iaugusti |
1286 |
<td bgcolor=#f5f5f5 class="sublbox_txt">Yes</td>
|
| 131 |
ghuddy |
1287 |
<%Else%>
|
| 161 |
iaugusti |
1288 |
<td bgcolor=#f5f5f5 class="sublbox_txt">No</td>
|
| 131 |
ghuddy |
1289 |
<%End If%>
|
|
|
1290 |
<%rsQryRipple.Close()
|
|
|
1291 |
Set rsQryRipple = nothing
|
|
|
1292 |
End If%>
|
|
|
1293 |
</tr>
|
|
|
1294 |
<tr>
|
| 161 |
iaugusti |
1295 |
<td width="20%" bgcolor=#e4e9ec class="sublbox_txt">
|
| 131 |
ghuddy |
1296 |
<strong>Ripple Type</strong>
|
|
|
1297 |
<%=Quick_Help ( "ripple_type" )%>
|
|
|
1298 |
</td>
|
| 161 |
iaugusti |
1299 |
<td width="80%" bgcolor=#f5f5f5>
|
| 131 |
ghuddy |
1300 |
<p>
|
|
|
1301 |
<%
|
|
|
1302 |
Response.write "<table border='0' cellspacing='0' cellpadding='0'>"
|
|
|
1303 |
Response.write "<tr>"
|
|
|
1304 |
Response.write "<td class='sublbox_txt'>"
|
|
|
1305 |
Dim anotherQry, selectedRippleType
|
|
|
1306 |
selectedRippleType = pkgInfoHash.Item ("ripple_field")
|
|
|
1307 |
Set anotherQry = OraDatabase.DbCreateDynaset( "SELECT state_name from ripple_field_states WHERE state_acronym ='"& selectedRippleType &"'", cint(0))
|
|
|
1308 |
If anotherQry.RecordCount = 0 Then
|
|
|
1309 |
Response.write "<span class='err_alert'>Required!</span>"
|
|
|
1310 |
Else
|
|
|
1311 |
Response.write( anotherQry.Fields("state_name").Value )
|
|
|
1312 |
End If
|
|
|
1313 |
anotherQry.Close()
|
|
|
1314 |
Set anotherQry = nothing
|
|
|
1315 |
If ( selectedRippleType = "L" ) Then
|
|
|
1316 |
Dim qry
|
|
|
1317 |
Set qry = OraDatabase.DbCreateDynaset( "SELECT major_limit, minor_limit, patch_limit, build_number_limit from package_versions where pv_id="& Request("pv_id"), cint(0))
|
|
|
1318 |
Response.write " "
|
|
|
1319 |
If isNull(qry("major_limit")) Then
|
|
|
1320 |
Response.write("0")
|
|
|
1321 |
Else
|
|
|
1322 |
Response.write( qry.Fields( "major_limit" ).Value )
|
|
|
1323 |
End If
|
|
|
1324 |
Response.write ", "
|
|
|
1325 |
If isNull(qry("minor_limit")) Then
|
|
|
1326 |
Response.write("0")
|
|
|
1327 |
Else
|
|
|
1328 |
Response.write( qry.Fields( "minor_limit" ).Value )
|
|
|
1329 |
End If
|
|
|
1330 |
Response.write ", "
|
|
|
1331 |
If isNull(qry("patch_limit")) Then
|
|
|
1332 |
Response.write("0")
|
|
|
1333 |
Else
|
|
|
1334 |
Response.write( qry.Fields( "patch_limit" ).Value )
|
|
|
1335 |
End If
|
|
|
1336 |
Response.write ", "
|
|
|
1337 |
If isNull(qry("build_number_limit")) Then
|
|
|
1338 |
Response.write("0")
|
|
|
1339 |
Else
|
|
|
1340 |
Response.write( qry.Fields( "build_number_limit" ).Value )
|
|
|
1341 |
End If
|
|
|
1342 |
qry.Close()
|
|
|
1343 |
Set qry = nothing
|
|
|
1344 |
End If
|
|
|
1345 |
Response.Write "<br></td>"
|
|
|
1346 |
Response.write "</tr>"
|
|
|
1347 |
Response.write "</table>"
|
|
|
1348 |
%>
|
|
|
1349 |
</p>
|
|
|
1350 |
</td>
|
|
|
1351 |
</tr>
|
|
|
1352 |
<%End If%>
|
| 121 |
hknight |
1353 |
</table>
|
|
|
1354 |
</fieldset>
|
|
|
1355 |
<br>
|
|
|
1356 |
<br>
|
|
|
1357 |
<%End If%>
|
| 131 |
ghuddy |
1358 |
|
|
|
1359 |
|
|
|
1360 |
|
|
|
1361 |
|
| 119 |
ghuddy |
1362 |
<!-- REASON FOR RELEASE ----------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
1363 |
<fieldset class="fset"><legend class="body_colb"><img src='images/s_notes.gif' width='21' height='24' hspace='4' border='0' align='absmiddle'>Reason for this version</legend>
|
|
|
1364 |
<a name="REASON_FOR_THIS_RELEASE"></a>
|
|
|
1365 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1366 |
<tr>
|
|
|
1367 |
<td align="right" valign="bottom">
|
|
|
1368 |
<%If pageIsEditable Then%>
|
|
|
1369 |
<form name="updateversions" method="post" action="_update_versions.asp">
|
|
|
1370 |
<input type="submit" name="btn" value="Update Dependencies" class="form_btn" onClick="return confirmAction('Current comments would be deleted. Do you wish to continue?')">
|
|
|
1371 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_reason_for_version.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','ReasonForRelease','resizable=yes,width=500,height=270')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
|
|
1372 |
<input name="pv_id" type="hidden" value="<%=parPv_id%>">
|
|
|
1373 |
<input name="rtag_id" type="hidden" value="<%=parRtag_id%>">
|
|
|
1374 |
</form>
|
|
|
1375 |
<%End If%>
|
|
|
1376 |
</td>
|
|
|
1377 |
</tr>
|
|
|
1378 |
</table>
|
| 119 |
ghuddy |
1379 |
|
| 121 |
hknight |
1380 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1381 |
<tr>
|
| 161 |
iaugusti |
1382 |
<td bgcolor=#f5f5f5>
|
| 121 |
hknight |
1383 |
<%If pkgInfoHash.Item ("comments") <> "" Then%>
|
|
|
1384 |
<table border='0' cellspacing='0' cellpadding='0'>
|
|
|
1385 |
<tr>
|
|
|
1386 |
<td class='sublbox_txt'> <%Response.Write( NewLine_To_BR(pkgInfoHash.Item("comments")) )%><br></td>
|
|
|
1387 |
</tr>
|
|
|
1388 |
</table>
|
|
|
1389 |
<%ElseIf FixedIssues ( parPv_id ) Then%>
|
|
|
1390 |
<span class='sublbox_txt'>Not specified.</span><br>
|
|
|
1391 |
<%Else%>
|
|
|
1392 |
<span class='err_alert'>Required!</span><br>
|
|
|
1393 |
<%End If%>
|
|
|
1394 |
</td>
|
|
|
1395 |
</tr>
|
|
|
1396 |
</table>
|
|
|
1397 |
</fieldset>
|
|
|
1398 |
<br><br>
|
| 119 |
ghuddy |
1399 |
<!-- REASON FOR NON_RIPPLE RELEASE ----------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
1400 |
<%If pkgInfoHash.Item ("comments") = "Rippled Build." Then%>
|
| 119 |
ghuddy |
1401 |
|
| 121 |
hknight |
1402 |
<fieldset class="fset"><legend class="body_colb"><img src='images/s_notes.gif' width='21' height='24' hspace='4' border='0' align='absmiddle'>Reason for last non-ripple build</legend>
|
| 119 |
ghuddy |
1403 |
|
| 121 |
hknight |
1404 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1405 |
<tr>
|
| 161 |
iaugusti |
1406 |
<td bgcolor=#f5f5f5>
|
| 121 |
hknight |
1407 |
<%
|
|
|
1408 |
'Dim rsQry
|
|
|
1409 |
Call LastPvId(pkgInfoHash.Item ("pv_id"))
|
| 119 |
ghuddy |
1410 |
|
| 121 |
hknight |
1411 |
While rsQry("comments") = "Rippled Build."
|
|
|
1412 |
Call LastPvId(rsQry("last_pv_id"))
|
|
|
1413 |
Wend
|
| 119 |
ghuddy |
1414 |
|
| 121 |
hknight |
1415 |
If pkgInfoHash.Item ("comments") <> "" Then
|
|
|
1416 |
Response.write "<table border='0' cellspacing='0' cellpadding='0'>"
|
|
|
1417 |
Response.write "<tr>"
|
|
|
1418 |
Response.write "<td class='sublbox_txt'><b>Package Version:</b> <b>"& NewLine_To_BR(( rsQry ("pkg_version") ) ) &"</b><br></td>"
|
|
|
1419 |
Response.write "</tr>"
|
|
|
1420 |
Response.write "<tr>"
|
|
|
1421 |
Response.write "<td class='sublbox_txt'>"& NewLine_To_BR(( rsQry ("comments") ) ) &"<br></td>"
|
|
|
1422 |
Response.write "</tr>"
|
| 119 |
ghuddy |
1423 |
|
| 121 |
hknight |
1424 |
Response.write "</table>"%>
|
| 119 |
ghuddy |
1425 |
|
| 121 |
hknight |
1426 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1427 |
<tr>
|
|
|
1428 |
<td valign="top" class="sublbox_txt"><b>Fixed Issues For Last Non-Ripple Build</b></td>
|
|
|
1429 |
<td align="right" valign="top">
|
|
|
1430 |
<%If pageIsEditable Then%>
|
|
|
1431 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_import_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&skip_open=true','FindIssue','scrollbars=yes,resizable=yes,width=750,height=600')" class="txt_linked">Import Fixed Issues from ClearQuest<img src="images/i_download.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
|
|
1432 |
<%End If%>
|
|
|
1433 |
</td>
|
|
|
1434 |
</tr>
|
|
|
1435 |
</table>
|
|
|
1436 |
<%Call Get_Package_Issues ( parPv_id, SQLstr, fixedIssDict, notesIssDict, enumISSUES_STATE_FIXED )
|
|
|
1437 |
If (retVal > 0) Then
|
|
|
1438 |
retVal = Get_CQ_Issues ( SQLstr, rsCQ )
|
|
|
1439 |
If retVal = 0 Then%>
|
|
|
1440 |
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
|
|
1441 |
<tr>
|
| 161 |
iaugusti |
1442 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field" align="center">Fixed</td>
|
|
|
1443 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue Id </td>
|
|
|
1444 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue DB </td>
|
|
|
1445 |
<td bgcolor=#e4e9ec nowrap width="100%" class="form_field">Summary</td>
|
|
|
1446 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue Type </td>
|
|
|
1447 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Priority</td>
|
|
|
1448 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Status</td>
|
|
|
1449 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Note</td>
|
|
|
1450 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field"> </td>
|
| 121 |
hknight |
1451 |
</tr>
|
|
|
1452 |
<%If ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF)) Then%>
|
|
|
1453 |
<%While ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF))%>
|
|
|
1454 |
<tr>
|
| 161 |
iaugusti |
1455 |
<td align="center" nowrap bgcolor=#e4e9ec><img src="images/i_tick_black.gif" width="7" height="7" vspace="2"></td>
|
|
|
1456 |
<td bgcolor=#f5f5f5 nowrap class="form_item"><a href="javascript:;" onClick="MM_openBrWindow('_wform_issues_details.asp?iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueDetails','resizable=yes,width=580,height=500')" class="txt_linked"><%=rsCQ("iss_num")%></a></td>
|
|
|
1457 |
<td bgcolor=#f5f5f5 class="form_item"><%If rsCQ("iss_db") = enumCLEARQUEST_DEVI_ID Then%>DEVI<%ElseIf rsCQ("iss_db") = enumCLEARQUEST_TDSE_ID Then%>TDSE<%ElseIf rsCQ("iss_db") = enumCLEARQUEST_VT5DM_ID Then%>VT5DM<%Else%>VTSUP<%End If%></td>
|
|
|
1458 |
<td bgcolor=#f5f5f5 class="form_item"><%=NewLine_To_BR ( To_HTML ( rsCQ("summary") ) )%></td>
|
|
|
1459 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("issue_type")%></td>
|
|
|
1460 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("priority")%></td>
|
|
|
1461 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("Status")%></td>
|
| 121 |
hknight |
1462 |
<%If sectionIsEditable Then%>
|
|
|
1463 |
<%If notesIssDict.Exists (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id"))) Then%>
|
| 161 |
iaugusti |
1464 |
<td align="center" bgcolor=#f5f5f5 class="form_item"><a href="javascript:;" onClick="MM_openBrWindow('_wform_issue_notes.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueNotes','resizable=yes,width=400,height=250')"><img src="images/i_note_on.gif" width="11" height="12" border="0" title="<%=notesIssDict.Item (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id")))%>"></a></td>
|
| 121 |
hknight |
1465 |
<%Else%>
|
| 161 |
iaugusti |
1466 |
<td align="center" bgcolor=#f5f5f5 class="form_item"><a href="javascript:;" onClick="MM_openBrWindow('_wform_issue_notes.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueNotes','resizable=yes,width=400,height=250')"><img src="images/i_note_off.gif" width="11" height="12" border="0" title="Add Note"></a></td>
|
| 121 |
hknight |
1467 |
<%End If%>
|
|
|
1468 |
<%Else%>
|
|
|
1469 |
<%If notesIssDict.Exists (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id"))) Then%>
|
| 161 |
iaugusti |
1470 |
<td align="center" bgcolor=#f5f5f5 class="form_item"><img src="images/i_note_on.gif" width="11" height="12" border="0" title="<%=notesIssDict.Item (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id")))%>"></td>
|
| 121 |
hknight |
1471 |
<%Else%>
|
| 161 |
iaugusti |
1472 |
<td align="center" bgcolor=#f5f5f5 class="form_item"><img src="images/i_note_off.gif" width="11" height="12" border="0"></td>
|
| 121 |
hknight |
1473 |
<%End If%>
|
|
|
1474 |
<%End If%>
|
|
|
1475 |
<%If NOT pageIsEditable Then%>
|
| 161 |
iaugusti |
1476 |
<td align="center" bgcolor=#f5f5f5 class="form_item"><img src="images/i_delete_disable.gif" width="13" height="12" hspace="2" border="0"></td>
|
| 121 |
hknight |
1477 |
<%Else%>
|
| 161 |
iaugusti |
1478 |
<td align="center" bgcolor=#f5f5f5 class="form_item"><a href="_remove_issue.asp?iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this issue from Release Manager');"><img src="images/i_delete.gif" width="13" height="12" hspace="2" border="0" alt="Delete this issue from the list"></a></td>
|
| 121 |
hknight |
1479 |
<%End If%>
|
|
|
1480 |
</tr>
|
|
|
1481 |
<%rsCQ.MoveNext
|
|
|
1482 |
WEnd
|
|
|
1483 |
rsCQ.Close()%>
|
|
|
1484 |
<%Else%>
|
|
|
1485 |
<tr>
|
| 161 |
iaugusti |
1486 |
<td bgcolor=#e4e9ec nowrap> </td>
|
|
|
1487 |
<td bgcolor=#f5f5f5 nowrap></td>
|
|
|
1488 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1489 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1490 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1491 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1492 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1493 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1494 |
<td align="center" bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
1495 |
</tr>
|
|
|
1496 |
<%End If%>
|
|
|
1497 |
</table>
|
|
|
1498 |
<%End If%>
|
|
|
1499 |
<%If retVal <> 0 Then Response.write enumMSSQL_ERROR
|
|
|
1500 |
End If
|
|
|
1501 |
Else
|
|
|
1502 |
If FixedIssues ( parPv_id ) Then
|
|
|
1503 |
Response.write "<span class='sublbox_txt'>Not specified.</span><br>"
|
|
|
1504 |
Else
|
|
|
1505 |
Response.write "<span class='err_alert'>Required!</span><br>"
|
|
|
1506 |
End If
|
|
|
1507 |
End If
|
| 119 |
ghuddy |
1508 |
|
| 121 |
hknight |
1509 |
rsQry.Close()
|
|
|
1510 |
Set rsQry = nothing
|
|
|
1511 |
%>
|
|
|
1512 |
</td>
|
|
|
1513 |
</tr>
|
|
|
1514 |
</table>
|
|
|
1515 |
</fieldset>
|
|
|
1516 |
<br><br>
|
|
|
1517 |
<%End If%>
|
|
|
1518 |
<!-- FIXED ISSUES ----------------------------------------------------------------------------------------------------------------------->
|
| 123 |
ghuddy |
1519 |
<fieldset class="fset">
|
|
|
1520 |
<legend class="body_colb">
|
|
|
1521 |
<img src="images/s_bugs.gif" width="21" height="18" border="0" hspace="4" align="absmiddle">
|
|
|
1522 |
Issues
|
|
|
1523 |
</legend>
|
| 121 |
hknight |
1524 |
<p class="body_colb"><a name="ISSUES"></a></p>
|
|
|
1525 |
<table width="100%" border="0" cellpadding="2" cellspacing="1">
|
|
|
1526 |
<tr>
|
|
|
1527 |
<td valign="top" class="body_colb">JIRA Issues</td>
|
|
|
1528 |
<td align="right" valign="top">
|
|
|
1529 |
<%If pageIsEditable Then%>
|
| 123 |
ghuddy |
1530 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_import_jira_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&skip_open=true','FindIssue','scrollbars=yes,resizable=yes,width=750,height=600')" class="txt_linked">
|
|
|
1531 |
Import JIRA issues
|
|
|
1532 |
<img src="images/i_download.gif" width="12" height="12" hspace="2" border="0" align="absmiddle">
|
|
|
1533 |
</a>
|
| 121 |
hknight |
1534 |
<%End If%>
|
|
|
1535 |
</td>
|
| 119 |
ghuddy |
1536 |
|
| 121 |
hknight |
1537 |
<%retVal = Get_JIRA_Package_Issues ( parPv_id, SQLstr, fixedIssDict, notesIssDict, enumISSUES_STATE_FIXED )
|
|
|
1538 |
If (retVal > 0) Then
|
|
|
1539 |
retVal = Get_JIRA_Issues ( SQLstr, rsCQ )
|
| 123 |
ghuddy |
1540 |
If (retVal = 0 AND rsCQ.RecordCount > 0) Then%>
|
| 121 |
hknight |
1541 |
|
|
|
1542 |
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
|
|
1543 |
<tr>
|
| 161 |
iaugusti |
1544 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field" align="center">Fixed</td>
|
|
|
1545 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue Id </td>
|
|
|
1546 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue DB </td>
|
|
|
1547 |
<td bgcolor=#e4e9ec nowrap width="100%" class="form_field">Summary</td>
|
|
|
1548 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue Type </td>
|
|
|
1549 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Priority</td>
|
|
|
1550 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Status</td>
|
|
|
1551 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Note</td>
|
|
|
1552 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field"> </td>
|
| 121 |
hknight |
1553 |
</tr>
|
|
|
1554 |
<%If ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF)) Then%>
|
|
|
1555 |
<%While ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF))%>
|
|
|
1556 |
<tr>
|
|
|
1557 |
<%If rsCQ("resolution") = 1 Then %>
|
| 161 |
iaugusti |
1558 |
<td align="center" nowrap bgcolor=#e4e9ec>
|
| 123 |
ghuddy |
1559 |
<img src="images/i_tick_black.gif" width="7" height="7" vspace="2">
|
|
|
1560 |
</td>
|
| 121 |
hknight |
1561 |
<%Else%>
|
| 161 |
iaugusti |
1562 |
<td align="center" nowrap bgcolor=#e4e9ec></td>
|
| 121 |
hknight |
1563 |
<%End If%>
|
| 161 |
iaugusti |
1564 |
<td bgcolor=#f5f5f5 nowrap class="form_item">
|
| 123 |
ghuddy |
1565 |
<a href="http://auperajir01:8080/browse/<%=rsCQ("iss_num")%>" target="_blank" class="txt_linked">
|
|
|
1566 |
<%=rsCQ("iss_num")%>
|
|
|
1567 |
</a>
|
|
|
1568 |
</td>
|
| 161 |
iaugusti |
1569 |
<td bgcolor=#f5f5f5 class="form_item">JIRA</td>
|
|
|
1570 |
<td bgcolor=#f5f5f5 class="form_item"><%=NewLine_To_BR ( To_HTML ( rsCQ("summary") ) )%></td>
|
|
|
1571 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("issuetype")%></td>
|
|
|
1572 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("priority")%></td>
|
|
|
1573 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("state")%></td>
|
|
|
1574 |
<td nowrap bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
1575 |
<%If NOT pageIsEditable Then%>
|
| 161 |
iaugusti |
1576 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1577 |
<img src="images/i_delete_disable.gif" width="13" height="12" hspace="2" border="0">
|
|
|
1578 |
</td>
|
| 121 |
hknight |
1579 |
<%Else%>
|
| 161 |
iaugusti |
1580 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1581 |
<a href="_remove_jira_issue.asp?iss_link=<%=rsCQ("iss_num")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this issue from Release Manager');">
|
|
|
1582 |
<img src="images/i_delete.gif" width="13" height="12" hspace="2" border="0" alt="Delete this issue from the list">
|
|
|
1583 |
</a>
|
|
|
1584 |
</td>
|
| 121 |
hknight |
1585 |
<%End If%>
|
|
|
1586 |
</tr>
|
|
|
1587 |
<%rsCQ.MoveNext
|
|
|
1588 |
WEnd
|
|
|
1589 |
rsCQ.Close()%>
|
|
|
1590 |
<%Else%>
|
|
|
1591 |
<tr>
|
| 161 |
iaugusti |
1592 |
<td bgcolor=#e4e9ec nowrap> </td>
|
|
|
1593 |
<td bgcolor=#f5f5f5 nowrap></td>
|
|
|
1594 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1595 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1596 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1597 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1598 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1599 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1600 |
<td align="center" bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
1601 |
</tr>
|
|
|
1602 |
<%End If%>
|
| 119 |
ghuddy |
1603 |
|
| 121 |
hknight |
1604 |
</table>
|
|
|
1605 |
<%End If%>
|
|
|
1606 |
<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
|
|
|
1607 |
<%End If%>
|
| 119 |
ghuddy |
1608 |
|
| 121 |
hknight |
1609 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1610 |
<tr>
|
|
|
1611 |
<td valign="top" class="body_colb">Fixed Issues</td>
|
|
|
1612 |
<td align="right" valign="top">
|
|
|
1613 |
<%If pageIsEditable Then%>
|
| 123 |
ghuddy |
1614 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_import_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&skip_open=true','FindIssue','scrollbars=yes,resizable=yes,width=750,height=600')" class="txt_linked">
|
|
|
1615 |
Import Fixed Issues from ClearQuest
|
|
|
1616 |
<img src="images/i_download.gif" width="12" height="12" hspace="2" border="0" align="absmiddle">
|
|
|
1617 |
</a>
|
| 121 |
hknight |
1618 |
<%End If%>
|
|
|
1619 |
</td>
|
|
|
1620 |
</tr>
|
|
|
1621 |
</table>
|
| 119 |
ghuddy |
1622 |
|
| 121 |
hknight |
1623 |
<%retVal = Get_Package_Issues ( parPv_id, SQLstr, fixedIssDict, notesIssDict, enumISSUES_STATE_FIXED )
|
|
|
1624 |
If (retVal > 0) Then
|
|
|
1625 |
retVal = Get_CQ_Issues ( SQLstr, rsCQ )
|
|
|
1626 |
If retVal = 0 Then%>
|
|
|
1627 |
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
|
|
1628 |
<tr>
|
| 161 |
iaugusti |
1629 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field" align="center">Fixed</td>
|
|
|
1630 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue Id </td>
|
|
|
1631 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue DB </td>
|
|
|
1632 |
<td bgcolor=#e4e9ec nowrap width="100%" class="form_field">Summary</td>
|
|
|
1633 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Issue Type </td>
|
|
|
1634 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Priority</td>
|
|
|
1635 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Status</td>
|
|
|
1636 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field">Note</td>
|
|
|
1637 |
<td bgcolor=#e4e9ec nowrap width="1" class="form_field"> </td>
|
| 121 |
hknight |
1638 |
</tr>
|
|
|
1639 |
<%If ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF)) Then%>
|
|
|
1640 |
<%While ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF))%>
|
|
|
1641 |
<tr>
|
| 161 |
iaugusti |
1642 |
<td align="center" nowrap bgcolor=#e4e9ec><img src="images/i_tick_black.gif" width="7" height="7" vspace="2"></td>
|
|
|
1643 |
<td bgcolor=#f5f5f5 nowrap class="form_item">
|
| 123 |
ghuddy |
1644 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_issues_details.asp?iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueDetails','resizable=yes,width=580,height=500')" class="txt_linked">
|
|
|
1645 |
<%=rsCQ("iss_num")%>
|
|
|
1646 |
</a>
|
|
|
1647 |
</td>
|
| 161 |
iaugusti |
1648 |
<td bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1649 |
<%If rsCQ("iss_db") = enumCLEARQUEST_DEVI_ID Then%>
|
|
|
1650 |
DEVI
|
|
|
1651 |
<%ElseIf rsCQ("iss_db") = enumCLEARQUEST_TDSE_ID Then%>
|
|
|
1652 |
TDSE
|
|
|
1653 |
<%ElseIf rsCQ("iss_db") = enumCLEARQUEST_VT5DM_ID Then%>
|
|
|
1654 |
VT5DM
|
|
|
1655 |
<%Else%>
|
|
|
1656 |
VTSUP
|
|
|
1657 |
<%End If%>
|
|
|
1658 |
</td>
|
| 161 |
iaugusti |
1659 |
<td bgcolor=#f5f5f5 class="form_item"><%=NewLine_To_BR ( To_HTML ( rsCQ("summary") ) )%></td>
|
|
|
1660 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("issue_type")%></td>
|
|
|
1661 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("priority")%></td>
|
|
|
1662 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("Status")%></td>
|
| 121 |
hknight |
1663 |
<%If sectionIsEditable AND pageIsEditable Then%>
|
|
|
1664 |
<%If notesIssDict.Exists (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id"))) Then%>
|
| 161 |
iaugusti |
1665 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1666 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_issue_notes.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueNotes','resizable=yes,width=400,height=250')">
|
|
|
1667 |
<img src="images/i_note_on.gif" width="11" height="12" border="0" title="<%=notesIssDict.Item (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id")))%>">
|
|
|
1668 |
</a>
|
|
|
1669 |
</td>
|
| 121 |
hknight |
1670 |
<%Else%>
|
| 161 |
iaugusti |
1671 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1672 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_issue_notes.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueNotes','resizable=yes,width=400,height=250')">
|
|
|
1673 |
<img src="images/i_note_off.gif" width="11" height="12" border="0" title="Add Note">
|
|
|
1674 |
</a>
|
|
|
1675 |
</td>
|
| 121 |
hknight |
1676 |
<%End If%>
|
|
|
1677 |
<%Else%>
|
|
|
1678 |
<%If notesIssDict.Exists (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id"))) Then%>
|
| 161 |
iaugusti |
1679 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1680 |
<img src="images/i_note_on.gif" width="11" height="12" border="0" title="<%=notesIssDict.Item (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id")))%>">
|
|
|
1681 |
</td>
|
| 121 |
hknight |
1682 |
<%Else%>
|
| 161 |
iaugusti |
1683 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1684 |
<img src="images/i_note_off.gif" width="11" height="12" border="0">
|
|
|
1685 |
</td>
|
| 121 |
hknight |
1686 |
<%End If%>
|
|
|
1687 |
<%End If%>
|
|
|
1688 |
<%If NOT pageIsEditable Then%>
|
| 161 |
iaugusti |
1689 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1690 |
<img src="images/i_delete_disable.gif" width="13" height="12" hspace="2" border="0">
|
|
|
1691 |
</td>
|
| 121 |
hknight |
1692 |
<%Else%>
|
| 161 |
iaugusti |
1693 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1694 |
<a href="_remove_issue.asp?iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this issue from Release Manager');">
|
|
|
1695 |
<img src="images/i_delete.gif" width="13" height="12" hspace="2" border="0" alt="Delete this issue from the list">
|
|
|
1696 |
</a>
|
|
|
1697 |
</td>
|
| 121 |
hknight |
1698 |
<%End If%>
|
|
|
1699 |
</tr>
|
|
|
1700 |
<%rsCQ.MoveNext
|
|
|
1701 |
WEnd
|
|
|
1702 |
rsCQ.Close()%>
|
|
|
1703 |
<%Else%>
|
|
|
1704 |
<tr>
|
| 161 |
iaugusti |
1705 |
<td bgcolor=#e4e9ec nowrap> </td>
|
|
|
1706 |
<td bgcolor=#f5f5f5 nowrap></td>
|
|
|
1707 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1708 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1709 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1710 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1711 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1712 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1713 |
<td align="center" bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
1714 |
</tr>
|
|
|
1715 |
<%End If%>
|
| 119 |
ghuddy |
1716 |
|
| 121 |
hknight |
1717 |
</table>
|
|
|
1718 |
<%End If%>
|
|
|
1719 |
<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
|
|
|
1720 |
<%End If%>
|
| 119 |
ghuddy |
1721 |
|
| 121 |
hknight |
1722 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1723 |
<tr>
|
|
|
1724 |
<td valign="top" class="body_colb">Outstanding Issues</td>
|
|
|
1725 |
<td align="right" valign="top">
|
|
|
1726 |
<%If pageIsEditable Then%>
|
| 123 |
ghuddy |
1727 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_import_issues.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','FindIssue','scrollbars=yes,resizable=yes,width=750,height=600')" class="txt_linked">
|
|
|
1728 |
Import Outstanding Issues from ClearQuest
|
|
|
1729 |
<img src="images/i_download.gif" width="12" height="12" hspace="2" border="0" align="absmiddle">
|
|
|
1730 |
</a>
|
| 121 |
hknight |
1731 |
<%End If%>
|
|
|
1732 |
</td>
|
|
|
1733 |
</tr>
|
|
|
1734 |
</table>
|
| 119 |
ghuddy |
1735 |
|
| 121 |
hknight |
1736 |
<%retVal = Get_Package_Issues ( parPv_id, SQLstr, fixedIssDict, notesIssDict, enumISSUES_STATE_IMPORTED )
|
|
|
1737 |
If (retVal > 0) Then
|
|
|
1738 |
retVal = Get_CQ_Issues ( SQLstr, rsCQ )
|
|
|
1739 |
If retVal = 0 Then%>
|
|
|
1740 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1741 |
<form name="fixedissues" method="get" action="_update_issues_state.asp">
|
|
|
1742 |
<tr>
|
|
|
1743 |
<%If pageIsEditable Then%>
|
| 161 |
iaugusti |
1744 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field" align="center">Fixed</td>
|
| 121 |
hknight |
1745 |
<%End If%>
|
| 161 |
iaugusti |
1746 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Issue Id </td>
|
|
|
1747 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Issue DB </td>
|
|
|
1748 |
<td bgcolor=#e4e9ec nowrap width="100%" class="form_field">Summary</td>
|
|
|
1749 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Issue Type </td>
|
|
|
1750 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Priority</td>
|
|
|
1751 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Status</td>
|
|
|
1752 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Note</td>
|
|
|
1753 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field"> </td>
|
| 121 |
hknight |
1754 |
</tr>
|
|
|
1755 |
<%If ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF)) Then%>
|
|
|
1756 |
<%While ((NOT rsCQ.BOF) AND (NOT rsCQ.EOF))%>
|
|
|
1757 |
<tr>
|
|
|
1758 |
<%If pageIsEditable Then%>
|
| 161 |
iaugusti |
1759 |
<td align="center" nowrap bgcolor=#e4e9ec>
|
| 123 |
ghuddy |
1760 |
<input type="checkbox" name="FRfixed" value="<%=rsCQ("iss_db") &"."& rsCQ("iss_id")%>">
|
|
|
1761 |
</td>
|
| 121 |
hknight |
1762 |
<%End If%>
|
| 161 |
iaugusti |
1763 |
<td bgcolor=#f5f5f5 nowrap class="form_item">
|
| 123 |
ghuddy |
1764 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_issues_details.asp?iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueDetails','resizable=yes,width=580,height=500')" class="txt_linked">
|
|
|
1765 |
<%=rsCQ("iss_num")%>
|
|
|
1766 |
</a>
|
|
|
1767 |
</td>
|
| 161 |
iaugusti |
1768 |
<td bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1769 |
<%If rsCQ("iss_db") = enumCLEARQUEST_DEVI_ID Then%>
|
|
|
1770 |
DEVI
|
|
|
1771 |
<%ElseIf rsCQ("iss_db") = enumCLEARQUEST_TDSE_ID Then%>
|
|
|
1772 |
TDSE
|
|
|
1773 |
<%ElseIf rsCQ("iss_db") = enumCLEARQUEST_VT5DM_ID Then%>
|
|
|
1774 |
VT5DM
|
|
|
1775 |
<%Else%>
|
|
|
1776 |
VTSUP
|
|
|
1777 |
<%End If%>
|
|
|
1778 |
</td>
|
| 161 |
iaugusti |
1779 |
<td bgcolor=#f5f5f5 class="form_item"><%=NewLine_To_BR ( To_HTML ( rsCQ("summary") ) )%></td>
|
|
|
1780 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("issue_type")%></td>
|
|
|
1781 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("priority")%></td>
|
|
|
1782 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=rsCQ("Status")%></td>
|
| 121 |
hknight |
1783 |
<%If sectionIsEditable AND pageIsEditable Then%>
|
|
|
1784 |
<%If notesIssDict.Exists (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id"))) Then%>
|
| 161 |
iaugusti |
1785 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1786 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_issue_notes.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueNotes','resizable=yes,width=400,height=250')">
|
|
|
1787 |
<img src="images/i_note_on.gif" width="11" height="12" border="0" alt="<%=notesIssDict.Item (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id")))%>">
|
|
|
1788 |
</a>
|
|
|
1789 |
</td>
|
| 121 |
hknight |
1790 |
<%Else%>
|
| 161 |
iaugusti |
1791 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1792 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_issue_notes.asp?rtag_id=<%=parRtag_id%>&pv_id=<%=parPv_id%>&iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>','IssueNotes','resizable=yes,width=400,height=250')">
|
|
|
1793 |
<img src="images/i_note_off.gif" width="11" height="12" border="0" alt="Add Note">
|
|
|
1794 |
</a>
|
|
|
1795 |
</td>
|
| 121 |
hknight |
1796 |
<%End If%>
|
|
|
1797 |
<%Else%>
|
|
|
1798 |
<%If notesIssDict.Exists (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id"))) Then%>
|
| 161 |
iaugusti |
1799 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1800 |
<img src="images/i_note_on.gif" width="11" height="12" border="0" alt="<%=notesIssDict.Item (Cstr(rsCQ("iss_db") &"."& rsCQ("iss_id")))%>">
|
|
|
1801 |
</td>
|
| 121 |
hknight |
1802 |
<%Else%>
|
| 161 |
iaugusti |
1803 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1804 |
<img src="images/i_note_off.gif" width="11" height="12" border="0">
|
|
|
1805 |
</td>
|
| 121 |
hknight |
1806 |
<%End If%>
|
|
|
1807 |
<%End If%>
|
|
|
1808 |
<%If NOT pageIsEditable Then%>
|
| 161 |
iaugusti |
1809 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1810 |
<img src="images/i_delete_disable.gif" width="13" height="12" hspace="2" border="0">
|
|
|
1811 |
</td>
|
| 121 |
hknight |
1812 |
<%Else%>
|
| 161 |
iaugusti |
1813 |
<td align="center" bgcolor=#f5f5f5 class="form_item">
|
| 123 |
ghuddy |
1814 |
<a href="_remove_issue.asp?iss_db=<%=rsCQ("iss_db")%>&iss_id=<%=rsCQ("iss_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this issue from Release Manager');">
|
|
|
1815 |
<img src="images/i_delete.gif" width="13" height="12" hspace="2" border="0" alt="Delete this issue from the list">
|
|
|
1816 |
</a>
|
|
|
1817 |
</td>
|
| 121 |
hknight |
1818 |
<%End If%>
|
|
|
1819 |
</tr>
|
|
|
1820 |
<%rsCQ.MoveNext
|
|
|
1821 |
WEnd
|
|
|
1822 |
rsCQ.Close()%>
|
|
|
1823 |
<%If pageIsEditable Then%>
|
|
|
1824 |
<tr>
|
| 161 |
iaugusti |
1825 |
<td align="center" nowrap bgcolor=#e4e9ec>
|
| 123 |
ghuddy |
1826 |
<input type="submit" name="Apply" value="Apply" class="form_btn">
|
|
|
1827 |
</td>
|
| 121 |
hknight |
1828 |
<td></td>
|
|
|
1829 |
<td></td>
|
|
|
1830 |
<td></td>
|
|
|
1831 |
<td></td>
|
|
|
1832 |
<td></td>
|
|
|
1833 |
<td></td>
|
|
|
1834 |
<td></td>
|
|
|
1835 |
<td></td>
|
|
|
1836 |
</tr>
|
|
|
1837 |
<%End If%>
|
|
|
1838 |
<%Else%>
|
|
|
1839 |
<tr>
|
|
|
1840 |
<%If pageIsEditable Then%>
|
| 161 |
iaugusti |
1841 |
<td bgcolor=#e4e9ec nowrap> </td>
|
| 121 |
hknight |
1842 |
<%End If%>
|
| 161 |
iaugusti |
1843 |
<td bgcolor=#f5f5f5 nowrap></td>
|
|
|
1844 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1845 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1846 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1847 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1848 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1849 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1850 |
<td align="center" bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
1851 |
</tr>
|
|
|
1852 |
<%End If%>
|
|
|
1853 |
<input name="pv_id" type="hidden" value="<%=parPv_id%>">
|
|
|
1854 |
<input name="rtag_id" type="hidden" value="<%=parRtag_id%>">
|
|
|
1855 |
</form>
|
|
|
1856 |
</table>
|
|
|
1857 |
<%End If%>
|
|
|
1858 |
<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
|
|
|
1859 |
<%End If%>
|
| 123 |
ghuddy |
1860 |
<!-- DEVI-050133 Although it would seem to the human eye that the following row and table closing tags are needed, -->
|
|
|
1861 |
<!-- they do in fact cause the page to be rendered incorrectly. Hence they are commented out for now -->
|
|
|
1862 |
<!-- until the true cause of the mis-rendering can be ascertained. -->
|
|
|
1863 |
<!-- </tr> -->
|
|
|
1864 |
<!-- </table> -->
|
| 121 |
hknight |
1865 |
</fieldset>
|
|
|
1866 |
<br><br>
|
| 119 |
ghuddy |
1867 |
<!-- DEPENDENCY ISSUES (NOT FOR PATCHES!) ------------------------------------------------------------------------------------------------------->
|
|
|
1868 |
|
| 121 |
hknight |
1869 |
<%If IsNull(pkgInfoHash.Item ("is_patch")) Then%>
|
|
|
1870 |
<fieldset class="fset"><legend class="body_colb"><img src="images/s_bugs.gif" width="21" height="18" border="0" hspace="4" align="absmiddle">Dependency Issues</legend>
|
|
|
1871 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 119 |
ghuddy |
1872 |
|
| 121 |
hknight |
1873 |
<%Call Get_Package_Issues ( parPv_id, SQLstr, NULL, NULL, NULL )
|
|
|
1874 |
If (retVal > 0) Then
|
|
|
1875 |
retVal = Get_Dependency_CQ_Issues ( SQLstr, rsCQ, depIssDict, issArr )
|
|
|
1876 |
If retVal = 0 Then%>
|
|
|
1877 |
<%
|
|
|
1878 |
currG1 = 0
|
|
|
1879 |
G1_template = _
|
|
|
1880 |
"<tr>"&_
|
|
|
1881 |
" <td colspan='7'><img src='images/spacer.gif' width='2' height='2'></td>"&_
|
|
|
1882 |
"</tr>"&_
|
|
|
1883 |
"<tr>"&_
|
| 161 |
iaugusti |
1884 |
" <td colspan='7' bgcolor=#e4e9ec class='form_item'>/*DEP_NAME_VERSION*//*REASONS*/</td>"&_
|
| 121 |
hknight |
1885 |
"</tr>"
|
|
|
1886 |
Set rsDepIss = OraDatabase.DbCreateDynaset( SQL_Dependency_Issues( parPv_id ), cint(0))
|
|
|
1887 |
%>
|
|
|
1888 |
<%If ((NOT rsDepIss.BOF) AND (NOT rsDepIss.EOF)) Then%>
|
|
|
1889 |
<%While ((NOT rsDepIss.BOF) AND (NOT rsDepIss.EOF))%>
|
|
|
1890 |
<%
|
|
|
1891 |
iss_db_id = Cstr(rsDepIss("iss_db") &"."& rsDepIss("iss_id"))
|
|
|
1892 |
G1_style = Replace(G1_template, "/*DEP_NAME_VERSION*/", "<SPAN class='envolPkg'><b>"& rsDepIss("pkg_name") &" "& rsDepIss("pkg_version") &"</b></SPAN>")
|
|
|
1893 |
If IsNull(rsDepIss("iss_id")) Then
|
|
|
1894 |
If IsNull(rsDepIss("reasons")) Then
|
|
|
1895 |
G1_style = Replace(G1_style, "/*REASONS*/", "<br>Reason for this version is not specified.")
|
|
|
1896 |
Else
|
|
|
1897 |
G1_style = Replace(G1_style, "/*REASONS*/", "<br>"& NewLine_To_BR ( To_HTML ( rsDepIss("reasons") ) ) )
|
|
|
1898 |
End If
|
|
|
1899 |
Else
|
|
|
1900 |
If IsNull(rsDepIss("reasons")) Then
|
|
|
1901 |
G1_style = Replace(G1_style, "/*REASONS*/", "")
|
|
|
1902 |
Else
|
|
|
1903 |
G1_style = Replace(G1_style, "/*REASONS*/", "<br>"& NewLine_To_BR ( To_HTML ( rsDepIss("reasons") ) ) )
|
|
|
1904 |
End If
|
|
|
1905 |
End If
|
| 119 |
ghuddy |
1906 |
|
| 121 |
hknight |
1907 |
Call Group_By ( rsDepIss("pv_id"), G1_style, currG1 )
|
|
|
1908 |
If NOT IsNull(rsDepIss("iss_id")) Then
|
|
|
1909 |
If rsDepIss("pv_id") <> currG1 Then
|
|
|
1910 |
currG1 = rsDepIss("pv_id")%>
|
|
|
1911 |
<tr>
|
| 161 |
iaugusti |
1912 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field" align="center"></td>
|
|
|
1913 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field" align="center">Fixed</td>
|
|
|
1914 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Issue Id </td>
|
|
|
1915 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Issue DB </td>
|
|
|
1916 |
<td bgcolor=#e4e9ec nowrap width="100%" class="form_field">Summary</td>
|
|
|
1917 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Issue Type </td>
|
|
|
1918 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Priority</td>
|
| 121 |
hknight |
1919 |
</tr>
|
|
|
1920 |
<%End If%>
|
|
|
1921 |
<tr>
|
| 161 |
iaugusti |
1922 |
<td bgcolor=#e4e9ec></td>
|
|
|
1923 |
<td align="center" nowrap bgcolor=#f5f5f5>
|
| 121 |
hknight |
1924 |
<%If CInt(rsDepIss("iss_state")) = enumISSUES_STATE_FIXED Then%>
|
|
|
1925 |
<img src="images/i_tick_black.gif" width="7" height="7" vspace="2">
|
|
|
1926 |
<%Else%>
|
|
|
1927 |
<img src="images/spacer.gif" width="7" height="7" vspace="2">
|
|
|
1928 |
<%End If%>
|
|
|
1929 |
</td>
|
| 161 |
iaugusti |
1930 |
<td bgcolor=#f5f5f5 nowrap class="form_item"><a href="javascript:;" onClick="MM_openBrWindow('_wform_issues_details.asp?iss_db=<%=asDepIss( iss_db_id, enumLoc_iss_db )%>&iss_id=<%=asDepIss( iss_db_id, enumLoc_iss_id )%>','IssueDetails','resizable=yes,width=580,height=500')" class="txt_linked"><%=asDepIss( iss_db_id, enumLoc_iss_num )%></a></td>
|
|
|
1931 |
<td bgcolor=#f5f5f5 class="form_item"><%If asDepIss( iss_db_id, enumLoc_iss_db ) = enumCLEARQUEST_DEVI_ID Then%>DEVI<%ElseIf asDepIss( iss_db_id, enumLoc_iss_db ) = enumCLEARQUEST_TDSE_ID Then%>TDSE<%ElseIf asDepIss( iss_db_id, enumLoc_iss_db ) = enumCLEARQUEST_VT5DM_ID Then%>VT5DM<%Else%>VTSUP<%End If%></td>
|
|
|
1932 |
<td bgcolor=#f5f5f5 class="form_item"><%=asDepIss( iss_db_id, enumLoc_summary)%></td>
|
|
|
1933 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=asDepIss( iss_db_id, enumLoc_issue_type)%></td>
|
|
|
1934 |
<td nowrap bgcolor=#f5f5f5 class="form_item"><%=asDepIss( iss_db_id, enumLoc_priority)%></td>
|
| 121 |
hknight |
1935 |
</tr>
|
|
|
1936 |
<%End If%>
|
|
|
1937 |
<%rsDepIss.MoveNext
|
|
|
1938 |
WEnd
|
|
|
1939 |
rsDepIss.Close()
|
|
|
1940 |
Set rsDepIss = nothing%>
|
|
|
1941 |
<%Else%>
|
|
|
1942 |
<tr>
|
| 161 |
iaugusti |
1943 |
<td bgcolor=#e4e9ec nowrap> </td>
|
|
|
1944 |
<td bgcolor=#f5f5f5></td>
|
|
|
1945 |
<td bgcolor=#f5f5f5></td>
|
|
|
1946 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1947 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1948 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
1949 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
1950 |
</tr>
|
|
|
1951 |
<%End If%>
|
|
|
1952 |
<%End If%>
|
|
|
1953 |
<%If retVal <> 0 Then Response.write enumMSSQL_ERROR%>
|
|
|
1954 |
<%End If%>
|
|
|
1955 |
</table>
|
|
|
1956 |
</fieldset>
|
|
|
1957 |
<br><br>
|
|
|
1958 |
<%End If%>
|
| 119 |
ghuddy |
1959 |
<!-- UNIT TESTS --------------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
1960 |
<%
|
|
|
1961 |
Dim testCheckMSG, testCheckMSG_ID, testCheckNote, testCheckTestsFound
|
|
|
1962 |
Call CheckUnitTestsState ( parPv_id, testCheckMSG, testCheckMSG_ID, testCheckNote, testCheckTestsFound )
|
|
|
1963 |
Set rsQry = OraDatabase.DbCreateDynaset( SQL_Unit_Tests ( parPv_id ), cint(0))
|
|
|
1964 |
%>
|
|
|
1965 |
<fieldset class="fset"><legend class="body_colb"><img src="images/i_unit_test.gif" width="18" height="25" hspace="4" border="0" align="absmiddle" alt="">Unit Tests
|
|
|
1966 |
<%If testCheckMSG_ID = 0 Then%>
|
|
|
1967 |
<%=testCheckMSG%>
|
|
|
1968 |
<%End If%></legend>
|
|
|
1969 |
<a name="UNIT_TESTS"></a>
|
|
|
1970 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1971 |
<tr>
|
|
|
1972 |
<td align="right" valign="bottom">
|
| 157 |
ghuddy |
1973 |
<%If ( scriptName = "fixed_issues.asp" ) Then%>
|
|
|
1974 |
<%If objAccessControl.UserLogedIn AND (pageIsEditable OR (pkgInfoHash.Item("dlocked") = "Y")) Then%>
|
|
|
1975 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_unit_test.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','UnitTest','resizable=yes,width=700,height=550')" class="txt_linked">New Test<img src="images/i_new.gif" width="13" height="13" hspace="2" border="0" align="absmiddle" alt="Add new test."></a>
|
|
|
1976 |
<%End If%>
|
| 121 |
hknight |
1977 |
<%If (NOT testCheckTestsFound) AND (testCheckMSG_ID = 0) Then%>
|
|
|
1978 |
<a href='_not_done_unit_test.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>¬done=Y' class='txt_linked'>Click here if Not Done!<img src="images/i_new.gif" width="13" height="13" hspace="2" border="0" align="absmiddle" alt="Add new test."></a>
|
|
|
1979 |
<%End If%>
|
|
|
1980 |
<%End If%>
|
|
|
1981 |
</td>
|
|
|
1982 |
</tr>
|
|
|
1983 |
</table>
|
|
|
1984 |
<%If (NOT testCheckTestsFound) AND (testCheckMSG_ID = -1) Then%>
|
|
|
1985 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1986 |
<tr>
|
| 161 |
iaugusti |
1987 |
<td bgcolor=#f5f5f5 class="form_item">
|
| 121 |
hknight |
1988 |
<%Call DisplayInfo ( "UNIT_TEST_NOT_DONE", 300 )%>
|
|
|
1989 |
<span class="rep_small">Last Modified: <%=testCheckMSG%></span><br>
|
|
|
1990 |
<%=NewLine_To_BR( To_HTML ( testCheckNote ) )%>
|
|
|
1991 |
</td>
|
|
|
1992 |
</tr>
|
|
|
1993 |
</table>
|
|
|
1994 |
<%End If%>
|
| 119 |
ghuddy |
1995 |
|
| 121 |
hknight |
1996 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
1997 |
<form name="review" method="get" action="_update_unit_test_accepted_state.asp">
|
|
|
1998 |
<tr>
|
| 161 |
iaugusti |
1999 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" valign="middle"> Test Type </td>
|
|
|
2000 |
<td width="100%" nowrap bgcolor=#e4e9ec class="form_field" valign="middle"> Test Summary </td>
|
|
|
2001 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" align="center" valign="middle">Test<br>Completed</td>
|
|
|
2002 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" align="center" valign="middle"> Passed<br># / Total </td>
|
|
|
2003 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" align="center" valign="middle"> Results </td>
|
|
|
2004 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" align="center" valign="middle"> Accepted </td>
|
|
|
2005 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" align="center" valign="middle">Review<br>Completed</td>
|
|
|
2006 |
<td width="1%" nowrap bgcolor=#e4e9ec class="form_field" valign="middle">Comments /<br>Issue#</td>
|
|
|
2007 |
<td width="1%" bgcolor=#e4e9ec></td>
|
| 121 |
hknight |
2008 |
</tr>
|
|
|
2009 |
<%While ((NOT rsQry.BOF) AND (NOT rsQry.EOF) )%>
|
|
|
2010 |
<tr>
|
|
|
2011 |
<%If NOT pageIsEditable Then%>
|
|
|
2012 |
<%If NOT IsNull(rsQry("test_id")) AND ( scriptName = "fixed_issues.asp") Then%>
|
| 161 |
iaugusti |
2013 |
<td nowrap bgcolor=#f5f5f5 class="form_item" valign="top"><a href="javascript:;" onClick="MM_openBrWindow('_wform_update_unit_test.asp?test_id=<%=rsQry("test_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','UpdateUT','resizable=yes,width=700,height=550')" class="txt_linked"><img src="images/i_test.gif" width="16" height="16" hspace="3" align="absmiddle" border="0"><%=rsQry("test_type_name")%></a></td>
|
| 121 |
hknight |
2014 |
<%Else%>
|
| 161 |
iaugusti |
2015 |
<td nowrap bgcolor=#f5f5f5 class="form_item" valign="top"><img src="images/i_test.gif" width="16" height="16" hspace="3" align="absmiddle"><%=rsQry("test_type_name")%></td>
|
| 121 |
hknight |
2016 |
<%End If%>
|
|
|
2017 |
<%Else%>
|
| 161 |
iaugusti |
2018 |
<td nowrap bgcolor=#f5f5f5 class="form_item" valign="top"><a href="javascript:;" onClick="MM_openBrWindow('<%If Not IsNull(rsQry("test_id")) Then%>_wform_update_unit_test.asp<%Else%>_wform_unit_test.asp<%End If%>?test_id=<%=rsQry("test_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&test_type_id=<%=rsQry("test_type_id")%>','UpdateUT','resizable=yes,width=700,height=550')" class="txt_linked"><img src="images/i_test.gif" width="16" height="16" hspace="3" align="absmiddle" border="0"><%=rsQry("test_type_name")%></a></td>
|
| 121 |
hknight |
2019 |
<%End If%>
|
| 161 |
iaugusti |
2020 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=NewLine_To_BR( To_HTML( rsQry("test_summary") ))%></td>
|
|
|
2021 |
<td nowrap bgcolor=#f5f5f5 class="form_item" valign="top"><%If ( NOT IsNull(rsQry("tester")) ) Then%><%=EuroDate ( rsQry("completion_date") )%><br>by <a href="mailto:<%=rsQry("tester_email")%>" class="txt_linked"><%=rsQry("tester")%></a><%End If%></td>
|
|
|
2022 |
<td nowrap bgcolor=#f5f5f5 class="form_item" valign="top" align="center"><%=rsQry("numof_test")%></td>
|
| 119 |
ghuddy |
2023 |
|
| 121 |
hknight |
2024 |
<%If CInt(rsQry("test_type_id")) = enumTEST_TYPE_AUTOMATIC Then%>
|
| 161 |
iaugusti |
2025 |
<td bgcolor=#f5f5f5 class="form_item" align="center" valign="top">
|
| 121 |
hknight |
2026 |
<%If NOT IsNull( rsQry("results_url") ) Then%>
|
|
|
2027 |
<%If InStr( rsQry("results_url"), "http://" ) = 1 Then%>
|
|
|
2028 |
<a href="<%=rsQry("results_url")%>" target="_blank"><img src="images/i_results.gif" width="15" height="16" border="0" alt="View test results"></a>
|
|
|
2029 |
<%Else%>
|
|
|
2030 |
<%If pkgInfoHash.Item ("base_view_id") = CStr(enumBASE_VIEW_PRODUCTS) Then%>
|
|
|
2031 |
<a href="<%=deploy_archiveURL & pkgInfoHash.Item ("pkg_name") &"/"& pkgInfoHash.Item ("pkg_version") & rsQry("results_url")%>" target="_blank"><img src="images/i_results.gif" width="15" height="16" border="0" alt="View test results"></a>
|
|
|
2032 |
<%Else%>
|
|
|
2033 |
<a href="<%=dpkg_archiveURL & pkgInfoHash.Item ("pkg_name") &"/"& pkgInfoHash.Item ("pkg_version") & rsQry("results_url")%>" target="_blank"><img src="images/i_results.gif" width="15" height="16" border="0" alt="View test results"></a>
|
|
|
2034 |
<%End If%>
|
|
|
2035 |
<%End If%>
|
|
|
2036 |
<%End If%>
|
|
|
2037 |
</td>
|
|
|
2038 |
<%Else%>
|
| 161 |
iaugusti |
2039 |
<td bgcolor=#f5f5f5 class="form_item" align="center" valign="top">
|
| 121 |
hknight |
2040 |
<%If NOT IsNull( rsQry("results_attachment_name") ) Then%>
|
|
|
2041 |
<%If pkgInfoHash.Item ("dlocked") = "Y" Then%>
|
|
|
2042 |
<%If pkgInfoHash.Item ("base_view_id") = CStr(enumBASE_VIEW_PRODUCTS) Then%>
|
|
|
2043 |
<a href="<%=deploy_archiveURL & pkgInfoHash.Item ("pkg_name") &"/"& pkgInfoHash.Item ("pkg_version") &"/"& rsQry("results_attachment_name")%>" target="_blank"><img src="images/i_results.gif" width="15" height="16" border="0" alt="View test results"></a>
|
|
|
2044 |
<%Else%>
|
|
|
2045 |
<a href="<%=dpkg_archiveURL & pkgInfoHash.Item ("pkg_name") &"/"& pkgInfoHash.Item ("pkg_version") &"/"& rsQry("results_attachment_name")%>" target="_blank"><img src="images/i_results.gif" width="15" height="16" border="0" alt="View test results"></a>
|
|
|
2046 |
<%End If%>
|
| 119 |
ghuddy |
2047 |
|
| 121 |
hknight |
2048 |
<%Else%>
|
|
|
2049 |
<a href="<%=TEMP_FOLDER &"/"& pkgInfoHash.Item ("pkg_name") &"/"& pkgInfoHash.Item ("pkg_version") &"/"& rsQry("results_attachment_name")%>" target="_blank"><img src="images/i_results.gif" width="15" height="16" border="0" alt="View test results"></a>
|
|
|
2050 |
<%End If%>
|
|
|
2051 |
<%End If%>
|
|
|
2052 |
</td>
|
|
|
2053 |
<%End If%>
|
| 119 |
ghuddy |
2054 |
|
| 161 |
iaugusti |
2055 |
<td nowrap bgcolor=#e4e9ec class="sublbox_txt" valign="top" align="center"><%=FormatAccepted( rsQry("test_accepted"), rsQry("test_id") )%></td>
|
|
|
2056 |
<td nowrap bgcolor=#f5f5f5 class="form_item" valign="top"><%If NOT IsNull(rsQry("reviewee")) Then%><%=EuroDate ( rsQry("acceptance_date") )%><br>by <a href="mailto:<%=rsQry("reviewee_email")%>" class="txt_linked"><%=rsQry("reviewee")%></a><%End If%></td>
|
|
|
2057 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=NewLine_To_BR( To_HTML( rsQry("review_comments") ))%></td>
|
| 119 |
ghuddy |
2058 |
|
| 157 |
ghuddy |
2059 |
<%
|
|
|
2060 |
If ( ( pageIsEditable _
|
|
|
2061 |
AND (scriptName = "fixed_issues.asp") _
|
|
|
2062 |
AND (IsNull(rsQry("test_accepted")) OR (rsQry("test_accepted") = enumUNIT_TEST_NOTACCEPTED))) _
|
|
|
2063 |
OR _
|
|
|
2064 |
( objAccessControl.UserLogedIn _
|
|
|
2065 |
AND (scriptName = "fixed_issues.asp") _
|
|
|
2066 |
AND (pkgInfoHash.Item("dlocked") = "Y") _
|
|
|
2067 |
AND (IsNull(rsQry("test_accepted")) OR (rsQry("test_accepted") = enumUNIT_TEST_NOTACCEPTED)) _
|
|
|
2068 |
AND (rsQry("test_type_id") <> CStr(enumTEST_TYPE_AUTOBUILD_UTF))) ) Then
|
|
|
2069 |
%>
|
| 161 |
iaugusti |
2070 |
<td bgcolor=#f5f5f5 valign="top"><%If NOT IsNull(rsQry("test_id")) Then%><a href="_remove_unit_test.asp?test_id=<%=rsQry("test_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this unit test');"><img src="images/i_delete.gif" alt="Remove this test." width="13" height="12" hspace="3" border="0"></a><%End If%></td>
|
| 157 |
ghuddy |
2071 |
<%Else%>
|
| 161 |
iaugusti |
2072 |
<td bgcolor=#f5f5f5 valign="top"></td>
|
| 121 |
hknight |
2073 |
<%End If%>
|
|
|
2074 |
</tr>
|
| 157 |
ghuddy |
2075 |
<%
|
|
|
2076 |
rsQry.MoveNext
|
|
|
2077 |
WEnd
|
|
|
2078 |
%>
|
| 121 |
hknight |
2079 |
<tr>
|
|
|
2080 |
<td class="form_field"></td>
|
|
|
2081 |
<td class="form_field"></td>
|
|
|
2082 |
<td class="form_field"></td>
|
|
|
2083 |
<td class="form_field"></td>
|
|
|
2084 |
<td class="form_field"></td>
|
| 157 |
ghuddy |
2085 |
<td class="form_field" align="center">
|
|
|
2086 |
<%If (testCheckTestsFound) AND (testCheckMSG_ID = 0) AND ( scriptName = "fixed_issues.asp" ) AND pageIsEditable Then%>
|
|
|
2087 |
<input type="submit" name="Apply" value="Apply" class="form_btn">
|
|
|
2088 |
<%End If%>
|
|
|
2089 |
</td>
|
| 121 |
hknight |
2090 |
<td class="form_field"></td>
|
|
|
2091 |
<td class="form_field"></td>
|
|
|
2092 |
<td class="form_field"></td>
|
|
|
2093 |
</tr>
|
|
|
2094 |
<input name="pv_id" type="hidden" value="<%=parPv_id%>">
|
|
|
2095 |
<input name="rtag_id" type="hidden" value="<%=parRtag_id%>">
|
|
|
2096 |
</form>
|
|
|
2097 |
</table>
|
|
|
2098 |
</fieldset>
|
|
|
2099 |
<br><br>
|
| 119 |
ghuddy |
2100 |
<!-- CODE REVIEW ------------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
2101 |
<fieldset class="fset"><legend class="body_colb"><img src='images/s_code_review.gif' width='21' height='23' hspace='4' border='0' align='absmiddle'>Code Review</legend>
|
|
|
2102 |
<a name="CODE_REVIEW" id="CODE_REVIEW"></a>
|
|
|
2103 |
<%Set rsQry = OraDatabase.DbCreateDynaset( SQL_CodeReview ( parPv_id ), cint(0))%>
|
|
|
2104 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
2105 |
<tr>
|
| 157 |
ghuddy |
2106 |
<td align="right" valign="bottom">
|
|
|
2107 |
<%If ( scriptName = "fixed_issues.asp" ) Then%>
|
|
|
2108 |
<%If objAccessControl.UserLogedIn AND (pageIsEditable OR (pkgInfoHash.Item("dlocked") = "Y")) Then%>
|
| 161 |
iaugusti |
2109 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_update_code_review.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','CodeReviewEdit','scrollbars=yes,status=yes,resizable=yes,width=950,height='+ ( screen.height - 100 ) +',top=0,left=0')" class="txt_linked">Edit<img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
| 119 |
ghuddy |
2110 |
<%End If%>
|
| 157 |
ghuddy |
2111 |
<%If rsQry.RecordCount > 0 Then%>
|
|
|
2112 |
<%If NOT IsNull(rsQry("date_of_review")) Then%>
|
|
|
2113 |
|
| 161 |
iaugusti |
2114 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_code_review.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','CodeReviewView','scrollbars=yes,status=yes,resizable=yes,width=950,height='+ ( screen.height - 100 ) +',top=0,left=0')" class="txt_linked">View<img src="images/i_open.gif" width="12" height="12" hspace="2" border="0" align="absmiddle"></a>
|
| 157 |
ghuddy |
2115 |
<%End If%>
|
|
|
2116 |
<%End If%>
|
| 121 |
hknight |
2117 |
<%End If%>
|
|
|
2118 |
</td>
|
|
|
2119 |
</tr>
|
|
|
2120 |
</table>
|
|
|
2121 |
<%If ((NOT rsQry.BOF) AND (NOT rsQry.EOF)) Then%>
|
|
|
2122 |
<%If NOT IsNull(rsQry("date_of_review")) Then%>
|
| 119 |
ghuddy |
2123 |
<table width="100%" border="0" cellspacing="1" cellpadding="4">
|
| 121 |
hknight |
2124 |
<tr>
|
| 161 |
iaugusti |
2125 |
<td width="1%" align="right" nowrap bgcolor=#e4e9ec class="form_field">Date of Review</td>
|
|
|
2126 |
<td width="1%" nowrap bgcolor=#f5f5f5 class="form_item"><%=EuroDate ( rsQry("date_of_review") )%> </td>
|
|
|
2127 |
<td width="1%" align="right" nowrap bgcolor=#e4e9ec class="form_field"> Time Spent:</td>
|
|
|
2128 |
<td width="100%" bgcolor=#f5f5f5 class="form_item"><%=rsQry("time_spent")%> hrs </td>
|
| 121 |
hknight |
2129 |
</tr>
|
|
|
2130 |
<tr>
|
| 161 |
iaugusti |
2131 |
<td align="right" valign="top" nowrap bgcolor=#e4e9ec class="form_field">Reason for Review</td>
|
|
|
2132 |
<td colspan="3" bgcolor=#f5f5f5 class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("review_reason") ))%></td>
|
| 121 |
hknight |
2133 |
</tr>
|
|
|
2134 |
<tr>
|
| 161 |
iaugusti |
2135 |
<td align="right" nowrap bgcolor=#e4e9ec class="form_field">Review Results </td>
|
|
|
2136 |
<td colspan="3" bgcolor=#f5f5f5 class="form_item">
|
| 121 |
hknight |
2137 |
<%=DecodeOverallResult( rsQry("review_results") )%>
|
|
|
2138 |
</td>
|
|
|
2139 |
</tr>
|
|
|
2140 |
<tr>
|
| 161 |
iaugusti |
2141 |
<td align="right" nowrap bgcolor=#e4e9ec class="form_field">Issues Raised </td>
|
|
|
2142 |
<td colspan="3" bgcolor=#f5f5f5 class="form_item"><%=NewLine_To_BR( To_HTML( rsQry("issues_raised") ))%></td>
|
| 121 |
hknight |
2143 |
</tr>
|
| 119 |
ghuddy |
2144 |
</table>
|
| 121 |
hknight |
2145 |
<%Else%>
|
| 119 |
ghuddy |
2146 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 121 |
hknight |
2147 |
<tr>
|
| 161 |
iaugusti |
2148 |
<td bgcolor=#f5f5f5><span class='sublbox_txt'>No details found.</span></td>
|
| 121 |
hknight |
2149 |
</tr>
|
| 119 |
ghuddy |
2150 |
</table>
|
| 121 |
hknight |
2151 |
<%End If%>
|
|
|
2152 |
<%Else%>
|
|
|
2153 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
2154 |
<tr>
|
| 161 |
iaugusti |
2155 |
<td bgcolor=#f5f5f5><span class='sublbox_txt'>No details found.</span></td>
|
| 121 |
hknight |
2156 |
</tr>
|
|
|
2157 |
</table>
|
|
|
2158 |
<%End If%>
|
| 119 |
ghuddy |
2159 |
|
| 121 |
hknight |
2160 |
<!-- Code Review URL section for this version -->
|
|
|
2161 |
<%Call GetCodeReviewURLs( parPv_id, rsCodeReviewURL )%>
|
|
|
2162 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
2163 |
<tr>
|
|
|
2164 |
<td align="left" valign="top" class="body_colb">Code Review URL for this version</td>
|
|
|
2165 |
<td align="right" valign="top" <%If NOT IsNull(rsCodeReviewURL("url")) Then Response.Write("colspan='5'")%>>
|
| 157 |
ghuddy |
2166 |
<%If (scriptName = "fixed_issues.asp") AND objAccessControl.UserLogedIn AND (pageIsEditable OR (pkgInfoHash.Item("dlocked") = "Y")) Then%>
|
| 161 |
iaugusti |
2167 |
<a href="javascript:;" onclick="MM_openBrWindow('_wform_edit_code_review_url.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','CodeReviewURLEdit','scrollbars=yes,status=yes,resizable=yes,width=930,height=185,top=0,left=0')" class="txt_linked">New<img src="images/i_new.gif" width="13" height="13" hspace="2" border="0" align="absmiddle"></a>
|
| 121 |
hknight |
2168 |
<%End If%>
|
|
|
2169 |
</td>
|
|
|
2170 |
</tr>
|
|
|
2171 |
<%If IsNull(rsCodeReviewURL("full_url")) Then %>
|
|
|
2172 |
<tr>
|
| 161 |
iaugusti |
2173 |
<td bgcolor=#f5f5f5 width="100%" class="form_item" colspan="2">
|
| 121 |
hknight |
2174 |
<span class='sublbox_txt'>No details found.</span>
|
|
|
2175 |
</td>
|
|
|
2176 |
</tr>
|
|
|
2177 |
<%Else%>
|
|
|
2178 |
<tr>
|
| 161 |
iaugusti |
2179 |
<td bgcolor=#e4e9ec class="form_field">URL</td>
|
|
|
2180 |
<td bgcolor=#e4e9ec width="25%" class="form_field">Reason for Review</td>
|
|
|
2181 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Date of Review</td>
|
|
|
2182 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Last Modified</td>
|
|
|
2183 |
<td bgcolor=#e4e9ec nowrap width="18px" class="form_field"></td>
|
|
|
2184 |
<td bgcolor=#e4e9ec nowrap width="18px" class="form_field"></td>
|
| 121 |
hknight |
2185 |
</tr>
|
|
|
2186 |
<%If ((NOT rsCodeReviewURL.BOF) AND (NOT rsCodeReviewURL.EOF)) Then
|
|
|
2187 |
While ((NOT rsCodeReviewURL.BOF) AND (NOT rsCodeReviewURL.EOF))%>
|
|
|
2188 |
<tr>
|
|
|
2189 |
<%If (Left(rsCodeReviewURL("url"),4) = "http") Then%>
|
| 161 |
iaugusti |
2190 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="<%=rsCodeReviewURL("url")%>" target="_blank" class="txt_linked"><%=rsCodeReviewURL("url")%></a></td>
|
| 121 |
hknight |
2191 |
<%Else%>
|
| 161 |
iaugusti |
2192 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="<%=rsCodeReviewURL("full_url")%>" target="_blank" class="txt_linked"><%=rsCodeReviewURL("full_url")%></a></td>
|
| 121 |
hknight |
2193 |
<%End If%>
|
| 161 |
iaugusti |
2194 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=rsCodeReviewURL("reason")%></td>
|
|
|
2195 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=rsCodeReviewURL("date_of_review")%></td>
|
|
|
2196 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=rsCodeReviewURL("last_modified")%></td>
|
| 157 |
ghuddy |
2197 |
<%If (scriptName = "fixed_issues.asp") AND objAccessControl.UserLogedIn AND (pageIsEditable OR (pkgInfoHash.Item("dlocked") = "Y")) Then%>
|
| 161 |
iaugusti |
2198 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="javascript:;" onclick="MM_openBrWindow('_wform_edit_code_review_url.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&cr_id=<%=rsCodeReviewURL("cr_id")%>','CodeReviewURLEdit','scrollbars=no,status=yes,resizable=yes,width=930,height=185')" class="txt_linked"><img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle" alt="Edit this code review URL"></a></td>
|
|
|
2199 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="_remove_code_review_url.asp?cr_id=<%=rsCodeReviewURL("cr_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onclick="return confirmDelete('this code review URL from Release Manager');"><img src="images/i_delete.gif" width="13" height="12" hspace="2" border="0" alt="Delete this code review URL"></a></td>
|
| 121 |
hknight |
2200 |
<%Else%>
|
| 161 |
iaugusti |
2201 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"></td>
|
|
|
2202 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"></td>
|
| 121 |
hknight |
2203 |
<%End If%>
|
|
|
2204 |
</tr>
|
|
|
2205 |
<%rsCodeReviewURL.MoveNext
|
|
|
2206 |
WEnd
|
|
|
2207 |
Else%>
|
|
|
2208 |
<tr>
|
| 161 |
iaugusti |
2209 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2210 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2211 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2212 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2213 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2214 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
| 121 |
hknight |
2215 |
</tr>
|
|
|
2216 |
<%End If
|
|
|
2217 |
End If%>
|
|
|
2218 |
</table>
|
| 119 |
ghuddy |
2219 |
|
| 121 |
hknight |
2220 |
<!-- Code Review URL section for last non-ripple build -->
|
|
|
2221 |
<%If pkgInfoHash.Item ("comments") = "Rippled Build." Then
|
|
|
2222 |
Call LastPvId(pkgInfoHash.Item ("pv_id"))
|
|
|
2223 |
While rsQry("comments") = "Rippled Build."
|
| 119 |
ghuddy |
2224 |
Call LastPvId(rsQry("last_pv_id"))
|
| 121 |
hknight |
2225 |
Wend
|
|
|
2226 |
Dim sOldPkgVersion
|
| 157 |
ghuddy |
2227 |
Dim oldDlocked
|
|
|
2228 |
Call Get_Pkg_Short_Info ( rsQry("pv_id"), NULL, NULL, sOldPkgVersion, NULL, NULL, oldDlocked )
|
| 121 |
hknight |
2229 |
Call GetCodeReviewURLs( rsQry("pv_id"), rsCodeReviewURL )
|
|
|
2230 |
%>
|
|
|
2231 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
2232 |
<tr>
|
|
|
2233 |
<td align="left" valign="top" class="body_colb" <%If NOT IsNull(rsCodeReviewURL("url")) Then Response.Write("colspan='6'")%>>Code Review URL for last non-ripple build (<a class="lbl_link" href="fixed_issues.asp?pv_id=<%=rsQry("pv_id")%>"><%=sOldPkgVersion%></a>)</td>
|
|
|
2234 |
</tr>
|
|
|
2235 |
<%If IsNull(rsCodeReviewURL("url")) Then%>
|
|
|
2236 |
<tr>
|
| 161 |
iaugusti |
2237 |
<td bgcolor=#f5f5f5 width="100%" class="form_item" colspan="2">
|
| 121 |
hknight |
2238 |
<span class='sublbox_txt'>No details found.</span>
|
| 119 |
ghuddy |
2239 |
</td>
|
| 121 |
hknight |
2240 |
</tr>
|
|
|
2241 |
<%Else%>
|
|
|
2242 |
<tr>
|
| 161 |
iaugusti |
2243 |
<td bgcolor=#e4e9ec class="form_field">URL</td>
|
|
|
2244 |
<td bgcolor=#e4e9ec width="30%" class="form_field">Reason for Review</td>
|
|
|
2245 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Date of Review</td>
|
|
|
2246 |
<td bgcolor=#e4e9ec nowrap width="1%" class="form_field">Last Modified</td>
|
|
|
2247 |
<td bgcolor=#e4e9ec nowrap width="18px" class="form_field"></td>
|
|
|
2248 |
<td bgcolor=#e4e9ec nowrap width="18px" class="form_field"></td>
|
| 121 |
hknight |
2249 |
</tr>
|
|
|
2250 |
<%If ((NOT rsCodeReviewURL.BOF) AND (NOT rsCodeReviewURL.EOF)) Then
|
| 119 |
ghuddy |
2251 |
While ((NOT rsCodeReviewURL.BOF) AND (NOT rsCodeReviewURL.EOF))%>
|
| 121 |
hknight |
2252 |
<tr>
|
|
|
2253 |
<%If (Left(rsCodeReviewURL("url"),4) = "http") Then%>
|
| 161 |
iaugusti |
2254 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="<%=rsCodeReviewURL("url")%>" target="_blank" class="txt_linked"><%=rsCodeReviewURL("url")%></a></td>
|
| 121 |
hknight |
2255 |
<%Else%>
|
| 161 |
iaugusti |
2256 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="<%=rsCodeReviewURL("full_url")%>" target="_blank" class="txt_linked"><%=rsCodeReviewURL("full_url")%></a></td>
|
| 121 |
hknight |
2257 |
<%End If%>
|
| 161 |
iaugusti |
2258 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=rsCodeReviewURL("reason")%></td>
|
|
|
2259 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=rsCodeReviewURL("date_of_review")%></td>
|
|
|
2260 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><%=rsCodeReviewURL("last_modified")%></td>
|
| 157 |
ghuddy |
2261 |
<%If (scriptName = "fixed_issues.asp") AND objAccessControl.UserLogedIn AND (pageIsEditable OR (oldDlocked = "Y")) Then%>
|
| 161 |
iaugusti |
2262 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="javascript:;" onclick="MM_openBrWindow('_wform_edit_code_review_url.asp?pv_id=<%=rsCodeReviewURL("pv_id")%>&rtag_id=<%=parRtag_id%>&cr_id=<%=rsCodeReviewURL("cr_id")%>','CodeReviewURLEdit','scrollbars=no,resizable=yes,width=930,height=185')" class="txt_linked"><img src="images/i_edit.gif" width="12" height="12" hspace="2" border="0" align="absmiddle" alt="Edit this code review URL"></a></td>
|
|
|
2263 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"><a href="_remove_code_review_url.asp?cr_id=<%=rsCodeReviewURL("cr_id")%>&pv_id=<%=rsCodeReviewURL("pv_id")%>&rtag_id=<%=parRtag_id%>" onclick="return confirmDelete('this code review URL from Release Manager');"><img src="images/i_delete.gif" width="13" height="12" hspace="2" border="0" alt="Delete this code review URL"></a></td>
|
| 121 |
hknight |
2264 |
<%Else%>
|
| 161 |
iaugusti |
2265 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"></td>
|
|
|
2266 |
<td bgcolor=#f5f5f5 class="form_item" valign="top"></td>
|
| 121 |
hknight |
2267 |
<%End If%>
|
|
|
2268 |
</tr>
|
|
|
2269 |
<%rsCodeReviewURL.MoveNext
|
| 119 |
ghuddy |
2270 |
WEnd
|
| 121 |
hknight |
2271 |
Else%>
|
| 119 |
ghuddy |
2272 |
<tr>
|
| 161 |
iaugusti |
2273 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2274 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2275 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2276 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2277 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
|
|
2278 |
<td bgcolor=#f5f5f5 class="form_item"></td>
|
| 119 |
ghuddy |
2279 |
</tr>
|
| 121 |
hknight |
2280 |
<%End If
|
|
|
2281 |
End If%>
|
|
|
2282 |
</table>
|
|
|
2283 |
<%End If%>
|
| 119 |
ghuddy |
2284 |
|
| 121 |
hknight |
2285 |
</fieldset>
|
|
|
2286 |
<br>
|
|
|
2287 |
<br>
|
| 119 |
ghuddy |
2288 |
<!-- ADDITIONAL NOTES ------------------------------------------------------------------------------------------------------------------->
|
| 121 |
hknight |
2289 |
<fieldset class="fset"><legend class="body_colb"><img src="images/i_additional_notes.gif" width="26" height="20" hspace="4" border="0" align="absmiddle" alt="">Additional Notes</legend>
|
|
|
2290 |
<a name="ADDITIONAL_NOTES"></a>
|
|
|
2291 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
2292 |
<tr>
|
|
|
2293 |
<td align="right" valign="bottom">
|
|
|
2294 |
<%If pageIsEditable Then%>
|
|
|
2295 |
<a href='javascript:;' onClick="MM_openBrWindow('_wform_additional_note.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','AdditionalNotes','resizable=yes,width=600,height=400')" class="txt_linked">New Note<img src="images/i_new.gif" width="13" height="13" hspace="2" border="0" align="absmiddle" alt="Add new note."></a>
|
|
|
2296 |
<%End If%>
|
|
|
2297 |
</td>
|
|
|
2298 |
</tr>
|
|
|
2299 |
</table>
|
|
|
2300 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
|
|
2301 |
<%Set rsQry = OraDatabase.DbCreateDynaset( SQL_Additional_Notes ( parPv_id ), cint(0))%>
|
|
|
2302 |
<%If rsQry.RecordCount < 1 Then%>
|
|
|
2303 |
<tr>
|
| 161 |
iaugusti |
2304 |
<td class="form_field" width="100%" bgcolor=#f5f5f5> </td>
|
| 121 |
hknight |
2305 |
</tr>
|
|
|
2306 |
<%End If%>
|
|
|
2307 |
<%While ((NOT rsQry.BOF) AND (NOT rsQry.EOF))%>
|
|
|
2308 |
<tr>
|
| 161 |
iaugusti |
2309 |
<td width="100%" nowrap bgcolor=#e4e9ec class="body_col">
|
| 121 |
hknight |
2310 |
<%If pageIsEditable Then%>
|
|
|
2311 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_update_additional_note.asp?note_id=<%=rsQry("note_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>','UpdateAN','resizable=yes,width=600,height=400')" class="body_col"><img src="images/i_edit.gif" alt="Edit" width="12" height="12" hspace="3" vspace="3" border="0" align="absmiddle"><%=To_HTML (rsQry("note_title"))%></a>
|
|
|
2312 |
<%Else%>
|
|
|
2313 |
<%=To_HTML (rsQry("note_title"))%>
|
|
|
2314 |
<%End If%>
|
|
|
2315 |
</td>
|
| 161 |
iaugusti |
2316 |
<td width="1" bgcolor=#e4e9ec>
|
| 121 |
hknight |
2317 |
<%If pageIsEditable Then%>
|
|
|
2318 |
<a href="_remove_additional_note.asp?note_id=<%=rsQry("note_id")%>&pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this note');"><img src="images/i_delete.gif" alt="Remove this note." width="13" height="12" hspace="3" border="0"></a>
|
|
|
2319 |
<%End If%>
|
|
|
2320 |
</td>
|
|
|
2321 |
</tr>
|
|
|
2322 |
<tr>
|
| 161 |
iaugusti |
2323 |
<td colspan="2" bgcolor=#f5f5f5 class="sublbox_txt">
|
| 121 |
hknight |
2324 |
<%=NewLine_To_BR( To_HTML ( rsQry("note_body") ) )%><br><br>
|
|
|
2325 |
<span class="rep_small">Last Modified: <%=rsQry("lastmod")%></span>
|
|
|
2326 |
</td>
|
|
|
2327 |
</tr>
|
|
|
2328 |
<tr>
|
|
|
2329 |
<td colspan="2"><img src='images/spacer.gif' width='2' height='2'></td>
|
|
|
2330 |
</tr>
|
|
|
2331 |
<%rsQry.MoveNext
|
|
|
2332 |
WEnd%>
|
|
|
2333 |
</table>
|
|
|
2334 |
</fieldset>
|
|
|
2335 |
<br><br>
|