Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Every time I enable or disable a module, I get this message:
Conditional Fields settings have been updated.
It doesn't matter what module I am enabling... and I have gotten this message on content type manage fields pages as well.
Any ideas?
Comment | File | Size | Author |
---|---|---|---|
#8 | conditional_fields_360056_2.patch | 1.29 KB | peterpoe |
#7 | conditional_fields_360056.patch | 1.01 KB | peterpoe |
Comments
Comment #1
Rosamunda CreditAttribution: Rosamunda commentedI have this message even when I create new nodes that have conditional fields...
Comment #2
upupax CreditAttribution: upupax commentedSame issue..
Comment #3
peterpoe CreditAttribution: peterpoe commentedI can't reproduce this issue.
That message should appear only when a content type is updated, and its machine-readable name changed. It's called by this module's implementation of hook_node_type.
The only reason that I can think why this should happen is that some module changes the name of a node type with conditional fields in it when you enable/disable it.
Could you please paste here a list of modules/versions enabled in your site?
Comment #4
upupax CreditAttribution: upupax commentedadmin_menu
admin_menu_dropdown
apply_for_role
auto_nodetitle
backup_migrate
ca
conditional_fields
content
content_profile
content_profile_registration
content_taxonomy
content_taxonomy_options
devel
dhtml_menu
download_count
fieldgroup
filefield
filefield_token
hierarchical_select
hs_taxonomy
imageapi
imageapi_gd
imagefield
jquery_ui
jquery_update
nodereference
number
optionwidgets
rules
taxonomy_menu
test_gateway
text
token
token_actions
transliteration
trigger
uc_ajax_cart
uc_cart
uc_credit
uc_order
uc_payment
uc_product
uc_store
uc_vat_number
views
views_embed_form
views_ui
Comment #5
upupax CreditAttribution: upupax commentedSorry, I forgot to put the versions: they are all the last available recommended version for drupal 6.x.
For Token and for those that still don't have a stable version (like hierarchical_select or admin_menu_dropdown) I installed the -dev version.
Comment #6
peterpoe CreditAttribution: peterpoe commentedFound the problem. Seems that hook_node_type is called on the modules page from book, poll and forum modules, with no 'old_type' variable. Will provide a patch shortly.
Comment #7
peterpoe CreditAttribution: peterpoe commentedHere's the patch. Added also a check to avoid unnecessary db queries.
Comment #8
peterpoe CreditAttribution: peterpoe commentedNew patch. Variables might have to change anyway, so I removed the check for data. Removed the message, which can be confusing.
Comment #9
upupax CreditAttribution: upupax commentedSeems to work for me..
Comment #10
peterpoe CreditAttribution: peterpoe commentedFine! Committing to dev.
Comment #11
sbsimmons86 CreditAttribution: sbsimmons86 commentedThanks for the patch... worked great.
Comment #12
peterpoe CreditAttribution: peterpoe commented