简体   繁体   English

Symfony2 Sonata项目-SonataTimelineBundle问题

[英]Symfony2 Sonata Project - SonataTimelineBundle Issue

I am using sonatatimeline bundle in my project. 我在我的项目中使用sonatatimeline包。 As per docs given by sonatatimeline bundle http://sonata-project.org/bundles/timeline/master/doc/reference/installation.html . 根据sonatatimeline捆绑包http://sonata-project.org/bundles/timeline/master/doc/reference/installation.html给出的文档。

I had followed the steps and it was successfully configured. 我已经按照步骤操作,并且已成功配置。

I am facing a problem when I create or update anything, it shows actions.sonata.admin.create or actions.sonata.admin.update in timeline block instead of admin has created hello or admin has updated hello . 我在创建或更新任何内容时都遇到问题,它在时间轴块中显示actions.sonata.admin.create或actions.sonata.admin.update ,而不是admin创建了helloadmin更新了hello

在此处输入图片说明

I have no clue what I had done wrong. 我不知道我做错了什么。

I figured out my mistake. 我发现了我的错误。 I had pulled the old repository of sonata timeline bundle. 我拉了奏鸣曲时间轴捆绑包的旧资料库。 I change my composer.json with the new version of sonata timeline bundle and updated. 我使用新版本的奏鸣曲时间轴捆绑包更改了composer.json并进行了更新。 My problem got fixed. 我的问题解决了。

Happy 快乐

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

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