My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 865: when adding an event (mysql driven) then eventResize doesn't reflect the changes
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by dada.c...@gmail.com, Mar 24, 2011
everything's accurate when i add the event from the database. when i use the 'click (select)' (i tweaked the selectable file to be driven by mysql) to add the event,initially, it adds the start time/end as 00:00:00 which is fine.

but after adding then immediately resizing the event (without refresh or anything), it doesn't reflect the changes on the db. now, when i refresh it and try to resize it, the dates reflected (via alert) are fine, but the actual GUI shows it's off by 1 day.

is this a bug or did i miss something....
thanks :)
Mar 24, 2011
Project Member #1 adamrs...@gmail.com
please submit a report with a detailed description and a demonstration of the bug. This can be a link to a website or a ZIP containing a runnable HTML file. Please include everything needed to recreate the bug (JS, CSS, event JSON). thanks!
Status: Reproducing
Mar 24, 2011
#2 dada.c...@gmail.com
javascript alerts are accurate but passing it to the php page via 'get' doesn't work 
if you add then resize the task. it doesn't pass the end date to the php page correctly. when you refresh the page, resizing the task reflects the correct end date on the db but the gui is off by a day.

thanks so much :)

attached are the screencaps to reproduce the event and part of my select and eventResize code.
test.zip
90.3 KB   Download
Mar 25, 2011
#3 dada.c...@gmail.com
okay i was able to fix the db update. it's working fine now. everything gets reflected on the db now. however, the issue still exists when creating an event on the gui, the db reflects every change however, the gui still shows it's off by 1 day. for example the event is from march 10-13 the db shows 10-13 but the gui displays 10-12.

thanks for you help :)
Mar 30, 2011
Project Member #4 althaus.it
Please be aware of the issue about inclusive or exclusive end dates:

http://arshaw.com/fullcalendar/docs/event_data/Event_Object/

FC handles this a bit different than you perhaps expect it.
Oct 4, 2012
#5 rpicc...@software4u.it
@dada.c...@gmail.com

Could you please post your updated solution as zip ?

Thank you very much!
Aug 13, 2013
Project Member #6 adamrs...@gmail.com
as @althaus.it said, this is almost definitely due to confusion over inclusiveness/exclusiveness of the end date
Status: Invalid
Labels: Type-Bug
Sign in to add a comment

Powered by Google Project Hosting