]
RH Bugzilla Integration commented on GTNPORTAL-3469:
----------------------------------------------------
Peter Palaga <ppalaga(a)redhat.com> changed the Status of [bug
PortalSetupCommand does not ensure that initialpassword is written on
a new line
--------------------------------------------------------------------------------
Key: GTNPORTAL-3469
URL:
https://issues.jboss.org/browse/GTNPORTAL-3469
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Peter Palaga
Assignee: Peter Palaga
Fix For: 3.8.0.Final
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
{code:plain}
# Logged user keep alive
gatein.webui.keepalive.enabled=true
gatein.webui.keepalive.interval=60000gatein.portal.setup.initialpassword.root=6MSyXIj3kkQ=
# Modified by portal-setup.sh
{code}
Expected:
{code:plain}
# 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
{code}