adesigns / calendar-bundle

This bundle allows you to integrate the jQuery FullCalendar plugin into your Symfony2 application.
MIT License
97 stars 60 forks source link

Events not loading after composer update #60

Closed sarannrich closed 7 years ago

sarannrich commented 7 years ago

I have been using your calendar bundle for a while now and it's been working fine until I did a composer update a few days ago.

Please see the link below for more details.

https://stackoverflow.com/questions/45323449/adesigns-calendarbundle-events-not-showing-after-composer-update

below is a copy of my composer.json

"require" : {
    "php" : "7.0.18",
    "adesigns/calendar-bundle" : "^1.1",
    "catfan/Medoo" : "^1.1",
    "doctrine/common" : "^2.7",
    "doctrine/dbal" : "^2.5",
    "doctrine/doctrine-bundle" : "^1.6",
    "doctrine/doctrine-cache-bundle" : "^1.2",
    "doctrine/orm" : "^2.5",
    "friendsofsymfony/jsrouting-bundle" : "^1.6",
    "incenteev/composer-parameter-handler" : "^2.0",
    "knplabs/knp-menu-bundle" : "^2.1",
    "mopa/bootstrap-bundle" : "^3.1",
    "pimple/pimple" : "^3.0",
    "sensio/distribution-bundle" : "^5.0",
    "sensio/framework-extra-bundle" : "^3.0.2",
    "sensio/generator-bundle" : "^3.1",
    "symfony/symfony" : "3.3.x-dev",
    "symfony/swiftmailer-bundle" : "^2.3",
    "symfony/monolog-bundle" : "^2.8",
    "symfony/polyfill-apcu" : "^1.0",
    "twig/twig" : "~1.0",
    "twbs/bootstrap" : "^3.3",
    "php-imap/php-imap" : "^2.0",
    "egeloen/google-map-bundle" : "^3.0",
    "knplabs/knp-paginator-bundle" : "^2.5",
    "akeneo-labs/spreadsheet-parser" : "^1.2"
},
mikeyudin commented 7 years ago

When was the last time you did a composer update?

sarannrich commented 7 years ago

An hour or so ago.

sarannrich commented 7 years ago

Because the project is still in development I do a composer update at least once every two days.

mikeyudin commented 7 years ago

If the calendar was working, but a composer update broke it, something outside of the bundle must have caused it, as the bundle has not changed at all recently. Let's start by trying a specific version -- change "^1.1" to "1.1.1", just to rule out that you're not using 1.2-beta.

sarannrich commented 7 years ago

Changed composer.json "adesigns/calendar-bundle" : "1.1.1",. Ran composer update -o which also calls cache:clear. There were no changes to the calendar bundle during the update.

I still can't see the events on the calendar

mikeyudin commented 7 years ago

Can you revert your code base back to before you did a composer update, run composer install to put back your old dependencies? I know thats not optimal, but really hard to diagnose this since nothing has changed on our end.

On Thu, Jul 27, 2017, 6:42 AM sarannrich notifications@github.com wrote:

Changed composer.json "adesigns/calendar-bundle" : "1.1.1",. Ran composer update -o which also calls cache:clear. There were no changes to the calendar bundle during the update.

I still can't see the events on the calendar

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/adesigns/calendar-bundle/issues/60#issuecomment-318326470, or mute the thread https://github.com/notifications/unsubscribe-auth/AA77WNMOPkuw14gOzAOxtbXvUiHdLfNqks5sSGl4gaJpZM4Ok4k_ .

sarannrich commented 7 years ago

My apologies it wasn't an update issue but a data one. Some NULL dates had been entered which was causing errors. I was only able to see the errors after rebasing and doing a composer install Thanks for your help though.

mikeyudin commented 7 years ago

No problem, happy to help.