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

content class import wizard does not show class name

    Details

      Description

      eZContentClassPackageHandler::explainInstallItem tries to get the text content of an element named "name", but this element is not created when exporting a class (eZContentClassPackageHandler::classDOMTree. The name element was created in 3.8 but was replaced by the serialized-name-list element in 3.9.

      1. ezcontentclasspackagehandler.php.class_name.patch
        0.4 kB
        Brookins Consulting
      2. ezpm.php.language_map.patch
        1 kB
        Brookins Consulting
      3. kernel.package.install.php.patch
        1 kB
        Brookins Consulting

        Issue Links

          Activity

          Hide
          ezrobot added a comment -

          This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          Show
          ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.
          Hide
          Bjørn Reiten added a comment -

          Tested and works fine with trunk rev. 19726.

          Show
          Bjørn Reiten added a comment - Tested and works fine with trunk rev. 19726.
          Hide
          Dmitry Lakhtyuk added a comment -

          fixed in
          stable/3.9(3.9.3) rev. 19617,
          trunk(3.10.0beta1) rev. 19616

          Show
          Dmitry Lakhtyuk added a comment - fixed in stable/3.9(3.9.3) rev. 19617, trunk(3.10.0beta1) rev. 19616
          Hide
          Brookins Consulting added a comment -

          Attached is simple patch which provides further changes to the package module's install view to further resolve this issue. Patched against svn rev 19519 and tested with 3.10alpha1

          Respectfully,
          Brookins Consultingkernel.package.install.php.patch

          Show
          Brookins Consulting added a comment - Attached is simple patch which provides further changes to the package module's install view to further resolve this issue. Patched against svn rev 19519 and tested with 3.10alpha1 Respectfully, Brookins Consulting kernel.package.install.php.patch
          Hide
          Brookins Consulting added a comment - - edited

          Attached is simple patch which provides further changes to the package shell program ('ezpm.php') to further resolve this issue. Patched against and tested with 3.10alpha1

          This patch provides code changes needed to fetch the correct class name(s) and attribute name(s) during package import of classes by providing the required 'language_map' array.

          The above patch in practice requires this patch in order to solve this breakdown (at least for our own needs).

          Without this patch the following error occurs, # ./ezpm.php -d -l admin -p publish install 25-Classes
          Package 25-Classes sucessfully installed

                                                                                1. DEBUG ####################################
                                                                                  Notice: (eZMySQLDB::query(0.000 ms) query number per page:0)
                                                                                  SET NAMES 'utf8'

          Warning: (PHP)
          Undefined index: language_map in /var/www/vhosts/ksg.int.brookinsconsulting.com/httpdocs/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 170

          Notice: (cluster::fs::var/ezwebin_site/cache/expiry.php)
          Retrieved cache 'var/ezwebin_site/cache/expiry.php' with data of type array

          Warning: (PHP)
          Undefined index: language_map in /var/www/vhosts/ksg.int.brookinsconsulting.com/httpdocs/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 170

          Warning: (PHP)
          Undefined index: language_map in /var/www/vhosts/ksg.int.brookinsconsulting.com/httpdocs/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 170

                                                                                1. DEBUG ####################################

          This is an older issue but one which affects a large number of users attempting to make full use of the package system.

          It would be very nice for these to be included in eZ Publish.

          Respectfully,
          Brookins Consultingezpm.php.language_map.patch

          Show
          Brookins Consulting added a comment - - edited Attached is simple patch which provides further changes to the package shell program ('ezpm.php') to further resolve this issue. Patched against and tested with 3.10alpha1 This patch provides code changes needed to fetch the correct class name(s) and attribute name(s) during package import of classes by providing the required 'language_map' array. The above patch in practice requires this patch in order to solve this breakdown (at least for our own needs). Without this patch the following error occurs, # ./ezpm.php -d -l admin -p publish install 25-Classes Package 25-Classes sucessfully installed DEBUG #################################### Notice: (eZMySQLDB::query(0.000 ms) query number per page:0) SET NAMES 'utf8' Warning: (PHP) Undefined index: language_map in /var/www/vhosts/ksg.int.brookinsconsulting.com/httpdocs/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 170 Notice: (cluster::fs::var/ezwebin_site/cache/expiry.php) Retrieved cache 'var/ezwebin_site/cache/expiry.php' with data of type array Warning: (PHP) Undefined index: language_map in /var/www/vhosts/ksg.int.brookinsconsulting.com/httpdocs/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 170 Warning: (PHP) Undefined index: language_map in /var/www/vhosts/ksg.int.brookinsconsulting.com/httpdocs/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 170 DEBUG #################################### This is an older issue but one which affects a large number of users attempting to make full use of the package system. It would be very nice for these to be included in eZ Publish. Respectfully, Brookins Consulting ezpm.php.language_map.patch
          Hide
          Brookins Consulting added a comment -

          This issue may be duplicated by #11199
          http://issues.ez.no/11199

          A separate reported issue tested with 3.10alpha1

          Show
          Brookins Consulting added a comment - This issue may be duplicated by #11199 http://issues.ez.no/11199 A separate reported issue tested with 3.10alpha1
          Hide
          Brookins Consulting added a comment - - edited

          Attached is simple patch which resolves (in part) this issue. Patched against and tested with 3.10alpha1

          This patch provides code changes needed to retain the correct class name(s) and attribute name(s) during package import of classes.

          This is an older issue but one which affects a large number of users attempting to make full use of the package system.

          It would be very nice for these to be included in eZ Publish.

          Respectfully,
          Brookins Consulting

          Thank you for your continued support!ezcontentclasspackagehandler.php.class_name.patch

          Show
          Brookins Consulting added a comment - - edited Attached is simple patch which resolves (in part) this issue. Patched against and tested with 3.10alpha1 This patch provides code changes needed to retain the correct class name(s) and attribute name(s) during package import of classes. This is an older issue but one which affects a large number of users attempting to make full use of the package system. It would be very nice for these to be included in eZ Publish. Respectfully, Brookins Consulting Thank you for your continued support! ezcontentclasspackagehandler.php.class_name.patch

            People

            • Assignee:
              Dmitry Lakhtyuk
              Reporter:
              Kristof Coomans
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: