Problem/Motivation

When trying to export event enrolments an AJAX error occurs.

Steps to reproduce

1. Install the social_event_enrollments_export and social_birthday
2. Go to event with enrollments
3. Export the enrollments

Proposed resolution

The issue is that in UserExportPluginBase the method profileGetFieldValue is typed hinted to return a string, but that is not entirely true, because the field can be NULL. So we need to make sure we always return a string.

Remaining tasks

User interface changes

/

API changes

/

Data model changes

/

Comments

nkoporec created an issue. See original summary.

nkoporec’s picture

Status: Active » Needs review

  • navneet0693 committed c1dd9fd on 11.0.x
    Merge pull request #2631 from goalgorilla/issue-3252050-fix-exporting-...

  • navneet0693 committed 8f0b2a3 on 10.2.x
    Merge pull request #2631 from goalgorilla/issue-3252050-fix-exporting-...

tbsiqueira’s picture

Status: Needs review » Fixed

  • navneet0693 committed 9238598 on 10.3.x
    Merge pull request #2631 from goalgorilla/issue-3252050-fix-exporting-...
tbsiqueira’s picture

Status: Fixed » Closed (fixed)