Problem: "Allow long question text to be configured" option under admin/config/content/faq/questions is not working as expected.

Currently, hook_form_FORM_ID_alter is being used to hide the long question field.
This is only hiding the long question field on the node edit page. When creating an FAQ node the field is visible and when filled in displayed when viewing the node.

Proposed solution: Replace hook_form_FORM_ID_alter by hook_form_BASE_FORM_ID_alter

Comments

wtrv created an issue. See original summary.

wtrv’s picture

Issue summary: View changes
wtrv’s picture

StatusFileSize
new985 bytes
wtrv’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: faq-question-long-form-2658098-3-8.x.patch, failed testing.

The last submitted patch, 3: faq-question-long-form-2658098-3-8.x.patch, failed testing.

sumitmadan’s picture

Assigned: wtrv » sumitmadan
Status: Needs work » Needs review
Issue tags: +SprintWeekend2016
sumitmadan’s picture

Assigned: sumitmadan » Unassigned
StatusFileSize
new748 bytes

According to description of function, details question will not be configuratble at edit node page based on the option enabled or disabled. I have updated the patch.

Status: Needs review » Needs work

The last submitted patch, 8: allow_long_question-2658098-8.patch, failed testing.

sumitmadan’s picture

Status: Needs work » Needs review
sumitmadan’s picture

Status: Needs review » Fixed

  • sumitmadan committed afb7ae9 on 8.x-1.x authored by wtrv
    Issue #2658098 by wtrv, sumitmadan: "Allow long question text to be...

Status: Fixed » Closed (fixed)

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