The "rdf_schema_alter" hook is not implemented correctly, thus the third-party modules integration (in my case the "file" module) breaks the module.

In short: https://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook... states that the $schema variable have to be passes by reference, while the signature of the RDF module hook is not correct.

Patch attached (for 6.x-dev version)

CommentFileSizeAuthor
#1 rdf-2403259-bug-in-schema-alter-hook.diff510 bytesthePanz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

thePanz’s picture

Title: Bug in Schema_Alter hook » Bug in Schema Alter hook
FileSize
510 bytes
thePanz’s picture

Status: Active » Needs review
srees’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +PHP 5.4

This causes issues only when upgrading PHP beyond 5.3 based on our server setups. The attached patch corrected our inability to upload files with the fileframework module on a PHP 5.5.9 server.

apaderno’s picture

Status: Reviewed & tested by the community » Closed (outdated)

I am closing this issue, which is for a Drupal version not supported.