Browse Source

Merge remote-tracking branch 'origin/kenric' into frank

frogsoftware 1 year ago
parent
commit
6477149359

+ 4 - 0
InABox.Server/RPC/Handlers/Validate.cs

@@ -28,6 +28,10 @@ namespace InABox.Rpc
                     CredentialsCache.RefreshSessionExpiry(parameters.SessionID);
                     reLogin = true;
                 }
+                else
+                {
+                    Logger.Send(LogType.Information, "", $"{parameters.SessionID} re-logging failed!");
+                }
             }
 
             if (user is null)

+ 2 - 0
inabox.wpf/DigitalForms/DigitalFormReportGrid.cs

@@ -168,6 +168,8 @@ namespace InABox.DynamicGrid
                 {
                     menu.AddItem($"{layout.Code}: {layout.Description}", null, layout, AddLayout);
                 }
+                menu.AddSeparatorIfNeeded();
+                menu.AddItem("Create blank report", null, () => base.DoAdd());
                 menu.IsOpen = true;
             }
         }

+ 1 - 1
inabox.wpf/DynamicGrid/DynamicManyToManyGrid.cs

@@ -335,7 +335,7 @@ namespace InABox.DynamicGrid
             var result = new TManyToMany();
             if (Item != null)
             {
-                var prop = GetOtherLink(result);
+                var prop = GetThisLink(result);
                 prop.ID = Item.ID;
                 prop.Synchronise(Item);
             }