Skip to content

Conversation

@tgalopin
Copy link
Contributor

No description provided.

@lsmith77 lsmith77 added the wip/poc Work in progress or proof of concept label Mar 29, 2016
@ubermuda
Copy link

@tgalopin Hi! Are you still working on this PR?


matrix:
allow_failures:
- env: SYMFONY_VERSION=dev-master
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the interest of keeping this in the allow failures section as almost no one look at them.
I prefer that the tests break and that we know that we will have to change something.

@GuilhemN
Copy link
Member

There is still a lot of work here as many part of this bundle are not covered by tests.

@tgalopin
Copy link
Contributor Author

Yes, this is very complicated, as the tests are not ready. I'll have to find time to work on the library in order to build something stable for Symfony3. I'm sorry of this :/ .

@GuilhemN
Copy link
Member

No problem @tgalopin, you're already doing an awesome job ☺
Maybe the easiest solution is to add tests in smaller PRs and then merge them here to check if they work on symfony 3.0.

@tgalopin
Copy link
Contributor Author

@Ener-Getick if we want to adapt this version for Symfony3, it would the best way indeed but I think we should focus the work on the next version that will use the library instead. This version is officially supported for fixes, not for new features (and Symfony3 support is a new feature IMO).

@ubermuda
Copy link

Yes, no problem, I just wanted to know what's up :)

FWIW, I started to port stuff to 3.0 so I could migrate one of our project. It's certainly not "the best way to do things", but feel free to have a look and re-use anything you think could help. I've got everything I need working – which is basic features like creating thread and replying. I don't know much about this bundle, so I have no idea how far I've gone in the process of porting the entire thing.

@tgalopin
Copy link
Contributor Author

@ubermuda thanks for the work, I'll check that asap :) !

@Gemorroj
Copy link
Contributor

any news?

@dmatora
Copy link

dmatora commented Jun 29, 2016

When i am trying to add

fos_message:
    db_driver: orm
    thread_class: MyBundle\Model\Thread
    message_class: MyBundle\Model\Message

to config.yml
and new FOS\MessageBundle\FOSMessageBundle(), to AppKernel.php
i get

InvalidArgumentException in XmlFileLoader.php line 263: Unable to parse file "/symfony/vendor/friendsofsymfony/message-bundle/FOS/MessageBundle/DependencyInjection/../Resources/config/config.xml".

and

InvalidArgumentException in XmlUtils.php line 96: [ERROR 1866] Element '{http://symfony.com/schema/dic/services}service', attribute 'scope': The attribute 'scope' is not allowed. (in /symfony/web/ - line 61, column 0)

@dmatora
Copy link

dmatora commented Jun 29, 2016

Oh, just realized @ubermuda has fixed it in his fork.
Thank you! 👍

@tgalopin
Copy link
Contributor Author

I'll test this tonight, sorry for the delay. Thanks for your work @ubermuda !

@dmatora
Copy link

dmatora commented Jun 29, 2016

Added small fix

@ownede
Copy link

ownede commented Jul 7, 2016

Just meregd @ubermuda's code into my fork.
Creating a new thread, replying, views and forms (outbox/inbox/deleted/new message/reply) seems to work great. Need some more time for testing.

Branch: https://github.com/ownede/FOSMessageBundle/tree/symfony3

See merge request #283

dmatora added a commit to dmatora/FOSMessageBundle that referenced this pull request Jul 17, 2016
@GuilhemN
Copy link
Member

Closed in favor of #283

@GuilhemN GuilhemN closed this Jul 22, 2016
@lsmith77 lsmith77 removed the wip/poc Work in progress or proof of concept label Jul 22, 2016
@softwarebycg softwarebycg deleted the symfony3 branch January 27, 2020 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants