1.7.12a install and XML issues

44 views
Skip to first unread message

Joseph Kabariti

unread,
Dec 3, 2020, 5:23:03 PM12/3/20
to i2b2 Install Help

Hi all,

 Has anyone encountered an issue with the metadata XML box? We’ve installed i2b2 1.7.12a, and our ontology works fine. However, when we try to load concepts with C_METADATAXML populated (for enumerated choices) we keep getting this error:


This error doesn’t show up on the older versions of i2b2 with the same XML data, so we’re not sure why it’s returning this. The logs (console and wildfly server) show no further detail, so I’m kind of at a loss on how to debug this further.

 

We’d appreciate any help we can get.


Joseph Kabariti

Senior Research Informatics Software Engineer

 

Weill Cornell Medicine

Information Technologies & Services

575 Lexington Ave, 3rd Floor, Hyperlink

New York, NY 10022

 

T: (646) 962-3399

C: (646) 476-1049

jok...@med.cornell.edu


Joseph Kabariti

unread,
Dec 4, 2020, 9:16:25 AM12/4/20
to i2b2 Install Help
Clearly, I should have tested to make sure the screenshot goes through. Here is the screenshot


The error message is "A problem was encounter while loading the html for the value type!".

jerroda...@gmail.com

unread,
Jan 27, 2021, 9:39:42 PM1/27/21
to i2b2 Install Help
We are also experiencing the same issue after a somewhat recent update to this version that was not previously present. Here is the error message on some lab values that only appears to happen in certain browsers (Safari and any chromium-browser): 

Screen Shot 2021-01-27 at 8.38.52 PM.png

Any help on this would be much appreciated if you've experienced a similar issue as it ruins a lot of functionality for our users. 

Thanks, 

Jerrod

Jeff Klann

unread,
Jan 28, 2021, 5:39:05 PM1/28/21
to i2b2 Install Help
This has been reported by one other user but I cannot replicate it. Perhaps you can give more information?

Also, you might try this commit that fixes a problem with HTTP/2 for lab values: https://github.com/i2b2/i2b2-webclient/pull/12/commits/93a46d5bfcd8a93444a7e7478597317e17a13217 ... But I am not sure why it would only happen on some browsers...

Thanks,
Jeff 

Joseph Kabariti

unread,
Jan 28, 2021, 5:52:18 PM1/28/21
to i2b2 Install Help
Hi Jerrod,

I was the one who reported the issue.  I assumed that the fix was pushed to the code base, but in case it wasn't, I have denoted it below.

Nich Wattansin was the one who suggested this fix, and it seems to have worked:

For now, there are two paths you can take to fix this:

 

  1. The issue is fixed in the current Github repository. You can go to https://github.com/i2b2/i2b2-webclient/tree/master/js-i2b2/cells/CRC/ModLabValues and download & replace 7 javascript files in your web client. They are all named CRC_view_{TYPE}.js, such as CRC_view_ENUM.js. The files are:
  1. CRC_view_ENUM.js
  2. CRC_view_GENOTYPE.js
  3. CRC_view_LRGSTR.js
  4. CRC_view_NODATATYPE.js
  5. CRC_view_NUMBER.js
  6. CRC_view_PPV.js
  7. CRC_view_STR.js
  1. You can manually find this line in your webclient/js-i2b2/cells/CRC/ModLabValues/ folder for the 7 files, and replace it:
    Find this:          if (response.transport.statusText=="OK") {
    Replace with:  if (response.transport.status == 200) {

 

You can try out #2 with only your CRC_view_ENUM.js file for now (Line 35), but you'll want to make the change for all the value type files. This should fix your issue.

 

Hope this helps,


Joseph


jerroda...@gmail.com

unread,
Jan 28, 2021, 6:45:03 PM1/28/21
to i2b2 Install Help
Hi Jeff and Joseph, 

Thanks a lot for the quick follow-up on this! I'm glad it has been worked through already. We'll explore the solutions and let you know if that does not work. 

Best, 

Jerrod

Michael Horvath

unread,
Jan 29, 2021, 9:06:49 AM1/29/21
to i2b2-ins...@googlegroups.com
Mike merged the pull request to master in December (https://github.com/i2b2/i2b2-webclient/pull/12).  I think the changes will be in the next release, but I'm not sure what the schedule is.

From: i2b2-ins...@googlegroups.com <i2b2-ins...@googlegroups.com> on behalf of jerroda...@gmail.com <jerroda...@gmail.com>
Sent: Thursday, January 28, 2021 6:45 PM
To: i2b2 Install Help <i2b2-ins...@googlegroups.com>
Subject: [EXTERNAL] Re: 1.7.12a install and XML issues
 
Also, you might try this commit that fixes a problem with HTTP/2 for lab values: https://github.com/i2b2/i2b2-webclient/pull/12/commits/93a46d5bfcd8a93444a7e7478597317e17a13217 [github.com] ... But I am not sure why it would only happen on some browsers...

--
You received this message because you are subscribed to the Google Groups "i2b2 Install Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to i2b2-install-h...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/i2b2-install-help/8d923cec-b882-43a0-affb-02fd62c92592n%40googlegroups.com [groups.google.com].
Reply all
Reply to author
Forward
0 new messages