Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-207

[PATCH] Psml browser error when language specific psml exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.4b4-dev / CVS
    • None
    • Customizer
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 16627

    Description

      Overview Description: When using the psml browser to edit the anonymous user's
      default psml, the customizer fails to edit the psml.

      Steps to Reproduce:
      1) Log in as admin
      2) Go to admin tab
      3) Click on PSML browser
      4) Click on default.psml under user/anon/html
      5) Choose to delete the Dynamic pane

      Actual Result: A page that displays
      $jetspeed.getCustomizer($data.Customized).getContent($data)

      Expected Results: anonymous user's psml with Dynamic pane deleted

      Build Date: 1/29/03
      Platform: Windows 2000
      Tomcat Version: 4.1.18
      JDK: 1.4.0_01

      Comments:
      I believe that the problem lies in the fact that the language=-1 is not set in
      the form action that is submitted when you click on the delete icon. If you
      instead use the following url

      http://localhost:8080/jetspeed/portal/media-
      type/html/user/anon/page/default.psml/template/Customize?
      mtype=html&position=2&action=controllers.PanedControllerAction&eventSubmit_doDel
      ete=1&language=-1

      the customizer will behave correctly. I'm not sure of where to put the fix
      (velocity or jslink), but I think that it entails putting the language value
      into the link.

      Attachments

        Activity

          People

            morciuch@apache.org Mark Orciuch
            caius1440@hotmail.com Jeremy Ford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: