Menu not expanding

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
itsaf
Posts: 3
Joined: 05 Jan 2017, 10:11

06 Sep 2017, 17:11

When click on item, in left menu in Ultima theme, this is not expanding and submenu is not showing. The problem seems to be because of trigger [@children] not refresh after value it's changed. Issue appear when run downloaded Ultima with serve or build. Ultima menu expanding it's working in Demo Site for Ultima on internet. Ultima package version is 4.2.0 .

itsaf
Posts: 3
Joined: 05 Jan 2017, 10:11

07 Sep 2017, 11:12

Issue at menu appear because an exception in Dashboard at p-schedule. After comment in dashboard.html p-schedule line, menu is expanding when click on item.
Exception at p-schedule :
ERROR TypeError: Cannot read property 'url' of undefined
at Function.JsonFeedEventSource.parse (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:16322:21)
at Object.parse (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:15993:35)
at constructor.addEventSource (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:13343:34)
at HTMLDivElement.eval (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:58:35)
at Function.each (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:362:19)
at jQuery.fn.init.each (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:157:17)
at jQuery.fn.init.$.fn.fullCalendar (eval at webpackJsonp.../../../../script-loader/addScript.js.module.exports (addScript.js:9), <anonymous>:35:7)
at Schedule.webpackJsonp.../../../../primeng/components/schedule/schedule.js.Schedule.initialize (schedule.js:212)
at Schedule.webpackJsonp.../../../../primeng/components/schedule/schedule.js.Schedule.ngAfterViewChecked (schedule.js:193)
at callProviderLifecycles (core.es5.js:11197)
at callElementProvidersLifecycles (core.es5.js:11169)
at callLifecycleHooksChildrenFirst (core.es5.js:11153)
at checkAndUpdateView (core.es5.js:12263)
at callViewAction (core.es5.js:12620)
at execComponentViewsAction (core.es5.js:12552)
View_DashboardDemo_0 @ DashboardDemo.html:271

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 Sep 2017, 08:27

This is related to FullCalendar 3.5.0 incompatibility with p-schedule, more information at;

https://github.com/primefaces/primeng/issues/3813

You can either downgradge FullCalendar to 3.4 or remove it if you don't need it or wait for PrimeNG 4.2.0 which brings FullCalendar 3.5 support.

jboothe
Posts: 6
Joined: 22 Sep 2017, 03:29

22 Sep 2017, 22:24

We purchased Ultima 4.2 and after an npm install, fullcalendar@3.5.1 is installed yet we are experiencing the same issue - left menu items will not open and this error in the console exactly 20 times:

Code: Select all

ERROR TypeError: Cannot read property 'url' of undefined
    at Function.JsonFeedEventSource.parse (scripts.bundle.js:41854)
    at Object.parse (scripts.bundle.js:41525)
    at constructor.addEventSource (scripts.bundle.js:38875)
    at HTMLDivElement.<anonymous> (scripts.bundle.js:25590)
    at Function.each (scripts.bundle.js:363)
    at jQuery.fn.init.each (scripts.bundle.js:158)
    at jQuery.fn.init.$.fn.fullCalendar (scripts.bundle.js:25567)
    at Schedule.webpackJsonp.../../../../primeng/components/schedule/schedule.js.Schedule.initialize (schedule.js:212)
    at Schedule.webpackJsonp.../../../../primeng/components/schedule/schedule.js.Schedule.ngAfterViewChecked (schedule.js:193)
    at callProviderLifecycles (core.es5.js:11205)
Confirmed that commenting line 276 of dashboard.html does fix the menu issue, but obviously no calendar is displayed.

Code: Select all

<p-schedule [events]="events" defaultDate="2016-01-12"></p-schedule>
What is your recommendation?

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests