Hi all.

We're in the middle of planning/developing a new Drupal distribution that uses Quiz quite a bit. But with Drupal 8 nearing code freeze, we're seriously thinking starting to port our current code base to Drupal 8 and continue development on the 8.x branch.

However, using Quiz, we first want to know if you guys have started planning/working on OG 8.x ?

Comments

sivaji_ganesh_jojodae’s picture

As far as I know, no plan for Drupal 8 as yet. In fact for Drupal 7 itself it still needs work :(

sivaji_ganesh_jojodae’s picture

Title: Drupal 8 Roadmap ? » Quiz module for Drupal 8

One of the potential clients of KnackForge has come forward to sponsor $500 for development. With that and another $500 from our company funds we have engaged a resource and have started developing for Drupal 8, we have planned to release a stable version in a duration of 3 months from now. To know more, check out http://knackforge.com/blog/sivaji/porting-quiz-module-drupal-8

sivaji_ganesh_jojodae’s picture

Update:
Porting of most of the features as is from d7 to d8 are already done in local git repository. Need to merge it with git in d.o. I will do the same sooner in the coming days,

Items still pending,

sivaji_ganesh_jojodae’s picture

Issue summary: View changes
Status: Active » Fixed

Initial version of porting has been done (excluding the items mentioned above). Code committed to branch 8.x-1.x. Might need more testing and incremental fixes going forward.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sivaji_ganesh_jojodae’s picture

Status: Closed (fixed) » Active

I think we should have this issue open at least until we rolled out a version closer to workable.

We thought things are fine but when tested with latest version of d8 from git, it is noted that quiz is broken due to recent api changes. Have arrived at a checklist of issues (see below) when we run through the same, we should be able to get an idea about as where we are in d8 release plan,

#2163767: Check module enable, disable & uninstall functions
#2163769: Check CRUD operations of quiz and question node
#2163771: Check manage questions page
#2163773: Check quiz answering form with different quiz taking options
#2163777: Check question feedback
#2163779: Check manual scoring of long answer and short answer questions
#2163783: Check "Results" tab
#2164177: Check if quiz configuration settings are working as expected
#2164181: D7 to d8 upgrade path

selvamkf’s picture

Component: Code - other » Code - Quiz core

I am Selvam working along with Sivaji at KnackForge. I have taken over Quiz 8.x porting given that Drupal 8 beta version is out now. I have noticed considerable API changes to be carried out. We will soon bring a working version.

djdevin’s picture

Category: Support request » Task
Priority: Minor » Major
Status: Active » Postponed

A D8 version should be branched from the 7.x-5.0 release, which is not ready. This would incur massive technical debt as 7.x-5.x will continue to change.

Your help is needed in finishing the 7.x-5.0 release, especially some of the Entity work that *must* happen to make sure a migration to D8 is smooth.

See https://www.drupal.org/node/2236419 for some more information.

Pierre.Vriens’s picture

I accidentally stumbled upon this issue via a link from #2139771: Port Google chart API to Drupal 8. Given the status of that issue (= won't fix), you might want to look for possible alternatives via my contribution regarding the Comparison of charting modules, which might help to get this issue going (= no longer postponed) again.

Maybe anybody out there is interested in considering forena as a possible alternative, a module of which I recently became a co-maintainer. I might be able to help answer any questions about it (preferably via it's issue queue, otherwise via my contact form). For a first impression about forena's charting capabilities, checkout my contribution regarding Forena's Supported chart types. Better still: experiment with the module to see it at work in your own environment ...

PS: a few weeks ago the D8 upgrade process has started for forena also (though that's not visible yet on the project page, only within git you start to see that branch and related commits).

almaudoh’s picture

Status: Postponed » Active

Quiz 5 is beta!

What does this mean? Nothing too much, there will be no more API-breaking changes. See the release notes.

So can we do #8 and branch a port from 7.x-5.x? I really need the quiz module in D8, and I'm ready to spend some time to help in porting it over.

ali jab’s picture

When quiz for drupal 8 will be ready

ali jab’s picture

When quiz for drupal 8 will be ready

laue’s picture

Hey, I'm a new dev trying to learn Drupal 8. For the past few weeks I've been porting functionalities from Quiz to my Drupal 8 Quiz module. As of now I have a working skeleton with multiple question types, quiz states and a take quiz functionality. I've been trying to bother you guys over IRC but I don't really know how that stuff works.

My question is, will code like this help you port Quiz to Drupal 8?

alphawebgroup’s picture

@laue
feel free to create repository on github.com and share your port candidate there
i believe, community members can move forward with this

laue’s picture

It's not much but here it is. Any feedback appreciated.
https://github.com/novaFTL/quiz-drupal8

djdevin’s picture

Hi,

This looks like a completely different project. Which is fine if you want to do that, but I don't think it belongs in the official Quiz project.

We also have 100+ unit tests which seem missing from your project, so we have no idea what is working/not working from Quiz 5.

swatee_karpe’s picture

https://github.com/novaFTL/quiz-drupal8/tree/develop/modules/quiz
any comment on this module?

have any one used it? is it ready to use in Drupal 8?

please welcome on any other similar module for quiz.

djdevin’s picture

It's a totally different project so I don't know. Currently there is not a working D8 port of this module, a lot of cleanup had to happen in 7.x first.

Once 5.0 is released (soon), official D8 development will start.

suricactus’s picture

Hi,

Did the development of Drupal 8 version started? I am new to Drupal, but I would like to help with this module. Where I can start first?

mradcliffe’s picture

Since September I've been swamped with other things so I haven't been able to follow-up with the quiz d8 development on https://github.com/mradcliffe/quiz. The groundwork is there to continue on implementing the necessary entities and fields.

## Tasks

* Setup quiz for Drupal 8 with capability of running unit and functional tests.
* Quiz entity type
    * Quiz
        * QuizAccessHandler
* question type plugins
    * QuestionTypeManager
    * QuestionType (annotation)
    * QuestionTypeInterface
       * Handles managing bundle fields for both Question and QuestionResponse bundles when created.
* Question entity type, QuestionType bundle
    * Question
        * QuestionAccessHandler
    * QuestionType
* QuestionResponse entity type
    * QuestionResponse
    * QuestionResponseType
* QuizAnswer entity type

### Some notes

* Quiz properties as field type (no_ui) or a bunch of base fields?
    * QuizSettings field type and widget???
* Choosing a question type/plugin adds bundle fields programmatically?
    * Changing plugin needs to remove bundle fields...
    * plugin needs to add bundle fields to both Question Entity Type and QuestionResponse Entity Type.
* Question Plugin needs to handle widget and theme stuff too.
Vlad_Bo’s picture

There is already working version https://github.com/novaFTL/quiz-drupal8. It seems that there is a bit of work to finish module and to make it at least stable.

manuel.adan’s picture

For the userpoints integration, first 8.x -dev version of the userpoints module released here: #2139777-19: Port User Points to Drupal 8

lukasss’s picture

is it worth hoping that the version for 8 will finally come out?

ktch_my’s picture

Any updates on D8 porting?

mgifford’s picture

The project page says:
"The D7 version of this module is being cleaned up so that a migration/port to D8 will be easier."

https://github.com/novaFTL/quiz-drupal8 was last touched 4 years ago.

Is someone actively working on this?

jukka792’s picture

Just installed Opigno LMS on D8 and I think it has a modified Quiz ported to D8. Thats all I know.

djdevin’s picture

Not Quiz - uses H5P.

jukka792’s picture

Yes, I can see it uses H5P but when you create a "Learning path" there are exactly similar settings as Quiz has.
For example "taking options" has "allow resume", "Backwards navigation" "randomize activities" "store resuls: "The best" "all" etc.
Also it has exactly similar "Results Feedback" as Quiz has.

For me it looks like it is just a modified Quiz in Drupal 8, where you can add modules like H5P. Or maybe the UI is just copied from Quiz module.

djdevin’s picture

Status: Active » Fixed

There is now a Quiz module for D8 that's somewhat working so I'm closing this out.

See https://www.drupal.org/project/quiz/releases/8.x-5.x-dev

Now you can open issues against the 8.x-5.x-dev branch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.