Skip to main content
9-Granite
June 1, 2026
Question

Mashup Functions Not Storing Changes

  • June 1, 2026
  • 3 replies
  • 81 views

Mashup Expression and Validator functions are not reliably storing changes to code as of Friday 5/29

I open the function, make some change to the code within, click Done button to close the function editor, and when I reopen the editor whatever change I made has disappeared, reverting back to the previous value. 

This includes a brand new function created to test this bug. A new expression or validator created with 

Output = "test"

will be simply a blank window after closing and reopening.

I first discovered this on Friday 5/29 and again today and have tested and found the same bug in both Firefox and Chrome with the latest versions of both. Clearing browser cache and restarting had no effect. Closing all active edits in Thingworx composer and returning had no effect.

This also occurs in a new, blank mashup as well as existing complex mashups. 

3 replies

16-Pearl
June 1, 2026

Works for me (TWX10.1 with firefox).

From what you are describing it must be a frontendside issue (as changing expression will not call a backend service). 

The only thing coming to mind is that you may have imported an extension on thursday/friday, containing a widget? which might cause the frontendcode to be broken in some way?

Questions:

  • Was there any new extension imported?
  • Could you open Browser DevTools (F12) and see if it logs any error when opening mashup builder and/or editing an expression
9-Granite
June 3, 2026

Thanks for responding, its not consistent and I haven’t seen it happen since shortly after I made that post.

There were no new extensions added recently prior to the first time this occurred. 
I did check the browser tools and there were some errors showing but nothing I could identify as the culprit and I couldn’t spare the time to really get into it.

I’ll revisit this if it returns in the future

19-Tanzanite
June 3, 2026

I can confirm I observed this in ThingWorx 10.0.0, exactly in the same irregular way. It was an issue for us for 2 days, not being able to edit the Expressions, but after that it vanished when using the same mashup and it never happened since that time. I have no clue what triggered this.

Support
June 11, 2026

Hello ​@CC_13244540,

I hope you are doing well!

I tested this scenario internally for ThingWorx 10.0.0 and did not observe the issue on the latest versions of both Microsoft Edge and Google Chrome.

If you encounter this issue again, please let the community know on this same post along with any additional details (such as ThingWorx version, exact steps to reproduce (if the issue is consistently reproducible) or screen recordings ). This will help our community to investigate further.

 

9-Granite
July 14, 2026

This issue has come and gone a few times since my initial post and is again occurring now.

Any alteration made in an Expression or Validator function disappears when the function editor window is closed. This happens both when working in an existing mashup (which is how I discover it is occurring) and in a brand new, empty mashup. 

The screenshot I am attaching is of the expression I was just working on. I opened the expression to add the condition

!isNan(variance)

The cut off isNan function indicates that somehow only half of the edit was saved. After this initially occured, no other changes are saved.

I am also attaching a screen captured video demonstrating this issue in a newly created mashup where no edit in a new validator or expression is preserved>

I am using  ThingWorx 10.0.3-b706 and Firefox 152.0.6 (64-bit).
I had the issue a few hours ago and started to make this post before seeing that a Firefox update was available while checking the version. After the update the issue had been cleared but has now resurfaced.

Per a previous reply I checked the browser logs and I see this error message when I open the expression editor in the blank mashup I created

Uncaught (in promise) TypeError: can't access property "init", this.codemirrorDebugProcessor is undefined
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    AbstractEditor https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    promise callback*e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    Qr https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    setTimeout handler*m/Pf< https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    Qr https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    pc https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    t https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    Go https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    i https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    u https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    s https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    setTimeout handler*m/Pf< https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    n https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    f https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    t https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    call https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    bind https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    bind https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    r https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    ms https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    promise callback*e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    add https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    _show https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:59
    _update https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:59
twx-details-bundle-10.0.3-1775675691.js:1:327917

 

 

 


As I type in the Expression editor further errors are appearing in the browser debugger:

 

Uncaught TypeError: can't access property "messages", r is undefined
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    r https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    ms https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    i https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    u https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    s https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    setTimeout handler*m/Pf< https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    n https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    f https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    ve https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Li https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Ei https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    wi https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Cn https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    wi https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Oi https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    poll https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    init https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    he https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    init https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Qi https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Ns https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    Ns https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    ol https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/misc-bundle-10.0.3-1775675691.js:1
    AbstractEditor https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    promise callback*e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    Qr https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    setTimeout handler*m/Pf< https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    Qr https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    pc https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    t https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    Go https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    i https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    u https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    s https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    setTimeout handler*m/Pf< https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    s https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    setTimeout handler*m/Pf< https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    n https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    f https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-details-bundle-10.0.3-1775675691.js:1
    t https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    call https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    bind https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    bind https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    r https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    ms https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-bundle-10.0.3-1775675691.js:30
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    promise callback*e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    e https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/twx-core-bundle-10.0.3-1775675691.js:1
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    attached https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    add https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:87
    _show https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:59
    _update https://adti-dev.cloud.thingworx.com/Thingworx/Composer/scripts/vendor-aurelia-bundle-10.0.3-1775675691.js:59
4 twx-details-bundle-10.0.3-1775675691.js:1:190557

 

9-Granite
July 14, 2026