diff --git a/BeWo/Security/EncryptionUtils.cs b/BeWo/Security/EncryptionUtils.cs index f993936ad..6b792a45f 100644 --- a/BeWo/Security/EncryptionUtils.cs +++ b/BeWo/Security/EncryptionUtils.cs @@ -34,6 +34,10 @@ namespace BeWo.Security public static string DecryptString(string stringToDecrypt) { + if (String.IsNullOrEmpty(stringToDecrypt)) + { + return ""; + } var rc2Csp = new RC2CryptoServiceProvider(); var decryptor = rc2Csp.CreateDecryptor(_Rc2Key, _Rc2Iv); diff --git a/BeWo/View/Detail/MandatorView.xaml.cs b/BeWo/View/Detail/MandatorView.xaml.cs index fe166deeb..f6f4c55c4 100644 --- a/BeWo/View/Detail/MandatorView.xaml.cs +++ b/BeWo/View/Detail/MandatorView.xaml.cs @@ -29,6 +29,12 @@ namespace BeWo.View.Detail { GroupOwnChatSettings.Visibility = Visibility.Collapsed; } + +#if DEBUG + var url2 = ServiceFacade.DoOperationsServiceSync(s => s.GetOwnChatSettingsUrl()); + HyperlinkOwnChatSettings.NavigateUri = new Uri(url2); + GroupOwnChatSettings.Visibility = Visibility.Visible; +#endif } public override bool IsDirty diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj b/BeWoPlanerMobil/BeWoPlanerMobil.csproj index be1fa9e67..5fa863ac8 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj @@ -595,7 +595,7 @@ - True + False False 8808 / diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user b/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user index e244fab95..5918dadf4 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj.user @@ -9,7 +9,7 @@ Debug|Any CPU - ShowAllFiles + ProjectFiles 600 MvcControllerEmptyScaffolder root/Controller diff --git a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml index 915048e18..8aff2556e 100644 --- a/BeWoPlanerMobil/Views/Shared/_Layout.cshtml +++ b/BeWoPlanerMobil/Views/Shared/_Layout.cshtml @@ -17,22 +17,22 @@ - + - - - - + + + + - - - - - - - - + + + + + + + +