Problem
Checking with isset() a property of an object that extends FeedsConfigurable always fails.

Description
I need this because we have FeedsSource object wrapped by default entity wrapper. During entity unwrapping we need to know whether our parameter (in my case feeds source id) is set or not. See #1593902: How to specify that a rule is for a certain feed import? for more details.

Reason
isset calling always returns FALSE because we don't have magic method __isset() implemented.

Solution
Just implement it.

I will provide a patch soon.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PatchRanger’s picture

Status: Active » Needs review
FileSize
568 bytes

Here we are.
Please review the patch.

twistor’s picture

Status: Needs review » Patch (to be ported)
twistor’s picture

Version: 7.x-2.x-dev » 6.x-1.x-dev
Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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