Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.1.20 EE GA2
    • Fix Version/s: 6.2.0 CE M4
    • Component/s: Security, Security > PACL
    • Labels:
      None
    • Fix Priority:
      5
    • Similar Issues:
      Show 4 results 

      Description

      Place the attached SpedOne-portlet-6.1.20.1.war to the deploy directory. You will get error message (see in the attachment: SPEDONE_deploy.txt).
      I attach the source code also (SpedOne-portlet.zip). When I start the server (it contains this portlet) I get error message: Attempted to get class loader (see in the attachment: Attempted to get class loader.txt).

      1. Attempted to get class loader.txt
        80 kB
        Gabor Kovacs
      2. SPEDONE_deploy.txt
        31 kB
        Gabor Kovacs

        Activity

        Hide
        Zsolt Berentey (Inactive) added a comment -

        There are two things here:

        1. getting class loader by a taglib, which is not declared. The fix for this is already on master

        2. get declared members by jodd's ReflectUtil. The fix to this is also on master.

        Please retest this with the current master and update the ticket accordingly.

        Thanks.

        Show
        Zsolt Berentey (Inactive) added a comment - There are two things here: 1. getting class loader by a taglib, which is not declared. The fix for this is already on master 2. get declared members by jodd's ReflectUtil. The fix to this is also on master. Please retest this with the current master and update the ticket accordingly. Thanks.
        Hide
        Gabor Kovacs added a comment -

        I followed the next steps:
        1. Download the plugins sdk from trunk, and the portal from the trunk also.
        2. Change the liferay-versions property to 6.2.0 in liferay-plugin-package.properties.
        3. After some security problems, I found out what other lines are needed in liferay-plugin-package.properties' security-manager-get-bean-property:
        "com.liferay.portal.kernel.xml.SAXReaderUtil,\
        com.liferay.portal.kernel.util.LocaleUtil,\
        com.liferay.portal.model.ModelHintsUtil,\
        com.liferay.portal.kernel.util.MethodCache"
        4. Run an ant build-service and an ant deploy, then copy the new war into the deploy directory of the trunk version portal.
        It succeeded!
        I see the portlet in Add -> More -> SpedOne.
        You can add to the page, and it appears well.

        So it seems working on the trunk, but I think, it should be backported to 6.1.20, because it is the latest version for our users.

        Show
        Gabor Kovacs added a comment - I followed the next steps: 1. Download the plugins sdk from trunk, and the portal from the trunk also. 2. Change the liferay-versions property to 6.2.0 in liferay-plugin-package.properties. 3. After some security problems, I found out what other lines are needed in liferay-plugin-package.properties' security-manager-get-bean-property: "com.liferay.portal.kernel.xml.SAXReaderUtil,\ com.liferay.portal.kernel.util.LocaleUtil,\ com.liferay.portal.model.ModelHintsUtil,\ com.liferay.portal.kernel.util.MethodCache" 4. Run an ant build-service and an ant deploy, then copy the new war into the deploy directory of the trunk version portal. It succeeded! I see the portlet in Add -> More -> SpedOne. You can add to the page, and it appears well. So it seems working on the trunk, but I think, it should be backported to 6.1.20, because it is the latest version for our users.
        Hide
        Paul Chung (Inactive) added a comment -

        Hi Gabor,

        This ticket is a critical fix for the SP1 release. Can you provide me with a status report on your progress for this ticket? Thanks!

        Show
        Paul Chung (Inactive) added a comment - Hi Gabor, This ticket is a critical fix for the SP1 release. Can you provide me with a status report on your progress for this ticket? Thanks!
        Hide
        Gabor Kovacs added a comment -

        No Longer reproducible on trunk. Git: 6b7defb818ca7be926207855a141e3b30e5898f4

        Show
        Gabor Kovacs added a comment - No Longer reproducible on trunk. Git: 6b7defb818ca7be926207855a141e3b30e5898f4

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 15 weeks, 1 day ago

              Development

                Structure Helper Panel