Problem/Motivation

When I tried to remove a signup, appear this error: Notice: Undefined offset: 4 in Drupal\simply_signups\Form\Confirm\SimplySignupsNodesRemoveSingleConfirmForm->buildForm() (line 36 of modules/contrib/simply_signups/src/Form/Confirm/SimplySignupsNodesRemoveSingleConfirmForm.php).

Steps to reproduce

1 - Install Simply Signups;
2 - Select "Basic Page" or "Article" in "Configure" of the Simply Signups;
3 - Create a new "Basic Page" or "Article" Content;
4 - In the created content, in the option "Simply Signups", look for "Settings" option;
5 - Select option "Enabled signups for this node", fill the "Signups open" and "Signups close" fields and save;
6 - Fill the form of Simply Signups in the "View" option;
7 - Open the option "Simply Signups", and try to Remove some item of the list;

CommentFileSizeAuthor
#3 afterRemove.png44.82 KBcaiogs
#3 beforeRemove.png35.65 KBcaiogs
#2 3228337-2.patch2.14 KBjessicacs

Comments

jessicacs created an issue. See original summary.

jessicacs’s picture

Assigned: jessicacs » Unassigned
Status: Active » Needs review
StatusFileSize
new2.14 KB

Follow a patch for this issue.

caiogs’s picture

Assigned: Unassigned » caiogs
Status: Needs review » Reviewed & tested by the community
StatusFileSize
new35.65 KB
new44.82 KB

The patch 3228337-2.patch was tested, and work well.
Prints attached.

caiogs’s picture

Assigned: caiogs » Unassigned

  • jessicacs committed f80b102 on 8.x-3.x
    Issue #3228337 by jessicacs, caiogs: Need to fix the problem "Notice:...
jessicacs’s picture

Assigned: Unassigned » jessicacs
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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