[
http://jira.magnolia-cms.com/browse/MAGNOLIA-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grégory Joseph reopened MAGNOLIA-4068:
--------------------------------------
I'd suggest we also renamed the default file to
{{magnolia-activation-keypair.properties}} (as opposed to
{{keypair.properties}}); that'd be a little more explicit (for someone who'd
stumble upon the file on his server, for example)
I don't think about the implications if we changed the default value for this
property; let's just make sure it appears in the release notes. (in fact that
value is already used in the [example from the 4.5.1 release
notes|http://documentation.magnolia-cms.com/releases/4-5-1.html#Activationkeypair]
> Activation keypair file is generated in "current" directory
> -----------------------------------------------------------
>
> Key: MAGNOLIA-4068
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4068
> Project: Magnolia
> Issue Type: Bug
> Security Level: Public
> Components: activation, core
> Affects Versions: 4.5.1
> Reporter: Grégory Joseph
> Assignee: Federico Grilli
> Priority: Critical
> Fix For: 4.5.2
>
>
> If you start Tomcat from the {{bin/}} directory, the result is that you'll
> have {{<tomcat-home>/bin/WEB-INF/config/default/keypair.properties}}. Fun
> story, if the next time around, you start the same instance from a different
> location, the key won't be found.
> Two issues, probably:
> * the default value for {{magnolia.author.key.location}} is a relative path
> ({{WEB-INF/config/default/keypair.properties}}. Prefixing it with
> {{$\{magnolia.home\}}} would be a quick and simple solution.
> * the value is used with {{new File(..path..)}}; use one of the many methods
> we have lying around to make sure we use an absolute path, or that a relative
> path is relative to the webapp's root and not the *current directory*.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------