Closed (fixed)
Project:
CCK Taxonomy Super Select Ultra
Version:
5.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2008 at 14:46 UTC
Updated:
10 Mar 2008 at 23:57 UTC
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
Comment #1
rconstantine commentedI'll look into it. I assume that the events page referred to has the CCKTSSU field in it, right?
Comment #2
Johannes De Boeck commentedThanks 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..)
Comment #3
Johannes De Boeck commentedThe 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..
Comment #4
rconstantine commentedBut you're still having the deselect problem, right?
Comment #5
Johannes De Boeck commentedyes, 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.
Comment #6
rconstantine commentedThis 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.
Comment #7
rconstantine commentedIt's the cache_content table. Now I need to figure out why data is held there in the first place.
Comment #8
rconstantine commentedActually, 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.
Comment #9
rconstantine commentedGeez!!! 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.
Comment #10
Johannes De Boeck commentedFreshly 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.
Comment #11
rconstantine commentedOK. 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.
Comment #12
rconstantine commentedI'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.
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.