cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Git Backup Extension: Possible issue, Import target baseURL missing protocol

nahuel
14-Alexandrite

Git Backup Extension: Possible issue, Import target baseURL missing protocol

Hi there!

 

I might have found an issue in the Git Backup Extension

 

Applies to

Tested on ThingWorx 8.4 (Postgres; Installed from Manufacturing Apps 8.4 installer)

 

Description

  • When pressing the "Import Extension" button nothing happens. No message is displayed in the panel in the lower part of the screen.
  • ApplicationLog file shows the following messages:
    • 2020-07-24 17:40:38.453+0000 [L: ERROR] [O: c.t.r.ExtensionsExport] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-8] Import target baseURL missing protocol [about:///Thingworx/ExtensionPackageUploader?purpose=import&validate=false]
    • 2020-07-24 17:40:38.465+0000 [L: ERROR] [O: c.t.r.ExtensionsExport] [I: ] [U: Administrator] [S: ] [T: http-nio-8080-exec-8] Error in ContentLoader.postMultiPart: check your inputs! URI does not specify a valid host name: about:///Thingworx/ExtensionPackageUploader?purpose=import&validate=false
  • The importTargets infotable property of the ExtensionImportTargets Thing has the followinfg valueScreenshot from 2020-07-24 15-52-54.png
    • That is, the row[0] baseURL field value is "about:///ThingWorx"

Solution

The responsible of setting that wrong baseURL value is the exp_GetBrowserURL expression.

So, I hardcoded it to the string "http://localhost:8080" and it worked fine. 

Screenshot from 2020-07-24 17-57-46.png

I believe there might be a general better solution. So feel free to comment.

 

Regards,

Nahuel

 

0 REPLIES 0
Top Tags