app.d5c5405e0e32e7d7d326.js:7 TypeError: Cannot read properties of undefined (reading 'startsWith')
at r.config (app.d5c5405e0e32e7d7d326.js:1:53176)
at fn.get (app.d5c5405e0e32e7d7d326.js:7:26678)
at fn.evaluate (app.d5c5405e0e32e7d7d326.js:7:27828)
at r.config (app.d5c5405e0e32e7d7d326.js:7:29687)
at r.<anonymous> (app.d5c5405e0e32e7d7d326.js:7:1049892)
at e._render (app.d5c5405e0e32e7d7d326.js:7:35314)
at r.a (app.d5c5405e0e32e7d7d326.js:7:68190)
at fn.get (app.d5c5405e0e32e7d7d326.js:7:26678)
at fn (app.d5c5405e0e32e7d7d326.js:7:26596)
at app.d5c5405e0e32e7d7d326.js:7:68204
Iām pretty sure that narrows down the error to a line from a recent PR (#2094), so thatās consistent with this error being new even if the clack card didnāt change.
I donāt see why the oh-clock-card should be returning an undefined value for componentType but maybe @florian-h05 can work it out.
No your PR isnāt the problem, I just meant that your PR is the recent change that made the problem in the clock card evident.
Looking through the dev logs, the error is, indeed in the clock card. It turns out it is not the clock card componentType, however, that is causing the error, but the cardās call of the oh-clock That returns an undefined componentType.
vue.esm.js:628 [Vue warn]: Error in mounted hook: "TypeError: Cannot read properties of undefined (reading 'startsWith')"
found in
---> <OhClock> at src/components/widgets/system/oh-clock.vue
<F7Col>
<F7Row>
<F7CardContent>
<F7Card>
<OhClockCard> at src/components/widgets/standard/oh-clock-card.vue
<GenericWidgetComponent> at src/components/widgets/generic-widget-component.vue
<F7Block>
<GenericWidgetComponent> at src/components/widgets/generic-widget-component.vue
<F7Col>
<F7Row>
<F7Block>
<F7PageContent>
<F7Page>
<WidgetEdit> at src/pages/developer/widgets/widget-edit.vue
<F7View>
<F7App>
<App> at src/components/app.vue
<Root>
It looks to me that it is because the card calls oh-clock with a context that doesnāt match the standard form of the context in other cases:
Is there a way to include the fix manually? Or do I have to wait for the next Milestone Release? I am using the clock widget on 3 Displays and it is very important for my setup.
Does Milestone Release 4.1.0-M1 work with the clock widget or do I have to role back to the latest stable release?