Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-3469

PortalSetupCommand does not ensure that initialpassword is written on a new line

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.8.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Steps to reproduce:
      (1) Ensure that $JBOSS_HOME/standalone/configuration/gatein/configuration.properties do not contain gatein.portal.setup.initialpassword.root in any form: commented or active.
      (2) Ensure that the last key value pair is not terminated with a new line character
      (3) run $JBOSS_HOME/bin/portal-setup.sh" -p "secret"
      Not OK: The configuration.properties file ends with

      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      # Logged user keep alive
      gatein.webui.keepalive.enabled=true
      gatein.webui.keepalive.interval=60000gatein.portal.setup.initialpassword.root=6MSyXIj3kkQ= # Modified by portal-setup.sh
      

      Expected:

      Unable to find source-code formatter for language: plain. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      # Logged user keep alive
      gatein.webui.keepalive.enabled=true
      gatein.webui.keepalive.interval=60000
      gatein.portal.setup.initialpassword.root=6MSyXIj3kkQ= # Modified by portal-setup.sh
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ppalaga Peter Palaga
                Reporter:
                ppalaga Peter Palaga
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: