I did a deinstall of the complete store, including using the modules-Deinstall functions.
whe reinstalling catalog -> query you need to install store and product -> yes there was the errorbelow.
Solution: first delete the taxonmy by using Structure -Taxonomy
I my opinion there should either be an deleting function of the taxonmy or any handling when reinstalling the cataloge again

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'catalog' for key 'machine_name': INSERT INTO {taxonomy_vocabulary} (name, machine_name, description, hierarchy, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => Katalog [:db_insert_placeholder_1] => catalog [:db_insert_placeholder_2] => [:db_insert_placeholder_3] => 1 [:db_insert_placeholder_4] => uc_catalog ) in drupal_write_record() (Zeile 7036 von .../web/drupal/includes/common.inc).

CommentFileSizeAuthor
#2 1839168-uc_catalog-reinstall.patch664 byteslongwave
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

etron770’s picture

Component: Catalog » Products

Additionally it seems that there is a product (view) problem.
I added a catalog entry and I added an ubercart class and added a product of the new class:

when clicking home (shows the product):

    Notice: Undefined property: stdClass::$sell_price in uc_product_view() (Zeile 762 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$model in uc_product_view() (Zeile 773 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$list_price in uc_product_view() (Zeile 779 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$cost in uc_product_view() (Zeile 789 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$sell_price in uc_product_view() (Zeile 801 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$weight in uc_product_view() (Zeile 810 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$weight_units in uc_product_view() (Zeile 811 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$length in uc_product_view() (Zeile 821 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$width in uc_product_view() (Zeile 822 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$height in uc_product_view() (Zeile 823 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
    Notice: Undefined property: stdClass::$length_units in uc_product_view() (Zeile 824 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).

When clicking show my account:

		Notice: Undefined index: none in uc_product_get_image_widget() (Zeile 1460 von .../web/drupal/sites/all/modules/ubercart/uc_product/uc_product.module).
longwave’s picture

Version: 7.x-3.2 » 7.x-3.x-dev
Status: Active » Needs review
FileSize
664 bytes

We deliberately do not delete the taxonomy, as users may not expect to lose data when uninstalling the catalog module. There is also a check to see if the taxonomy exists when reinstalling, but this check is faulty; it relies on the user leaving the vocabulary name as "Catalog". The attached patch should fix this, by checking for the machine name of the catalog instead.

The second failure was likely a result of the first, and I have not been able to reproduce this.

longwave’s picture

Status: Needs review » Fixed

Committed #2.

If the second error in #1 is still reproducible from a fresh install after applying the above patch, please open a new issue with steps to reproduce.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

deleting server path