Hi,

When I activate this module everything goes as planned, but when I wan't to un-select a previously selected item (term) then it stays in the node and won't get deleted.
I get the following error in the logs:

PHP Parse error: syntax error, unexpected '&' in /home/public_html/sites/all/modules/cck/text.module(351) : eval()'d code on line 1, referer: http://website.com/user/884/edit/events?destination=user%2F884
PHP Parse error: syntax error, unexpected '&' in /home/public_html/sites/all/modules/cck/number.module(355) : eval()'d code on line 1, referer: http://website.com/user/884/edit/events?destination=user%2F884

When I deactivate this module there is no problem.

Comments

rconstantine’s picture

I'll look into it. I assume that the events page referred to has the CCKTSSU field in it, right?

Johannes De Boeck’s picture

Thanks for replying,

yes, I've tried in many ways..always with a CCKTSSU field ofcourse..
Happens on clean Drupal 5.6 install with only CCK normal (or CCK dev module) and this module installed.
Happens with CCK Taxonomy Super Select Ultra and also with CCK Taxonomy Super Select module.. on remote server and local.

It only happens after a few times though..and also starts occuring when I activate Term ratings (which I'd luv to use..)

Johannes De Boeck’s picture

The PHP Parse error appears when I set the content type to use PLAIN TEXT instead of letting the user choose the input format.. so this has nothing to do with the 'unselect' ..sorry, my mistake..

rconstantine’s picture

But you're still having the deselect problem, right?

Johannes De Boeck’s picture

yes, unfortunately.. as soon as I use the Term Ratings.
For example, when you make a numerical list of choices (1,2,3..) and you give some of the terms a rating.

rconstantine’s picture

This one is strange. I'm working on it now. After playing with my code for the longest time, I decided to directly delete the values from the DB table. They came back! I'm trying to figure out where from.

rconstantine’s picture

It's the cache_content table. Now I need to figure out why data is held there in the first place.

rconstantine’s picture

Actually, it looks to be the "Display parent terms as selectable form items" feature - I think. Checking and unchecking should work fine without this feature enabled. If anyone can test that out as well, that would be great.

rconstantine’s picture

Geez!!! It doesn't look like any of the above were issues. I created a new content type just to play around with this issue and everything is working fine. I'll have to double check that the last released version is fine too. I have cleaned up some code and stuff, so the version I'm using is a little different.

HOWEVER, I think this is still broken when used in a pageroute.

Can anyone tell me if they are using this in a pageroute when it doesn't let you save your edits?

See this: http://drupal.org/node/177874

I forgot about it.

Johannes De Boeck’s picture

Freshly installed:
Drupal 5.7
cck-5.x-1.6-1
cck_taxonomy_ssu-5.x-1.0
(Intel Mac, MAMP: PHP 5.2.3, MySQL 5.0.41, Apache/2.0.59 (Unix) PHP/5.2.3 DAV/2)

Unchecking terms does work perfect on it's own, but once the RATINGS are used unchecking terms doesn't work properly anymore.
Also, the terms always get a rating (the first choice).. this isn't always desired, unfortunately.

rconstantine’s picture

OK. Will look at things from that angle. It looks like my own issue is a separate one which muddled my brain while trying to find the cause of this one.

rconstantine’s picture

Status: Active » Fixed

I'm not 100% sure I duplicated your problem, but I do have it working. I'm able to set ratings, and uncheck any or all terms while ratings are enabled.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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