google-code-export / hfm-net

Automatically exported from code.google.com/p/hfm-net
1 stars 0 forks source link

Folding client 7.4.0 breaks link to HFM 0.9.1 #292

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Install FAH client 7.4.0 over working 7.3.6
2.
3.

What is the expected output? What do you see instead?
HFM should work as before. Instead, client is greyed out (no data) or missing 
completely.

What version of the product are you using? On what operating system?
0.9.1 on Windows Vista

Please provide any additional information below.
This is for the Local client. Remote links not yet tested.

Original issue reported on code.google.com by da...@coton.me.uk on 12 Jan 2014 at 1:32

GoogleCodeExporter commented 9 years ago
Suggested patch (untested):

Index: src/HFM.Client/MessageCache.cs
===================================================================
--- src/HFM.Client/MessageCache.cs  (revision 699)
+++ src/HFM.Client/MessageCache.cs  (working copy)
@@ -170,6 +170,8 @@
          buffer.SubstringBuilder(startIndex, message.Value, endIndex - startIndex);
          // replace PyON values with JSON values
          message.Value.Replace(": None", ": null");
+         message.Value.Replace(": True", ": true");
+         message.Value.Replace(": False", ": false");

          // set the index so we know where to trim the string (end plus footer length)
          int nextStartIndex = endIndex + PyonFooter.Length;

Original comment by calxa...@gmail.com on 20 Jan 2014 at 2:41