After completing checkout (that works just fine and does make the reservation) I get a "Notice" with the following text:
Notice: Undefined index: path in token_tokens() (line 780 of /***full path masked***/sites/all/modules/token/token.tokens.inc).
Issues:
- Where it states, "You can view your order on your account page when logged in", the hyperlink for "view your order" redirects to the main page.'
The call of [commerce-order:order-number] works fine but the [commerce-order:url] does not. It looks like a timeout/redirect back to the main page.
- I cannot see any orders in my "My Account" page after successfully completing checkout and getting the message of "Room Availability Updated" under the same account.
Thanks for your help and for creating such a useful tool.
Chuck
Comments
Comment #1
escuec CreditAttribution: escuec commentedline 780 in token.tokens.inc is bolded below:
if (_token_module($type, 'url') == 'token' && $uri = entity_uri($entity_type, $entity)) {
$replacements[$original] = url($uri['path'], $uri['options']);
}
break;
Comment #2
artatac CreditAttribution: artatac commentedI'm getting this also.
Comment #3
chapabu CreditAttribution: chapabu commentedI think this is an issue with Token rather than rooms, as I get this error whilst using Drupal Commerce on checkout completion.
Comment #4
Dave ReidThe problem here is Drupal Commerce is returning an invalid value for entity_uri().
This is a duplicate of the following issues:
#1392654: Commerce can return invalid return values for uri callbacks.
#1275902: Allow entity URI callbacks to indicate that the entity has no URI, and make the User module use that for anonymous users
Comment #5
gaofeng CreditAttribution: gaofeng commentedI had exactly the same thing here. For me, simply enabling the commerce-order-ui did the trick. All works fine now.
Comment #6
rszrama CreditAttribution: rszrama commentedClosing this back out as we do have a duplicate open to address the issue.
Comment #6.0
rszrama CreditAttribution: rszrama commentedadded commerce-order functionality notes
Comment #7
chinhlc CreditAttribution: chinhlc commentedyou go to module. and you install module: order && Order UI
=> sucefull