try to import Events and Activities type... got error :

The machine-readable name must contain only lowercase letters, numbers, and underscores.
?

Comments

jim005’s picture

Status: Active » Patch (to be ported)

I solved the error, but don't field had been created.... general problem ? or just for me ?

patch applied in the file : googlebase.admin.inc
line 106 : 'type' => str_replace(" ", "_", strtolower($form_state['values']['type'])),

littlealy’s picture

Am I to understand you replaced the code:

'type' => str_replace(" ", "_", $form_state['values']['type']),

with

'type' => str_replace(" ", "_", strtolower($form_state['values']['type'])),

For me, this code appears on line 92, so I just wanted to clarify! Am testing it myself to see if this is a fix.

chriscalip’s picture

patch for this fix

rfarm’s picture

patch fixed my lowercase error but still no fields created when creating a new content type

longwave’s picture

Status: Patch (to be ported) » Fixed

Committed #3, thanks for submitting the patch.

Not sure why fields aren't being submitted to Google, as that works for me, but please discuss that in a separate issue.

Status: Fixed » Closed (fixed)

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