While testing the module, two issues were identified that prevent it from functioning properly. First, a required use statement for a class is missing, which causes a fatal error. Second, a function does not correctly handle a null object, resulting in another error during execution. These issues need to be resolved to ensure the module works as expected under typical usage scenarios.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

haedmoli created an issue. See original summary.

juandhr’s picture

Assigned: Unassigned » juandhr
Priority: Normal » Critical

juandhr’s picture

Assigned: juandhr » Unassigned
Status: Active » Needs review

I creaed the MR.

Please review.

dario.diaz’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new69.8 KB
new50.94 KB
new6.84 KB

I have reviewed the fix and tested the module functionality in a clean Drupal installation. In that fresh Drupal site, I installed the module with the patched changes from this issue and then enabled it.

Steps to test

  1. Installed and enabled the module successfully with no errors
  2. Created a new poll with multiple choices
  3. Voted as administrator
  4. Verified that the vote was successfully recorded and displayed in the results without any errors

I am attaching screenshots that demonstrate its correct functionality.

haedmoli’s picture

Status: Reviewed & tested by the community » Fixed

Thanks dario.diaz for the review, the MR has been accepted.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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