Resolved bugs
Release date: | Friday, May 1, 2009 |
---|---|
C1 Version: | Composite C1 1.2 SP1 (1.2.3408.24124)... |
Description | Using code like this on a custom asp.net page: using (DataScope dataScope = new DataScope(DataScopeIdentifier.Public)) { // ... code here will run in CultureInvariant data scope } will not set the "data language" to the sites default language, and any queries against localized data types will yield no results. In 1.2 Sp1 the default language will implicitly be set, when setting a new DataScope, having no existing language set. |
Known work around: | Use the following code: using (DataScope dataScope = new DataScope(DataScopeIdentifier.Public, new CultureInfo("en-US"))) { // ... code here will run in CultureInvariant data scope } where "en-US" is the language you desire data from. |