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.

CommentFileSizeAuthor
missing_order_views_handlers.zip1.72 KBrszrama

Comments

damien tournoud’s picture

Let's just tag a BETA-1b.

rszrama’s picture

Sounds good to me. Is there an easier way to tell which other files might have been left out than me manually combing the directories?

ytsurk’s picture

here are some

'Missing handler: field_data_commerce_customer_address commerce_customer_address field'
'Missing handler: commerce_order state filter'
'Missing handler: field_data_commerce_customer_billing commerce_customer_billing_profile_id relationship'

i already put the 3 out of your zip in place

xibun’s picture

probably 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'

damien tournoud’s picture

Here is a way to do it:

# Clone the Git repository in commerce-git.
... 

# Checkout the CVS repository in commerce-cvs.
...

# Disable keyword substitution from the CVS checkout.
$ (cd commerce-cvs ; cvs up -kk)

# Compare.
$ diff -upr -x CVS -x .git commerce-cvs commerce-git
Only in commerce-git/modules/customer: commerce_customer.rules.inc
Only in commerce-git/modules/order: tests
Only in commerce-git/modules/product/includes/views/handlers: commerce_product_handler_filter_product_type.inc
damien tournoud’s picture

Status: Active » Fixed

I manually committed the missing files, and tagged a beta1b release.

ytsurk’s picture

i removed beta1 and installed betab1 - still the same errors ..,
what am i missing ?

xibun’s picture

same here... still have the messages posted in #4

rszrama’s picture

ysturk / xibun - are you running the latest dev version of Views or Views 3.0-alpha1?

xibun’s picture

I'm using views 7.x-3.0-alpha1

xibun’s picture

and the messages disappear after installing the latest .dev version of views. thanks

smokinggoat’s picture

My 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..

rszrama’s picture

Yeah, 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?

attiks’s picture

I 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?

rszrama’s picture

Clean 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.

rszrama’s picture

fwiw, there's a patch for the Views issue here: #1072136: Undefined variable: type in views_get_handler()

ytsurk’s picture

run view alpha .. will upgrade

n8tron’s picture

I 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'

pcambra’s picture

n8tron are you using last dev version from views?

rszrama’s picture

Seriously, I just made this more prominent on the project page. Can't wait till those projects get releases... : P

n8tron’s picture

no. I just installed the dev version of views tho. I'm testing now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gmopinillosv’s picture

Hi 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.

pcambra’s picture

You should be using beta2 instead of beta1.
Also, it is still strongly recommended to use dev version of all dependent modules.

rszrama’s picture

No need for the tag either. ; ) And just remember, updates from previous versions were not supported until we hit beta.

gmopinillosv’s picture

Hello 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

vc7deo’s picture

Title: Missing Views handlers in the Beta 1 » Broken handler field_data_commerce_total.commerce_total
Priority: Normal » Critical
Status: Closed (fixed) » Active

Broken handler field_data_commerce_total.commerce_total

rszrama’s picture

Title: Broken handler field_data_commerce_total.commerce_total » Missing Views handlers in the Beta 1
Priority: Critical » Normal
Status: Active » Closed (fixed)

You 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.