Totally stoked to see the 7.x branch come alive!

Upon install and enable I immediately received this error:

Fatal error: Class 'rules_data_type' not found in .../sites/all/modules/fbsmp/fbsmp.rules.inc on line 127

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

publicmind’s picture

Status: Active » Needs work

I haven't yet reviewed the integration with other modules, it is the list but a little later.

Regards,

PedroMiguel’s picture

I confirm, function fbsmp_rules_data_type_info() and class rules_data_type_fbsmp extends rules_data_type are broken, I comment this 2 for now and other functions work.

PedroMiguel’s picture

Removed

akshaynhegde’s picture

well, I have tried with the latest dev version and the problem still persists.
@PedroMiguel , the changes mentioned are applied in the dev version and I still get the following error when I enable the module..!

Fatal error: Class 'rules_data_type' not found in /var/www/d7/sites/all/modules/fbsmp/fbsmp.rules.inc on line 127

Please fix it as soon as possible.

PedroMiguel’s picture

Just delete/comment for now the functions mentioned on #2.

SocialNicheGuru’s picture

Can confirm it is still broken

deanflory’s picture

I too received the WSOD error using fbsmp-7.x-1.x-dev.zip from 2012-02-16:
Fatal error: Class 'rules_data_type' not found in /home/sitenamehere/public_html/sites/all/modules/fbsmp/fbsmp.rules.inc on line 127

Triumphent’s picture

Idem here:
Fatal error: Class 'rules_data_type' not found in C:\wamp\www\sites\all\modules\fbsmp\fbsmp.rules.inc on line 127

mathankumarc’s picture

Title: Error upon install: fbsmp.rules.inc » Rules integration is broken
FileSize
4.43 KB

Here is a quick patch. Basic stuffs will work.

Testers are welcome !

SocialNicheGuru’s picture

this worked for me to at least be able to enable

mathankumarc’s picture

Committed to dev.

Keeping the status as "needs work", since this needs more testing and cleanup.

IceCreamYou’s picture

A note that #1748426: Rules - Action - PostLink is dependent on this

joaogarin’s picture

Hello I am having an issue in the latest Dev release (also present in the unstable release) where I am not being able to create a Rule for when user posts a "Link" type attachment.

When I try to create the condition for this rule "The FBSS status has Link attachment" the data selector for "plugin" is invalid..

The only tokens available are :

site:current-user:field-presentation:
site:current-user:field-services:
site:current-user:roles:

Is this feature suposed to be covered in this release?This kind of rules?Already applied all patches and it doenst seem to fixe it.

If any help is needed with this module I have some ideas that could be well featured here and maybe I could help. I have been working with it developing a prototipe for a sort of social network and it seems to be doing Ookay;)

Best regards,
Joao Garin

joaogarin’s picture

Hello again,

Anyone able to replicate the issue I am posting?

Need some help on this please..

Best regards,
Joao Garin

mathankumarc’s picture

Status: Needs work » Needs review
FileSize
3.57 KB

Here is the complete patch.

Testers are welcome :)

Don't forget to clear the cache after applying the patch and monitor the recent log messages while testing.

IceCreamYou’s picture

Haven't tested this but I'm fine with committing it as it's unlikely to break anything worse than it's already broken. :)

mathankumarc’s picture

Status: Needs review » Fixed

Committed to dev. Also removed the fbsmp.rules_default.inc file.

Status: Fixed » Closed (fixed)

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