The relationship handler for content profile make use of views_handler_relationship::options() to set the content type for the relationship.

This works for views 2, however views 3 doesn't support any more this way to define options.

The attached patch replace options() by option_definition() so, Content Profile can be used without problems in both, views 2 and views 3. (All handlers for views 2 in views module are using option_definition to set options)

CommentFileSizeAuthor
content-profile-option_definition.patch710 bytesdagmar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Bilmar’s picture

Confirmed the issue in views 3 version. Patch applied smoothly and it fixed the issue. Thanks for the great work!

rburgundy’s picture

Status: Needs review » Reviewed & tested by the community

Tested and all was good. Content Profile is an awesome module and I hope this patch gets committed soon in preparation for views 3 support.

Bilmar’s picture

Hello,

For your reference, below are links to similar patches provided by dagmar in preparation for Views 3.
CCK - http://drupal.org/node/670344
Flag - http://drupal.org/node/673508

Thanks for the great work dagmar!

fago’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Good work, thanks!

Status: Fixed » Closed (fixed)

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