Browse Source

2007-04-27 Atsushi Enomoto <[email protected]>

	* DefaultWsdlHelpGenerator.aspx :
	  ProfileViolations could be null, when there is no Binding. So,
	  don't omit null check.

	  Stop your bad habit of missing ChangeLog. Former changes (as long
	  as logged) can be seen in ../../ChangeLog.


svn path=/trunk/mono/; revision=76377
Atsushi Eno 18 years ago
parent
commit
ffe808f2f8
2 changed files with 9 additions and 1 deletions
  1. 8 0
      data/net_2_0/ChangeLog
  2. 1 1
      data/net_2_0/DefaultWsdlHelpGenerator.aspx

+ 8 - 0
data/net_2_0/ChangeLog

@@ -0,0 +1,8 @@
+2007-04-27  Atsushi Enomoto  <[email protected]>
+
+	* DefaultWsdlHelpGenerator.aspx :
+	  ProfileViolations could be null, when there is no Binding. So,
+	  don't omit null check.
+
+	  Stop your bad habit of missing ChangeLog. Former changes (as long
+	  as logged) can be seen in ../../ChangeLog.

+ 1 - 1
data/net_2_0/DefaultWsdlHelpGenerator.aspx

@@ -1644,7 +1644,7 @@ function clearForm ()
 	<p class="label">Web Service Overview</p>
 	<%=WebServiceDescription%>
 	<br/><br/>
-	<% if (ProfileViolations.Count > 0) { %>
+	<% if (ProfileViolations != null && ProfileViolations.Count > 0) { %>
 		<p class="label">Basic Profile Conformance</p>
 		This web service does not conform to WS-I Basic Profile v1.1
 	<%