Giter Site home page Giter Site logo

Comments (6)

tmcgee avatar tmcgee commented on July 18, 2024

@bsnider Thanks for reporting this. I can confirm seeing the same thing in Chrome and using my phone. I just submitted a [PR](cmv/cmv-app#730 for CMV] that I believe would help address with this issue.

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 18, 2024

@bsnider I've tested this locally with the code in the PR and it doesn't appear to fix this issue. Something else is going on. Investigating...

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 18, 2024

This doesn't appear to be related to the pane open or closed. widgetManager is undefined because the code is failing silently on this method call to get the appConfig from WAB. This indicates 2 things: 1) more error handling is needed to report the error and 2) dive deeper into WAB to identify what it apparently does so different with mobile that is causing this call to fail.

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 18, 2024

@bsnider

The problem is lang.clone(this.appConfig) is failing in the getAppConfig method of WAB's ConfigManager but only when WAB detects it is running in mobile.

Current solution appear to be to change the references to cm.getAppConfig() on line 80 and line 86 to simply be cm.appConfig. There may be some residual effects from this but none detected so far...

from cmv-wab-widgets.

bsnider avatar bsnider commented on July 18, 2024

@tmcgee Thank you very much for looking into this!

from cmv-wab-widgets.

tmcgee avatar tmcgee commented on July 18, 2024

fixed in b1d25b3

from cmv-wab-widgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.