Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    165
    Plugin Contributions
    1

    Default v151 -v153 product type layout edit: configuration description not showing

    Reproduce bug in ZC v151 to v153:
    (1) Navigate to [Admin backend] -> Menu -> Catalog -> Product Types -> Product General -> edit Layout
    (2) Choose any setting, so that the settings info box on the right is ready for input

    The configuration description text between the configuration title and the configuration value is not displayed.

    Cause:
    The SQL query does not include the field "configuration_description"
    Line 193 in "/admin/product_types.php" of ZC v153:
    Code:
      $configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key,
                                            use_function from " . TABLE_PRODUCT_TYPE_LAYOUT . "
                                            where product_type_id = '

    Fix:
    Include field "configuration_description" in query:
    Code:
      
      $configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key, configuration_description,
                                            use_function from " . TABLE_PRODUCT_TYPE_LAYOUT . "
                                            where product_type_id = '" . (int)$_GET['ptID'] . "'
                                            order by sort_order");

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: v151 -v153 product type layout edit: configuration description not showing

    Quote Originally Posted by philou View Post
    Reproduce bug in ZC v151 to v153:
    (1) Navigate to [Admin backend] -> Menu -> Catalog -> Product Types -> Product General -> edit Layout
    (2) Choose any setting, so that the settings info box on the right is ready for input

    The configuration description text between the configuration title and the configuration value is not displayed.

    Cause:
    The SQL query does not include the field "configuration_description"
    Line 193 in "/admin/product_types.php" of ZC v153:
    Code:
      $configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key,
                                            use_function from " . TABLE_PRODUCT_TYPE_LAYOUT . "
                                            where product_type_id = '

    Fix:
    Include field "configuration_description" in query:
    Code:
      
      $configuration = $db->Execute("select configuration_id, configuration_title, configuration_value, configuration_key, configuration_description,
                                            use_function from " . TABLE_PRODUCT_TYPE_LAYOUT . "
                                            where product_type_id = '" . (int)$_GET['ptID'] . "'
                                            order by sort_order");
    Are you trying to indicate that before doing the above, that if the instructions are followed that when that screen first appears (right area to edit) doesnt/didnt display the following:

    Display Model Number on Product Info 0= off 1= on
    A fresh install of 1.5.3 provides that type of information. An installed version of 1.5.1 that was looked at also had similar information. I haven't looked at the underlying file/query, but it seems like that is the information that is desired to be incorporated based on the above. Further if the fresh install provides the correct information, an upgrade ought to also contain the correct information and the omission of it would be a result of an incorrect upgrade. If the information content I provided is not that of the description like is suggested then it is a bug with the software and has nothing to do with an upgrade as I believe I understand the above situation.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v153 v151 to v153 problem with categories
    By SilverHD in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 24 Mar 2015, 06:42 AM
  2. problem with upgrade from v151 to v153 - help please
    By bryanb3 in forum Upgrading to 1.5.x
    Replies: 124
    Last Post: 5 Nov 2014, 02:10 AM
  3. v153 fresh installing v153, importing DB from v151: Your database appears to need patching
    By tpeck in forum Installing on a Linux/Unix Server
    Replies: 16
    Last Post: 25 Oct 2014, 11:05 PM
  4. v153 After upgrading from v151 to v153 I got a warning saying the db needs to be patched
    By icecold in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 30 Jul 2014, 07:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg