[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: |
Erik Pfeifle |
Subject: |
[Pnet-developers] [bugs #9366] ResourceManager: fall back on neutral resources failed |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[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/04 at 11:11
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Open
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[])
File Attachments
-------------------
-------------------------------------------------------
Date: Thu 06/17/04 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/
- [Pnet-developers] [bugs #9366] ResourceManager: fall back on neutral resources failed,
Erik Pfeifle <=