Running this module alongside Apache Solr with the " Allow user input using the URL" causes problems due to the Solr module using parameters with a similar format. The attached patch makes Themekey ignore them, helped by the fact that Solr parameters are also arrays i.e. key[]:value.

This gets rid of the "Array to string" warning that crops up on URLs such as http://drupal7/search/forum/onspeed?fq[]=iss_forum_id:20.

Regards,

- Paul

CommentFileSizeAuthor
#2 2373821.patch1.12 KBmkalkbrenner
themekey.system.inc_.patch664 bytespaulbeaney
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, themekey.system.inc_.patch, failed testing.

mkalkbrenner’s picture

Title: Themekey parameters interfere with Apache Solr module » differentiate between scalar and complex get and cookie values
Version: 7.x-3.2 » 7.x-3.x-dev
Assigned: Unassigned » mkalkbrenner
Status: Needs work » Needs review
Related issues: +#1866850: differentiate between scalar and complex post values for property system:post
FileSize
1.12 KB

A similar has been fixed for post values already. We should apply the same logic here.

mkalkbrenner’s picture

Status: Needs review » Fixed

  • mkalkbrenner committed 1fdd720 on 7.x-3.x
    Issue #2373821 by paulbeaney, mkalkbrenner: differentiate between scalar...

Status: Fixed » Closed (fixed)

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