Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.8
Component:
Checkout
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2012 at 01:16 UTC
Updated:
7 Oct 2014 at 18:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rszrama commentedYeah, not sure - something's missing there. Are you running any other modules on there?
Comment #2
sheise commentedI ran into this problem on 2 different sites and now realize what the problem is. Both sites were upgrades from D6 where filter formats where stored numerically and were not upgraded to the D7 machine name formats of "filtered_html, full_html, plain_text". So the settings form in question never gets rendered properly. I'm not sure what the best quick option is though without messing up all your existing content.
Comment #3
rszrama commentedOn Drupal Commerce 1.3, this should be fixed I believe. Can you confirm?
Comment #4
sheise commentedForgot to specify, but I am running Drupal Commerce 7.x-1.3 and still having the problem.
Comment #5
sheise commentedHere's a patch.
Comment #7
rszrama commentedNeeds to be tested against head.
Comment #8
rszrama commented#5: commerce-1434868-5.patch queued for re-testing.
Comment #9
vasikei think we have duplicate #1625138: Checkout Completion pane settings missing from its configuration form
Comment #10
jonathan_hunt commentedPatch in #5 works for me on 7.x-1.3, thanks.
Comment #11
rszrama commentedWow, thanks Steven. I have no clue how that function slipped beneath our radar, but that's what we've needed all along. : )
Welcome to the committers log!
Comment #13
JulienF commentedHello All,
I just noticed this bug with one custom install profile I'm creating and the issue wasn't related to the input filter but with the variable commerce_checkout_completion_message in the database.
at the very begining of the funtion commerce_checkout_completion_message_pane_settings_form($checkout_pane) - file commerce_checkout.checkout_pane.inc we have this line
$message = variable_get('commerce_checkout_completion_message', commerce_checkout_completion_message_default());In here the variable is set yet it returns a simple string instead of an array as expected by the rest of the function (specifically those lines):
'#access' => filter_access(filter_format_load($message['format'])),Which was causing the problem.
In order to solve the problem I had to delete the row in the variable table and it worked well back again... I still haven't found the time to see where is this variable being stored at install and the quick fix I'll apply for now is to delete it at the end of the install profile tasks but a cleaner fix is highly appreciated.
Cheers,
Comment #14
rszrama commentedThanks for the info, Julien.
Comment #15
mdolnik commentedFYI, I had the same issue with the settings missing with 7.x-1.10 as per the screenshot.
I tried many of the suggestions here and elsewhere with no luck,
to eventually notice the administrator permission: 'Use the Filtered HTML text format' was unchecked... Checking this brought the proper menu back.