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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Legacy > Extensions
    • Labels:
      None
    • Environment:

      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>

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Kristof Coomans
              Reporter:
              Valerio Saggini
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: