チェンジセット 1339 (default)


以下の違いを無視:
日時:
2017/08/03 11:52:17 (7年前)
更新者:
hizuya@…
ログメッセージ:
  • fcsoft.silverfrost/web の定義が無い場合、Hosting でホストした Web アプリーケーション内で例外が発生すると、HTTP を処理するワーカープロセス内でハンドルされない例外 (Utility.Format から参照される、 WebUtility の static メンバー初期化時に ConfigurationLoader.GetSection を使用して fcsoft.silverfrost/web を読み込んでいるが、その際に未定義による例外が投げられている) が発生する問題を修正。
ファイル:
1個の更新

凡例:

未変更
追加
削除
  • framework/trunk/WebLibrary/Sources/WebManager.cs

    r1127 r1339  
    147147        private static WebSection InitializeConfiguration() 
    148148        { 
    149             return ConfigurationLoader.GetSection<WebSection>(WebSection.SectionName); 
     149            return ConfigurationLoader.GetSection<WebSection>(WebSection.SectionName, false) ?? new WebSection(); 
    150150        } 
    151151    } 
詳しい使い方は TracChangeset を参照してください。