Closed (fixed)
Project:
Conditional Fields
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2009 at 23:05 UTC
Updated:
6 Sep 2009 at 20:45 UTC
Found while attempting tests for #458934: Image fields not showing up on 5-10-09 cvs head
If a conditional field is completely deleted and a new field is made using the same name in the same content type, the new field will be marked "conditional" and never appear, no matter what selection is made in it's conditional settings.
Steps to reproduce.
Make a field
Make another field marked conditional for the above field.
Delete both fields.
Make another field using the same name as the second field, this field will have the bug.
Comments
Comment #1
RoboPhred commentedI checked in my database and confirmed the conditional field entries are still there after the fields have been deleted. In once case I had two entries with the same content.
Comment #2
peterpoe commentedThis is strange. I cannot reproduce. Deletion of cf information is handled by conditional_fields_content_fieldapi, and all deletion of fields seems to be working fine to me. You can try to delete all cf information from the database, and then repeat the steps. It may be that the table contains old data that is interfering?
Comment #3
RoboPhred commentedI tested it again and it still occures. I wasn't clear on my first post: you have to delete the controlling field first, then delete the field that was being controlled.
Just deleting the controling field shows that the field that was being controlled is still marked as such, so there really is no need to delete it and remake it, but that shows the value is still sitting around unconnected to any cck field event.
Comment #4
peterpoe commentedStill can't reproduce. Have you tried with a clean installation?
Comment #5
peterpoe commentedPlease reopen if the issue persists.
Comment #6
RoboPhred commentedCleaning up my old issues. I finished the project and don't recall having any other issues.