Account created on 19 April 2016, over 8 years ago
#

Recent comments

🇨🇦Canada 2gendevs

This patch should correct the issue.

Before attempting to create a new LP attempt, we check to see if there is a module within the LP that the user is allowed to do. If there isn't we redirect to the LP homepage.

🇨🇦Canada 2gendevs

This patch is working for us to correct this bug.

🇨🇦Canada 2gendevs

We also had this issue with a "fill in the blank" activity. The patch from #12 solved it for us too.

🇨🇦Canada 2gendevs

I don't think this has been fixed, or a new bug with the same issue has been introduced.

In the latest version, 3.1.0 (and 3.1.1), the patched file no longer has the relevant code and instead it has been moved to the service LearningPathContentService.php.

Within this file there is the block of code (starting around line 276):

        elseif ($step['typology'] === 'Module') {
          $module = OpignoModule::load($step['id']);
          $langcode = $this->languageManager->getCurrentLanguage()->getId();
          $step['module'] = $module->hasTranslation($langcode) ? $module->getTranslation($langcode) : $module;
          $step['name'] = $module->label();
        }

        $title = $step['name'];

The call to $module->label(); does not appear to account for the translated values. Instead it is loading the default language value. Commenting out $module->label(); fixes the issue.

🇨🇦Canada 2gendevs

Hey thanks for putting this together for us!

Looks like its 95% working although we have an issue on our end where if multiple users read the same post the unread filter will show read messages. 

Did you try it with multiple users on your end and it worked?

Thanks again.

🇨🇦Canada 2gendevs

Any update on this issue? We are also experiencing an issue with geolocation and it seemingly not working now. It was working.

Our use of geolocation is within a form's autocomplete. So a user types in a location and geolocation will return with a list of results.

For example: "Toronto" will return "Toronto, ON, Canada".

However, for us only a few locations work (such as Toronto). It seems major population centers work, but minor ones do not. Either nothing is returned or just "Canada" is returned.

An example: entering "London" use to return "London, ON, Canada" - now as you type "CANADA" is returned until you type the entire word "London" and then nothing is returned.

If you get specific enough you get results. For example: "London, Ontario" returns with the expected "London, ON, Canada".

Any idea what is going on? Why was there a shift in behavior?

Production build 0.71.5 2024