[Mono-bugs] [Bug 44271][Cri] New - System.Web.UI.WebControls.Adrotator or Adrotator component not working

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 6 Jun 2003 20:25:45 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by shekharg@cmil.com.

http://bugzilla.ximian.com/show_bug.cgi?id=44271

--- shadow/44271	Fri Jun  6 20:25:45 2003
+++ shadow/44271.tmp.18211	Fri Jun  6 20:25:45 2003
@@ -0,0 +1,60 @@
+Bug#: 44271
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 8.0
+OS Details: RedHat 8.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: shekharg@cmil.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Summary: System.Web.UI.WebControls.Adrotator or Adrotator component not working
+
+Description of Problem: The adrotator component 
+(System.Web.UI.WebControls.Adrotator) of Mono ASP .Net is not working as 
+expected. It is always showing the first advertisement specified in the 
+XML file. It never shows any other advertisement specified in the XML file 
+even after subsequent refreshes (web browser refresh). 
+
+
+Steps to reproduce the problem:
+
+1. Modify the web_adrotator.xml file found in the test directory of XSP 
+server (http://www.go-mono.com/archive/xsp-0.4.tar.gz) installation to the 
+following:
+
+------------------------------------------------------------------
+<Advertisements>
+<Ad>
+<AlternateText>Dancing Monkey</AlternateText>
+<ImageUrl>http://www.ximian.com/images/index/button-top.gif</ImageUrl>
+<NavigateUrl>http://www.ximian.com</NavigateUrl>
+</Ad>
+<Ad>
+<AlternateText>PCQuest</AlternateText>
+<ImageUrl>http://www.pcquest.com/images/pcq_logo.gif</ImageUrl>
+<NavigateUrl>http://www.pcquest.com</NavigateUrl>
+</Ad>
+</Advertisements>
+---------------------------------------------------------------------------
+
+2. Now access the page web_adrotator.aspx using the following URL: 
+http://<ip-address>:8080/web_adrotator.aspx
+
+3. Try refreshing the page several times 
+
+Actual Results: The Dancing Money Advertisement is always shown even after 
+subsequent refreshes
+
+Expected Results: The Dancing Money as well as the PCQuest Advertisement 
+should show up randomly. 
+
+
+Additional Information: The web_adrotator.aspx file and the above 
+mentioned web_adrotator.xml file work perfect on Windows with IIS 5 and 
+Microsoft .Net Runtime.