Schedule bug on 7.0

UI Components for JSF
Post Reply
madrigo
Posts: 2
Joined: 19 Sep 2019, 13:57

19 Sep 2019, 14:06

I have a display bug with schedule since I migrated from 6.2 to 7.0
My schedule now display a beautiful "object Object"for each day instead of Monday, Tuesday, etc

When I use the 6.2 lib the days are back to normal.
Did I miss something in the migration process or is it a bug of the 7.0 ?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

19 Sep 2019, 21:32

Did you check the migration guide: https://github.com/primefaces/primeface ... e#62-to-70

Schedule received a major upgrade in 7.0 to its underlying JS component FullCalendar JS.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

madrigo
Posts: 2
Joined: 19 Sep 2019, 13:57

20 Sep 2019, 00:00

Hi Melloware, thanks for your reply.

Yes I did check the migration guide and I replaced the deprecated attributes.

Here is my code :

<p:schedule id="schedule" value="#{planningBean.lazyEventModel}" widgetVar="myschedule"
timeFormat="H:mm" slotLabelFormat="HH:mm" minTime="8:00"
style="width: 950px" showWeekNumbers="true" displayEventEnd="false" allDaySlot="false"
clientTimezone="local">
[some code]
</p:schedule>

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

20 Sep 2019, 01:41

Can you please clone this project: https://github.com/primefaces/primefaces-test

Make a small reproducible example and then attach it to an Issue on the issues page: https://github.com/primefaces/primefaces/issues

That way we can debug the issue.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests