After uprgrade to RC4 a view with 2 or more exposed filter does not work right.

the first exposed filter works right and the next filters not. the boxes degrades gracefully.

I have tested it in FF3 and the IE6/7/8.
The IE gives a script error back. Line 2, letter 1194, error = 'console' undefined

In Safari and Chrome it works all right.

Comments

mkrakowiak’s picture

I have a similar problem in FF3 and IE7: node/add/* doesn't load JavaScript at all, thus links in legend of the boxes (like Categories or Input Format) don't open/close. HS fields degrade gracefully.

Wim Leers’s picture

This is an error on my side. I accidentally committed the .module file with the debug functionality enabled. That functionality only works when the console object exists, and it only exists in Safari and Firefox with Firebug.

To fix this:

1) Open hierarchical_select.module.
2) On line 12, you'll see this:
define('HS_DEVELOPER_MODE', 1);
Change this to:
define('HS_DEVELOPER_MODE', 0);

This has already been fixed. This means that if you get the newest dev release tonight, it'll be fixed. It'll of course be fixed in the final as well.

I'll leave this issue open until the final has been released.

mkrakowiak’s picture

Title: 2 or more Exposed filter in FF3 und IE 6/7 does not work » Problems with RC4? Read this!
Assigned: Unassigned » Wim Leers
Category: bug » support

This should actually be changed from 1 to 0.
Thanks Wim!

Wim Leers’s picture

Hah, yes, I guess my copy/paste skills are pretty bad :P

nath’s picture

Thanks for the info, explains the trouble we had with the newest version.

mkrakowiak’s picture

Component: Code - Taxonomy Views » Code

I got another problem. It is this warning that I get whenever I create or update a node with a new tag:

warning: Invalid argument supplied for foreach() in /home/dixingto/public_html/cpj/sites/all/modules/hierarchical_select/hierarchical_select.module on line 1841.
warning: Invalid argument supplied for foreach() in /home/dixingto/public_html/cpj/sites/all/modules/hierarchical_select/modules/hs_taxonomy.module on line 415.

After I refresh the page, everything seems to be OK. What could this be?

Wim Leers’s picture

Title: Problems with RC4? Read this! » Bug in Token support of HS Taxonomy
Category: support » bug
Priority: Critical » Normal
Status: Active » Fixed

The tokens provided by HS Taxonomy don't support an empty selection yet, thereby causing this error. I decided to release an RC5 to make things simpler for the end-users.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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