Tour UI is currently broken.
After enabling Tour UI Fatal exception occurs
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "tour_ui.controller" has a dependency on a non-existent service "plugin.manager.entity". in Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processReferences() (line 59 of /Users/clemens/Sites/drupal/d8/www/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php).
Further Change Notices are
https://drupal.org/node/2181815 plugin.manager.entity service is replaced by entity.manager
https://drupal.org/node/2181667 EntityType is now a domain object
https://drupal.org/node/2067565 Entity Controllers can get dependencies injected via a createInstance method
Comment | File | Size | Author |
---|---|---|---|
#32 | fix_tour_ui_to_work_on-2182095-30-M.patch | 73.55 KB | GoZ |
#30 | fix_tour_ui_to_work_on-2182095-30.patch | 88.68 KB | GoZ |
#30 | interdiff-2182095-29-30.txt | 1.58 KB | GoZ |
#29 | interdiff-2182095-28-29.txt | 3.68 KB | GoZ |
#28 | interdiff-2182095-27-28.txt | 16.5 KB | GoZ |
Comments
Comment #1
clemens.tolboomChange record
https://drupal.org/node/2181815
plugin.manager.entity service is replaced by entity.manager
Comment #2
clemens.tolboomChange records
https://drupal.org/node/2181667 EntityType is now a domain object
https://drupal.org/node/2067565 Entity Controllers can get dependencies injected via a createInstance method
Comment #3
clemens.tolboomComment #4
clemens.tolboomI found some fixes but no enough. Attached are my scribbles.
Comment #5
slewazimuth CreditAttribution: slewazimuth commentedI only stayed current until Jan 24. http://drupalpatio.com/im24
Comment #6
alex.xequals CreditAttribution: alex.xequals commentedTried #4 but with no results. Drush doesn't seem to want to apply the patch. Working off latest version of D8 and latest version of tour module. Starting to get the strong impression that this part of D8 needs a lot of work. Just enabling tour_ui seemed to create a lot of problems on my localhost. Also once installed, it seems it doesn't want un-enable / un-install. The tour_ui module maintainers need to release a more stable working copy so those of us who aren't native developers, but are keen to start writing lots of tours for the community and also write general documentation can start doing this.
Comment #7
clemens.tolboomThis issue is old compared to the "chasing head" of Drupal 8.
Thanks for bringing this module under my attention again. Hope to spend some time on it before DrupalCon.
Comment #8
nick_schuch CreditAttribution: nick_schuch commentedMy gut feeling is to wait on the BETA or RC release. This shouldn't be holding back writing tour's for core.
There are many ways to contribute tours to core (screenshots etc), the hardest part is working out what you write. I have been stretch on other Drupal community projects recently, but plan to focus on this in the coming weeks in the lead up to DrupalCon Amsterdam.
Comment #9
slewazimuth CreditAttribution: slewazimuth commentedWith D8 now on Beta 6 and Beta 7 due out on Feb 25 I may get back on this. I stopped work on the UI for the Advanced Tour last March and lately I've been considering getting back up to speed on D8.
Comment #10
joachim CreditAttribution: joachim commentedCritical, surely?
Comment #11
slewazimuth CreditAttribution: slewazimuth commentedI whipped up a new tour_ui for the beta7 version of drupal 8 to get back up to speed on stuff. Its completely new and has zippo to do with the one stopped back in Oct of 2013. Screen recording can be seen at http://d8pres.qetm.biz/tour_ui
Comment #12
clemens.tolboom@slewazimuth your welcome to add your patch in this issue. Watching a video is not code so I cannot handle it ;-)
Comment #13
rootworkAgreed, would really love to see that code committed back to this project!
Comment #14
nick_schuch CreditAttribution: nick_schuch commented@slewazimuth,
Video looks awesome! I will contact you once Im back from DrupalCI sprinting (next week).
Comment #15
darol100 CreditAttribution: darol100 as a volunteer and commentedI'm running a copy of Drupal head master and install this module + patch and I got this error.
Comment #16
darol100 CreditAttribution: darol100 as a volunteer and commentedComment #17
slewazimuth CreditAttribution: slewazimuth commentedNick never did contact me, but while waiting I built a new Advanced Tour, Advanced Tour UI along with a number of other modules for Drupal 8 to support Intermedia. With Release Candidate 1 being released, here's the latest silent screen recording showing a bit of the Advanced Tour on RC1 - http://d8pres.qetm.biz/rc1
Comment #18
clemens.tolboomIn #12 I asked for a patch from @slewazimuth which never made it.
I tried to re-roll #4 on latest 8.2.x
- move Drupal/lib/tour_ui to src
- TourDeleteForm needed new method interface
Unfortunately the page /admin/config/user-interface/tour is not found. Checking with ie ShortcutController I do not see/get what to do.
Attached patch has mentioned changes.
Comment #21
GoZ CreditAttribution: GoZ at Centarro commentedAfter a couple days of work, here is a large rewrite of tour_ui module ported to Drupal 8.2.x.
Tests will have to be converted to phpunit. I suggest to create a new issue for tests after this port will be commited.
Have a nice tour !
Comment #23
GoZ CreditAttribution: GoZ at Centarro commentedTests fail due to... tour_ui (simpletest) tests.
Please review and commit this code first before tests can be rewritten. Right now module can't be used so tests are pointless.
Comment #25
GoZ CreditAttribution: GoZ at Centarro commentedTour lose routes when user click on 'Add' tip button.
Comment #26
GoZ CreditAttribution: GoZ at Centarro commentedFix a missing replacement from _tour_load to Tour Class load.
Comment #27
GoZ CreditAttribution: GoZ at Centarro commentedAdd Tour UI to User-interface menu.
Comment #28
GoZ CreditAttribution: GoZ at Centarro commentedAdd #delta => 100 to tip weight to not be in conflict with drag&drop table weight from tour form.
Check tip implements methods export() and optionsForm() to define if a tip can be edited or added. At this point, tips without export() will be lost, so we need work to get list of tip independent of export method. If tip has not export method, we should use existing tip definition.
I remove src/Plugin/tour/tip/TipPluginTextExtended as Tour tip plugin and replace it by tour_ui plugin src/Plugin/tour_ui/tip/TipPluginTextExtended. TipPluginTextExtended should not be defined as Tour tip plugin since its purpose is only to extends TipPluginText. It should not appear in available plugins, and once tour_ui is disabled (should be disabled in production), text tip should still appear, which is not the case without that.
Comment #29
GoZ CreditAttribution: GoZ at Centarro commentedWith this patch
* I replace export() method by getConfiguration(), waiting after #2851166. When this one will be commited getConfiguration() will be useless in each plugins.
* A warning is displayed in tour UI when a tip is not exportable. Tour cannot be saved in this case to avoid unwanted tip deletion.
Comment #30
GoZ CreditAttribution: GoZ at Centarro commentedAnd finally small fix for coding standard, removing tab and adding line at end of files.
Comment #31
clemens.tolboom@GoZ thanks for working on this.
I see your patch is big. Can you try to add the
git mv
action into the diff? According to http://stackoverflow.com/questions/5730460/how-to-do-a-git-diff-on-moved... this could be done usinggit diff -M
.Comment #32
GoZ CreditAttribution: GoZ at Centarro commentedThere is many differences and modifications so -M does not give many more.
Comment #33
clemens.tolboomDarn ... then I have to manually mv the files then apply. Will try this week.
Comment #34
GoZ CreditAttribution: GoZ at Centarro commentedwhy do yo want to move files ? i you do that, patch will fail
Comment #35
Joachim NamysloI have applied that and hey it works in 8.26, again! Grat patch!
Comment #36
MiSc CreditAttribution: MiSc at Wunder commentedWe find a usage for this module, and therefor I have forked it, and added @Goz patch, more about it in #2857224: Fork of Tour UI.
Comment #37
clemens.tolboom@MiSc why fork when you can collaborate. Just ask for joining this project in a separate issue.
Comment #38
MiSc CreditAttribution: MiSc at Wunder commentedThere are a bunch of fixes to get Tour UI up to speed, that is why I forked it, you will need to combine patches to get the thing working, and that is why I think a fork is the best idea, and then make a big patch from it, that hopefully will be accepted byt the maintainers here. And yes collaborating is the key, so please help out if you want to, the github repo will be up later today.
Comment #39
GoZ CreditAttribution: GoZ at Centarro commentedI don't think a big patch with lot of features is a good deal.
It will be hard to read and review.
@clemens.tolboom Tour UI doesn't work anymore, can you at least commit this current patch so we can go forward and fix issues or features in different issues ? I agree to co-maintain if you want.
Comment #40
mpastas CreditAttribution: mpastas at Globant commentedNot working anymore..
Comment #41
rootworkI think Tour UI is abandoned. There hasn't been a commit in 3 years, and there's been no move by maintainers to merge any of the changes in this thread that reports that the module is un-usable. That doesn't sound like "actively maintained" to me.
There was a fork a few months back (#36), but there haven't been any commits there since the fork either...
Comment #42
MiSc CreditAttribution: MiSc at Wunder commentedI have been quite occupied and going to work on the fork during the summer.
Comment #44
clemens.tolboomI've committed #32 as per #39
@GoZ + @MiSc please apply for a co-maintainer
Comment #45
clemens.tolboom@GoZ thanks for your awesome work!
Comment #46
MiSc CreditAttribution: MiSc at Wunder commentedGreat to push this forward.
Comment #47
dddave CreditAttribution: dddave commentedI've added GoZ as co-maintainer and upgraded clemens' permissions so that he can add new maintainers himself in the future.
Comment #48
GoZ CreditAttribution: GoZ at Centarro commentedthanks dddave
Comment #49
clemens.tolboomHuh .. @dddave you have super powers? How where you notified? I filed #2882975: Make Clemens.Tolboom full owner of project to make @nick_schuch active. It's great to have these new maintainers but the flow of control is fuzzy to me. Please explain :-)
Comment #50
dddave CreditAttribution: dddave commentedWell, the issue in the Project ownership queuesummoned me. ;)
I took a look around the module's queue and assessed the situation (and forget to post in the other issue...). After all the module was quite broken, yet you were the acting maintainer and willing to add new co-maintainers.
Comment #51
clemens.tolboom:-)