Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.0-beta1
Component:
Order
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Feb 2011 at 09:08 UTC
Updated:
25 May 2011 at 17:47 UTC
Unfortunately, the export from Git to CVS missed some handlers. I cringe to think what other files it might have decided to leave out. If you come across another missing Views handler, let me know and we'll keep track through this issue. I'm committing them to CVS as they come up, but alas they won't be in beta1, just dev. :-/
Fortunately, after tomorrow we'll no longer have this problem.
The handlers in the zip on this issue belong in commerce/modules/order/includes/views/handlers.
| Comment | File | Size | Author |
|---|---|---|---|
| missing_order_views_handlers.zip | 1.72 KB | rszrama |
Comments
Comment #1
damien tournoud commentedLet's just tag a BETA-1b.
Comment #2
rszrama commentedSounds good to me. Is there an easier way to tell which other files might have been left out than me manually combing the directories?
Comment #3
ytsurkhere are some
i already put the 3 out of your zip in place
Comment #4
xibun commentedprobably related...
I get the following (extract) on "/cart":
'Missing handler: field_data_commerce_display_path commerce_display_path field'
'Missing handler: field_data_commerce_unit_price commerce_unit_price field'
'Missing handler: field_data_commerce_total commerce_total field'
Comment #5
damien tournoud commentedHere is a way to do it:
Comment #6
damien tournoud commentedI manually committed the missing files, and tagged a beta1b release.
Comment #7
ytsurki removed beta1 and installed betab1 - still the same errors ..,
what am i missing ?
Comment #8
xibun commentedsame here... still have the messages posted in #4
Comment #9
rszrama commentedysturk / xibun - are you running the latest dev version of Views or Views 3.0-alpha1?
Comment #10
xibun commentedI'm using views 7.x-3.0-alpha1
Comment #11
xibun commentedand the messages disappear after installing the latest .dev version of views. thanks
Comment #12
smokinggoat commentedMy error message (first reported here - http://drupal.org/node/1071676) is still displaying on /user/%
Notice: Undefined variable: type in views_get_handler() (line 872 of /www/sites/all/modules/views/views.module).I also still get two identical errors on user%/orders
I'm on Beta1b of Commerce, plus dev versions of all other modules, and 7.0 of Drupal core.
Fwiw - it does not prevent me from using the tabs nor from see my orders..
Comment #13
rszrama commentedYeah, I noticed that, too. There's a bug in Views right now for the broken handler used when a handler is missing. That said, once you update to beta1b, you actually shouldn't be mising any handlers... maybe try clearin' a cache and/or resetting the Views if need be?
Comment #14
attiks commentedI just did a clean install using the profile and on /user/1 I get the same notice, I'm running PHP 5.3.2-1ubuntu4.7 with Suhosin-Patch, so that might be the problem?
Comment #15
rszrama commentedClean install using the beta1b release? If you look in your commerce/modules/order/includes/views/handlers folder do you not see the order state handlers? You can also try editing the View to see what handler is actually missing. The notice is a bug in Views itself, not related to the missing handler.
Comment #17
rszrama commentedfwiw, there's a patch for the Views issue here: #1072136: Undefined variable: type in views_get_handler()
Comment #18
ytsurkrun view alpha .. will upgrade
Comment #19
n8tronI just installed and set this up today. I used beta1b.
'Missing handler: field_data_commerce_display_path commerce_display_path field'
'Missing handler: field_data_commerce_total commerce_total field'
Comment #20
pcambran8tron are you using last dev version from views?
Comment #21
rszrama commentedSeriously, I just made this more prominent on the project page. Can't wait till those projects get releases... : P
Comment #22
n8tronno. I just installed the dev version of views tho. I'm testing now.
Comment #24
gmopinillosv commentedHi there
It is not fixed, I installed the .zip above and It just fix a missing handler.
I miss two handler:
'Missing handler: field_data_commerce_display_path commerce_display_path field'
'Missing handler: field_data_commerce_total commerce_total field'
Also, I install the last version about VIEW and CHAOS TOOL SUITE and got many errors , so I keep with old versions.
I am using: VIEW 7.x-3.0-beta3 and Chaos tool suite 7.x-1.0-alpha2
Somebody could to pass me these handlers.
Thank you so much.
Comment #25
pcambraYou should be using beta2 instead of beta1.
Also, it is still strongly recommended to use dev version of all dependent modules.
Comment #26
rszrama commentedNo need for the tag either. ; ) And just remember, updates from previous versions were not supported until we hit beta.
Comment #27
gmopinillosv commentedHello pcambra
I am not using beta1, also what do you mean? Is it about view or Ctool? I sorry but I am new. Thank you.
To rszrama:
Do you mean that I have to install only modules on dev? I say that because I have install only not dev. Have I to change all my modules to dev?
could you deliberate more please?
By the way, I came back to my old version and now appears many errors like this:
# Notice: Undefined index: export in ctools_export_crud_load() (line 76 of /home3/jccompac/public_html/sites/all/modules/ctools/includes/export.inc).
# Notice: Undefined index: export in ctools_export_crud_load() (line 76 of /home3/jccompac/public_html/sites/all/modules/ctools/includes/export.inc).
Somebody could say me what is happening.
Thank you
Comment #28
vc7deo commentedBroken handler field_data_commerce_total.commerce_total
Comment #29
rszrama commentedYou should open a separate issue since this one is already closed / fixed. However, there are no known issues with the order total field, as it's just a core Drupal field... that sort of integration is provided by Views out of the box. Make sure you're running the latest dev version of Views and other dependencies.