Bug in Flashcards version 1.7.5 ? Is the pipe symbol ignored now?
Hi,
We are experiencing an issue with Flashcards version 1.7.5 on Wordpress. The issue is not there in version 1.6.4
The issue is that the pipe symbol | that is used to separate alternative answers is no longer working. It appears to be ignored, and as a result, we cannot use multiple alternate answers any longer.
I made a simple exercise to reproduce the issue. A new Flashcard exercise with just one question and two alternate answers, separated by a pipe symbol.
Can you please look into this?
Update: This version accepts the forward slash / as the separator for alternative answers, instead of the pipe symbol |.
Kind regards,
Jeroen.
BV52
Wed, 11/15/2023 - 18:36
Permalink
Hi Jeroen,The pipe symbol has
Hi Jeroen,
The pipe symbol has been replaced by the slash to separate answers in Flashcards. Please chec the release overview for details: https://h5p.org/post-hub-releases
-BV
Jeroen van Dinther
Wed, 11/15/2023 - 21:23
Permalink
Hi BV,Thanks for pointing
Hi BV,
Thanks for pointing that out. I missed that note.
I assume it also means that I must replace | with / when I update content created with an older version of the Flashcards library.
Is that correct? That would be a lot of work. Is there an easy way to do that?
BV52
Wed, 11/15/2023 - 21:30
Permalink
Hi Jeroen,No, you don't need
Hi Jeroen,
No, you don't need to. If you update a content it will automatically use the libraries once you save it. The dev team got you covered, the | will automatically be replaced with / (at least that is what happened when I tested it). Let us know if this does not happen automatically so that I can report it.
-BV
Jeroen van Dinther
Thu, 11/16/2023 - 10:07
Permalink
Hi BV,When I edit and update
Hi BV,
When I edit and update one of the older exercises, it is indeed automatically changed from | to /, so that works.
In the edit window it does however still shows the instruction: "Use a pipe symbol | to split alternative solutions. Use \| if a solution should contain a |.| "
That certainly did not help me ;-)
BV52
Thu, 11/16/2023 - 18:13
Permalink
Hi Jeroen,Once you save the
Hi Jeroen,
Once you save the content and edit it again the instruction should now show a /. Additionally, if you go to Site administration -> Plugins -> H5P -> H5P Libraries and click on the button "updgrade library content" under actions for Flashcards it will update the libraries of all the Flashcards that uses the old version.
-BV
otacke
Thu, 11/16/2023 - 20:18
Permalink
@BV: It seems that nobody
@BV: It seems that nobody updated the translation files ...
otacke
Thu, 11/16/2023 - 20:34
Permalink
Here's the pull request to
Here's the pull request to fix this: https://github.com/h5p/h5p-flashcards/pull/115.
BV52
Fri, 11/17/2023 - 17:08
Permalink
Thanks Oliver!FYI https:/
Thanks Oliver!
FYI https://h5ptechnology.atlassian.net/browse/HFP-3823
otacke
Fri, 11/17/2023 - 19:14
Permalink
Thanks! I left a message on
Thanks! I left a message on the original ticket.