Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

r.od.akker

About

Username
r.od.akker
Joined
Visits
30
Last Active
Roles
Member

Comments

  • Okay, thanks for your pointers. Since you seem to have done extensive research already, can you maybe tell us what third party would be one of the better solutions. Maybe one for self hosted and one for cloud hosted? The problem, I think, is that w…
  • Even if UTF-16 was intended by SRP_JSON, the output should have been {"Login":[{"Name":"Andr\u00e9"}]} So converting é to \uffffffe9 is invalid anyways, imho.
  • Thank you for your efforts Kevin. The JSON parts works fine now, but we have a new problem now. I created a seperate topic for that; the problem is within SRP_Com.
  • Kevin, my collegue mentioned to me that my example code is incorrect. The code that I posted was actually my second attempt to see if I could manually escape the double quotes. I was meaning to post this code instead: So this code: If SRP_Json(Arr…
  • Yes, I know semver isn't binding, but I thought I'd check here to make sure. That was the only intention of this post :-) So now that I'm sure I can indeed post problems as a seperate issue when I encounter them.
  • We did download the 2.x version, but usually when versions go up a major number this means that there are breaking changes. So the question is basically if version 2.0.1 is still compatible with our older Open Insight. Meanwhile we already found ou…
  • Ok, I now understand where this change comes from. But especially when you intentionally left this 'feature' out, I think it should at least have been mentioned at the change logs. Now we had to downgrade using trial and error to see when this featu…
  • @Kevin: Okay, I see your point, and I do understand the use case now. If I don't make the first row visible before injecting my new data, the invisible property is also inherited, so all my new rows will be invisible. @AusMarkB: That's what my coll…
  • Well, if you use Clear with option 0, it leaves just one blank record. I can't think of a use case when you want to clear all your data, but keep properties like MergeCells and FontColor for the first (now empty) row, which will then be applied to …
  • Nevermind, FirstWeekOfYear should do the job. Unfortunately I can't delete this post :-)
  • In a way it's comforting to see that we're not the only one with these issues :-). My colleague actually also suggested the way you are using Mark. I'm not sure whether the problem is completely solved now, or it just crashes after 20 times double …
  • Thank you for your suggestion Don. We changed the qualifier for the Report Table to asynchronous and now it seems to work perfectly. I don't even have to use the Post_Event. I just use the End_Dialog in the event handling.
  • It's a windows level crash. Sometimes immediately, sometimes after a couple of double clicks. Our guess is that the window is being killed before all events are processed or closed properly. But we have no idea how to further investigate this.
  • Well I must admit that I haven't put a lot of research in this problem, because if HTTP_X_AUTHORIZATION works, that's fine with me :-). I did see some posts on stackoverflow that suggest that it may be caused by apache modules, and it can be bypasse…
  • It's not coming through, so I switched to HTTP_X_AUTHORIZATION. You were right; I didn't read that quick start guide, so I understand now why this registry approach was implemented. But from my point of view I still think it would make more sense t…
  • I also found out today that this AdditionalValues registry setting is not only required on the machine that runs the CGI, but also on the "server" machine. I tried to deploy my application from local development to 'company' development, but again I…
  • Nevermind, found it. I think it's usefull though to add HTTP_X_AUTHORIZATION to the wiki Registry Configuration article. The code is prepared for this header, but it isn't accepted in this configuration.
  • So if I'm correct, then you would first get the body, decode the JSON, delete or modify the items, encode the JSON again, put it back in the body, and then let the normal flow proceed? I have thought about this, but indeed I was missing the setter f…
  • Stubburn as I am, I implemented this in HTTP_RESOURCE_SERVICES and HTTP_JSON_SERVICES. It seems to be working ok. Also I found out that it probably already worked from the beginning, but because I was returning ID fields (which have pos 0) my ItemRe…
  • Another option for you to consider is to create a symbolic column that helps with some of the normalization of your data...or you can use it to create a partial JSON string so that you do not have to do this in your end point API code as I originall…
  • To begin at the bottom: could you maybe post your code so I have an example to work with? I was actually going the same route, although my developer-performance-emotion says it's a pity to undo stuff that was done by the code before. But I cannot ex…
  • I think I am a bit further in finding the problem. It seems to me that my apache2 server is sending the data to the CGI script urlencoded. Because when I do exactly the same post to request.bin, I see the correct data. I guess it's normal that the …
  • The SetUTF8() function does not permanently change the UTF8 flag for OpenInsight, if that is what you are asking. It only affects the current session. No, that's not what I ment entirely. I was wondering if the SetUTF8 mode only applies to the htt…
  • Another question about this encoding issue; if I set SetUTF(8), will this only affect the data that is going through the web server? Or will this also assume that data that is stored in tables is in UTF-8? How can I check in what encoding Open Insi…
  • I haven't tried all options, but to answer your questions: 1+2) PHP doesn't decode json nicely with ISO encoding and 'high ascii'. So when I UTF-8 encode the entire string, then it decodes perfectly. But somehow I can't get this to work the other w…
  • Don, while you're at the rewriting issue; i changed my Apache rewrite rules to this: RewriteEngine on RewriteBase / RewriteRule ^v1/(.*)$ /cgi-bin/OECGI4.exe/$1 The wiki links to a blog article which has this rule: RewriteRule ^ap…
  • Yes, copying from the context menu still works. And then CTRL+V works as well, so it's really the copy function that doesn't work anymore. I do think that the problems occurred more often in the previous editor. The OI version is 9.4.0.
  • Thank you for your reply. We upgraded the editor to version 2.9.1 yesterday, but the problem still exists. Is there another option that you know of?
  • I mean SRP editor where i say edit table of course :-)