Skip to main content
1-Visitor
March 10, 2020
Question

Issue trying to import Frame Layout extension

  • March 10, 2020
  • 2 replies
  • 3256 views

Hi,

having trouble trying to import the Frame Layout extension to one of our Thingworx servers. We have a number of test servers where I was able to import the extension without any issue. However, when I try to import it to our 'live' server it does not import and shows the following error in the logs.

The extension 'FrameLayout_ExtensionPackage' version [1.0] must match the "major.minor.patch" pattern containing only integer values. Assuming a zero value for patch number. Please fix this in the metadata.xml file of the extension.

It passes the validation test prior to trying to import, but then fails on the actual import. All the servers are running the same version of Thingworx ( 8.2.8-b856). 

I've seen previous posts refer to the platform settings json file, but all of ours are the same (None of them include the "ExtensionPackageImportPolicy". 

 

Would anyone have any thoughts on what might be happening here, or ways around this?

TIA,

K

 

Does anyone have any idea

2 replies

khayes11-VisitorAuthor
1-Visitor
March 10, 2020

The full list from the logs is:

Starting entity import of /ThingworxStorage/extensions/temp/85-FrameLayout_Extension_v1_0_57131ee2-49d5-4a92-8c01-0a38e4c730ef/85-FrameLayout_Extension_v1_0/metadata.xml

The extension 'FrameLayout_ExtensionPackage' version [1.0] must match the "major.minor.patch" pattern containing only integer values. Assuming a zero value for patch number. Please fix this in the metadata.xml file of the extension.

Deprecated extension structure: The element, FrameLayoutDefaultStyle, was found in metadata.xml and is a deprecated pattern for defining StyleDefinitions in an extension.
Please refer to Project and Extension File Structure in the ThingWorx Extension Development Guide for more information.

Successfully added for import /ThingworxStorage/extensions/temp/85-FrameLayout_Extension_v1_0_57131ee2-49d5-4a92-8c01-0a38e4c730ef/85-FrameLayout_Extension_v1_0/metadata.xml

Export file missing version information. No migration will be performed.

 

17-Peridot
March 11, 2020

Share the extension.zip file.

khayes11-VisitorAuthor
1-Visitor
March 11, 2020

Hi,

thanks so much for doing that. your fix seemed to remove that version error, but unfortunately it still didn't import.

However, I think I now know the reason why, as the widget relies on the 'FrameLayoutDefaultStyle' and that style is not present on the server.

 

Odd thing though is it is on all our other servers. I tried exporting the style from one to import the server with the problem, but it wouldn't let me import the style, and gave me the log entry warninigs below:

  • Cannot Create Extension Objects : Ignoring Imported Object StyleDefinition [FrameLayoutDefaultStyle],
  • Ignoring StyleDefinition [FrameLayoutDefaultStyle]

Not sure what is going on there. If I just create a new style of my own on a different server that imports with no issues.

Thanks again,

K

 

 

Community Manager
March 20, 2020

Hi @khayes1.

 

If you have resolved your issue, please feel free to post it here for the benefit of others with the same problem.

 

Regards.

 

--Sharon

khayes11-VisitorAuthor
1-Visitor
March 22, 2020

Was unable to resolve the issue. In the end we removed use of the widget and used a different widget (Responsive Tabs) to achieve the same effect.

K