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

Checkbox class attribute looses default state when class is imported from a package

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • None
    • Legacy > Extensions
    • None
    • Version: 3.8
      PHP Version: php 4.4.2
      Webserver: apache_1.3.29
      Database: MySQL-server-4.1.11-0

    Description

      I create a class with a checkbox datatype with default value "checked".
      I create a package of the class that I want to import in some other ez installations
      When I import the package the class is created but the default value "checked" is lost.

      The exported package seems ok, the default value in lost during package import process:

      <attribute datatype="ezboolean"
      required="false"
      searchable="true"
      information-collector="false"
      translatable="true">
      <remote>
      <id>456</id>
      </remote>
      <name>spunta</name>
      <identifier>spunta</identifier>
      <placement>1</placement>
      <datatype-parameters>
      <default-value is-set="true" />
      </datatype-parameters>
      </attribute>

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            valerio valerio
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: