Currently it doesn't return the rendered fields on the first time.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Status: Active » Needs review
FileSize
1.28 KB

What about this patch.

dawehner’s picture

Commited to 6.x-3.x,, 7.x-3.x because it's helpful and it was useful for writing tests.

dawehner’s picture

Status: Needs review » Fixed

Update status.

dystopianblue’s picture

Status: Fixed » Needs review

This patch is causing issues in the calendar module (see: http://drupal.org/node/1158518) when there are no results returned. I suggest adding $this->rendered_fields = array(); to line 310.

merlinofchaos’s picture

Status: Needs review » Active

Please read what the statuses mean.

Steven.Pescador’s picture

subscribe

BrightBold’s picture

subscribe.

bojanz’s picture

Status: Active » Needs review
FileSize
556 bytes

Just saw this notice as well. The attached patch should do the trick.

dawehner’s picture

Status: Needs review » Fixed

Just realized that my local php version shows strict errors but no notices. what a fail.

Thanks for providing a patch bojanz. Commited.

Druper’s picture

Is it necessary to apply both patches or just #8, "1124098-followup.patch"?

dawehner’s picture

Just #8 but it's already in and will be in DEV at the latest tomorrow.

Druper’s picture

Cool, thanks.

Status: Fixed » Closed (fixed)

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

pdrake’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev
Status: Closed (fixed) » Needs review
FileSize
426 bytes

The followup fix in #8 needs to be applied to 6.x-3.x-dev as well. Attached is a patch.

dawehner’s picture

Status: Needs review » Fixed

Thanks for reopening. Just committed the patch to 6.x-3.x as well.

Status: Fixed » Closed (fixed)

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