简体   繁体   English

带有 Sonata Admin Bundle 3.0(或 2.4)的 Sonata Media Bundle

[英]Sonata Media Bundle with Sonata Admin Bundle 3.0 (or 2.4)

I'm trying to find a combination of sonata bundles to work with both Sonata Media Bundle and Sonata Admin Bundle 3.0 (or 2.4), but with no success.我试图找到一个奏鸣曲包的组合来与 Sonata Media Bundle 和 Sonata Admin Bundle 3.0(或 2.4)一起使用,但没有成功。

The versioning on the official documentation is a total mess and does not help.官方文档上的版本控制一团糟,无济于事。

My actual composer contains:我的实际作曲家包含:

    "sonata-project/formatter-bundle": "dev-master",
    "sonata-project/easy-extends-bundle": "dev-master",
    "sonata-project/admin-bundle": "^2.3",
    "sonata-project/doctrine-orm-admin-bundle": "^2.3",
    "sonata-project/media-bundle": "^2.3"

I'm on Symfony 2.8, but I'd love to be able to migrate to 3.x.我使用的是 Symfony 2.8,但我希望能够迁移到 3.x。

Did anyone find a way?有人找到方法了吗?

I have the same issue, this is because Sonata Media didn't has yet 3.0 version, and the 2.4 version is incompatible with the new 3.0 version of Sonata Admin.我有同样的问题,这是因为 Sonata Media 还没有 3.0 版本,并且 2.4 版本与新的 Sonata Admin 3.0 版本不兼容。 Some time ago was possible to install the unstable 2.4 version of Sonata Admin, but now, this version is not avaible because is replaced with the new 3.0 version.前段时间可以安装不稳定的2.4版本的Sonata Admin,但是现在这个版本已经不可用了,因为被新的3.0版本取代了。

The only thing that you can do is downgrade the Sonata Admin version to 2.3.1 that is the last version compatible with Sonata Media dependencies and wait until the 3.0 version of Sonata Media will be released.您唯一能做的就是将 Sonata Admin 版本降级到 2.3.1,这是与 Sonata Media 依赖项兼容的最后一个版本,然后等待 Sonata Media 3.0 版本发布。

I'm sorry for the bad news我为坏消息感到抱歉

you here can find boilerplate with config.你在这里可以找到带有配置的样板。 A Boilerplate with Symfony 2.8 configured with Sonata Admin Bundle 2.3, User Bundle and Media Bundle with RTE support带有 Symfony 2.8 的样板,配置了 Sonata Admin Bundle 2.3、User Bundle 和 Media Bundle,支持 RTE

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM