[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #9366] ResourceManager: fall back on neutral r
From: |
Gopal.V |
Subject: |
[Pnet-developers] [bugs #9366] ResourceManager: fall back on neutral resources failed |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9366] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Fri 06/18/2004 at 16:04 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fixed in CVS on 18th June 2004
/**************************************************************************/
[bugs #9366] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9366>
Project: DotGNU Portable.NET
Submitted by: Erik Pfeifle
On: Thu 06/17/2004 at 11:11
Category: None
Severity: 5 - Average
Item Group: None
Resolution: Fixed
Assigned to: None
Status: Closed
Summary: ResourceManager: fall back on neutral resources failed
Original Submission: Fall back on neutral culture's resources, which are
located in the main assembly, fails in pnet 0.6.6.
test sample:
There 3 resources (Text1, Text2 and Bool) wihich values are located in the main
assembly. Only the Text1 resource has a different value located in the de-DE
satellite assembly.
CultureInfo is set to de-DE.
With MS.NET the program gets the resource values for Text2 and Bool from the
main assembly.
see attached console output in TestResource.txt
With pnet the fall back on neutral resource values of the main assembly fails.
The method GetString(..) returns an empty string if the the specified resource
is not in the satellite assembly.
The method GetObject(..) throws a null pointer exception if the the specified
resource is not in the satellite assembly.
console output with pnet:
Resource Manager>>GetString(Text1): Hallo (Satellite Assembly)
Resource Manager>>GetString(Text2):
Uncaught exception: System.NullReferenceException: The value 'null' was found
where an instance of an object was required at
TestResource.Class1.Main(String[])
Follow-up Comments
------------------
-------------------------------------------------------
Date: Fri 06/18/2004 at 16:04 By: t3rmin4t0r
Fixed in CVS on 18th June 2004
File Attachments
-------------------
-------------------------------------------------------
Date: Thu 06/17/2004 at 11:11 Name: TestResource.zip Size: 20KB By: kirep
source file, executable, de-DE satellite assembly, console output of win32
http://savannah.gnu.org/bugs/download.php?item_id=9366&item_file_id=1409
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9366>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/