sequence my action :
1. install Drupal 5.6
2. instal jQuery Interface, jQuery Update
3. install Hierarchical Select
4. add 2 Vocabulary (1-Single Hierarchy(3 level A-A.1-A.1.a), 2-Free tagging, Types:Page, Required)
5. Create content - result all well, all work.
6. activate jQuery Interface, jQuery Update, Hierarchical Select
7. Create content - entering the new term consisting of symbol most certainly being absent in vocabulary with free tagging
8. Result - not very good - appears field with incomprehensible contents

function (v,n)
{
n = n == null?o:n;
...
and so on

is this bug?

CommentFileSizeAuthor
#8 place_error.jpg62.71 KBsummit
#2 bug.jpg130.39 KByk@drupal.ru
bug.jpg143.85 KByk@drupal.ru

Comments

wim leers’s picture

Status: Active » Needs work

It's pretty much impossible that this is caused by Hierarchical Select: that piece of code is nowhere to be found in Hierarchical Select. I think it's another module that causes this.

Nevertheless, will try to reproduce later.

yk@drupal.ru’s picture

Status: Needs work » Active
StatusFileSize
new130.39 KB

1. clean installation Drupal 5.6 (no other modules)
2. disable Hierarchical Select (JQuery Interface Library, JQuery Update still enabled) - and again all work.
3. that piece of code i have not found not in one of the modules, though there is similar in file compat-1.0.js from sites\all\modules\jquery_update\

and i have found else one problem - interesting effect exists if first dictionary to do Hierarchy:Multiple and for term on 3 levels to assign 2 and more parents - when create content and choice of this term falling out blocks begin to multiply as rabbits.

but for the rest Hierarchical Select beautiful module.

wim leers’s picture

As I said, I'll try to reproduce.

That second issue you're describing: please rephrase it more carefully. I don't understand it *at all*.

yk@drupal.ru’s picture

sorry for my bad english
second issue:
1. Create Vocabulary with characteristic Hierarchy:Multiple, Types:Page, Required,
activate Hierarchical Select, ad terms, and receive structure like this
A
-- 1
---- a
---- b
-- 2
---- b
B
-- 1
---- b
-- 2
---- b
where "b" single term with multiple parent terms.
2. add content and choose term B-1-b - result many select box (i attach screenshot in previous post).
this reveals itself only when -
Hierarchical Select settings
-Save lineage:Save only the deepest term
-Level choice:Allow the user to choose a term from any level
3. but if
Hierarchical Select settings
-Save lineage:Save term lineage
-Level choice:Allow the user to choose a term from any level
receive warning message
user warning: Duplicate entry '6-4' for key 1 query: INSERT INTO term_node (nid, tid) VALUES (4, 6) in D:\Work\Web\test.site\includes\database.mysql.inc on line 172.
when create content

wim leers’s picture

Thanks for the clarification.

1) Ok.

2) That's possible. When you're using multiple parents, you should *always* enable the "save term linage" option, otherwise HS can't reconstruct the hierarchy.

3) That's something I'll have to try to reproduce – I doubt I can though.

yk@drupal.ru’s picture

should to notice that described by me problem in post 1 reveals itself only under IE 6.0.29 and Opera 9.24 under FireFox 2.0.0.11 all work.

wim leers’s picture

Category: bug » support
Status: Active » Closed (fixed)

I can't reproduce this. Tested in:
- IE6
- Safari 3
- Opera 9

As I said, this is most likely caused by another module.

Disable all other modules with JS features one-by-one, to find the exact one.

summit’s picture

StatusFileSize
new62.71 KB

Hi,

I have the same error on Internet Explorer 6.
It occurs using the place module together with hierarchical select.
See attached picture.

I am not ok in russian, but may be it is a jquery problem? See last post in the russian area: http://www.drupal.ru/node/11673
Can anybody translate this please (if it is related :)

And on jquery see: http://dev.jquery.com/ticket/1147 and http://dev.jquery.com/ticket/1368. Could this be the problem?
How to proceed, because I can't find the code on my drupal instance..

Greetings,
Martijn

litwol’s picture

i have experienced this issue number of times.

it happens when you use autosuggest text field and you type in a string that returns no matched results. instead it will return that weird function code suggestion.

wim leers’s picture

Assigned: yk@drupal.ru » wim leers
Category: support » task
Status: Closed (fixed) » Active

Summit: thanks for those links. It seems that this is an issue only when jQuery Interface is used. Which means it will no longer be an issue in Drupal 6. I'll see if I can extract just the effects out of jQuery Interface for Hierarchical Select, but I won't spend much time on that.

wim leers’s picture

Title: Clean installation Drupal 5.6 + 2 Vocabulary (1-Single Hierarchy + Hierarchical Select, 2-Free tagging) = bug? » jQuery Interface causes problems in IE (only visible when autocomplete functionality is used)
Version: 5.x-2.0-rc1 » 5.x-2.x-dev

Better title.

wim leers’s picture

Status: Active » Fixed

In one of the last commits I made to HS 3, I removed the dependency on jQuery Interface. I included only the stricly necessary methods for the effects I use in the HS code itself. This means that as long you don't install the jQuery Interface module, this problem will be solved. That's all I can do, of course! :)

Fixed in: http://drupal.org/node/252236.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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