avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
280 stars 148 forks source link

fix bootbox version #249

Closed RecklessTimon closed 5 years ago

RecklessTimon commented 5 years ago

Fix bootbox version.

Bootbox was created new version 5.0.0 and now appear error Unable to find file "@AvanzuAdminThemeBundle/Resources/public/vendor/bootbox/bootbox.js" when execute assetic:dump command. Bootbox 5.0.0 have a different structure, and not compatible with 4.x

shakaran commented 5 years ago

@kainskadmin Thanks for your contribution!

bastos71 commented 5 years ago

@shakaran version 1.3.12 seems not available :/ https://packagist.org/packages/avanzu/admin-theme-bundle

I had to add this to my composer.json to be able to update to the latest version :

{
    ...
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/avanzu/AdminThemeBundle"
        }    
    ]
    ...
}
shakaran commented 5 years ago

@shakaran version 1.3.12 seems not available :/ https://packagist.org/packages/avanzu/admin-theme-bundle

I had to add this to my composer.json to be able to update to the latest version :

{
    ...
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/avanzu/AdminThemeBundle"
        }    
    ]
    ...
}

You dont needed, you should could update with something like:

composer require avanzu/admin-theme-bundle dev-master#1.3.12

bastos71 commented 5 years ago

@shakaran Sorry but it seems it's not working, I had version 1.3.11 installed, and a composer update throws me "There is nothing to install/update"

Please, take a look at this link : https://packagist.org/packages/avanzu/admin-theme-bundle Version 1.3.12 is not referenced by Packagist

shakaran commented 5 years ago

@bastos71 Since I am having some problems for update the packagist.org package (I already requested to be maintainer to avanzu main owner, but it could take time to it), I am maintaining the same commits and duplicating the work in a personal repo and packagist account:

composer require shakaran/admin-theme-bundle:1.3.12

https://packagist.org/packages/shakaran/admin-theme-bundle

So you can fetch there the 1.3.12 release tag for the moment