Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16964

Default value for multioption should be none

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.4.0alpha5
    • 4.4.0alpha3
    • Legacy > Webshop
    • None

    Description

      You have to remove the current empty option in any product before publishing manually. If not you will see an empty dropdown for product options. Most products generally do not have options and we should not require this manual step.

      Should probably do the same in multoption 2 as well.

      Steps to reproduce
      Index: kernel/classes/datatypes/ezmultioption/ezmultioption.php
      ===================================================================
      --- kernel/classes/datatypes/ezmultioption/ezmultioption.php	(revision 21405)
      +++ kernel/classes/datatypes/ezmultioption/ezmultioption.php	(working copy)
      @@ -344,12 +344,6 @@
      }
      }
      }
      - else
      - {
      - //The control come here while creaging new object for MultiOption
      - $nodeID = $this->addMultiOption( "", 0, false );
      - $this->addOption( $nodeID, "", "", "" );
      - }
      }
      
      /*!
      

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: