Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule: Date Move, Day Delta Issue #2296

Closed
mayankX opened this issue Apr 20, 2017 · 4 comments
Closed

Schedule: Date Move, Day Delta Issue #2296

mayankX opened this issue Apr 20, 2017 · 4 comments
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@mayankX
Copy link

mayankX commented Apr 20, 2017

Schedule Component is not calculating right Day Delta always.

I am using following configuration for my schedule

<p:schedule value="#{schedule_setup.eventModel}" id="customSchedule" widgetVar="customSchedule" timeZone="IST" view="agendaWeek"> <!--ignoreTimezone="false"--> <!--timeZone="GMT+530"--> <p:ajax event="dateSelect" listener="#{schedule_setup.onDateSelect}" update="schedule_detail_form"/> <p:ajax event="eventSelect" listener="#{schedule_setup.onEventSelect}" update="schedule_detail_form" process="@this"/> <p:ajax event="eventMove" listener="#{schedule_setup.onEventMove}" update="customSchedule growl"/> <p:ajax event="eventResize" listener="#{schedule_setup.onEventResize}" update="customSchedule growl"/> </p:schedule>

Here while moving schedule days in adjacent weekdays as shown in screenshot.

  1. Initial State
    image

  2. Expected State before Drag-Drop ends
    image

  3. Actual State, Post Drag-Drop(Event Move)
    image

During debug, I found issue in Day Delta value as shown in below screenshot
image

@melloware
Copy link
Member

Do you have a fix proposed?

@tandraschko tandraschko added the 🐞 defect Bug...Something isn't working label Jul 12, 2018
@tandraschko tandraschko changed the title Schedule Date Move, Day Delta Issue Schedule: Date Move, Day Delta Issue Jul 12, 2018
@mbeedub
Copy link

mbeedub commented Aug 20, 2018

+1 for this.

It is still an issue.

@tandraschko
Copy link
Member

Feel free to fix it an provide a PR ;)

@melloware
Copy link
Member

Fixed with PR: #3991

@tandraschko tandraschko added this to the 6.3 milestone Aug 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants