[Mono-bugs] [Bug 491531] New: Settings in Web.config not being read
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Apr 2 10:42:39 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=491531
Summary: Settings in Web.config not being read
Classification: Mono
Product: Mono: Runtime
Version: 2.4.x
Platform: x86-64
OS/Version: openSUSE 11.1
Status: NEW
Severity: Major
Priority: P5 - None
Component: io-layer
AssignedTo: lupus at novell.com
ReportedBy: gwatson at opal.co.uk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Created an attachment (id=283702)
--> (http://bugzilla.novell.com/attachment.cgi?id=283702)
A zip file containing the published site that I have been copying to the
webserver and the VS 2008 project I used to create the test case.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.8)
Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)
Settings information accessed via Properties.Settings or
Properties.Settings.Default are not updated when the Web.config file is
updated.
Whilst the settings not being updated real-time (whilst the site is running) is
not expected, restarting the site (apache or xsp) should cause Settings object
to reflect the contents of the Web.config.
Reproducible: Always
Steps to Reproduce:
1. Open the attached zip file and extract the webconfigtest-published archive
to a webserver.
2. Access the site and you should see the words "Hello" displayed twice.
3. Stop the website (I used XSP2 and mod_mono for testing to be sure before
submitting this).
4. Edit the Web.config file and change the "WebConfigTestSetting" value to
something else (I chose "Hello World").
5. Start the site under your chosen server.
6. Verify what the page displays.
5. Start the
Actual Results:
//1st Run
Default Value = Hello
web.config Value = Hello
//2nd Run, After edit of web.config
Default Value = Hello
web.config Value = Hello
Expected Results:
//1st Run
Default Value = Hello
web.config Value = Hello
//2nd Run, After edit of web.config
Default Value = Hello Gareth
web.config Value = Hello Gareth
I am going to put this down as Major as for us not being able to change the
values of the site via the Web.config is a real problem. However, I realise
this is a subjective position.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list