You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2013/01/07 02:25:13 UTC
[jira] [Closed] (ROL-1171) Settings for the default text editor not
being considered
[ https://issues.apache.org/jira/browse/ROL-1171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Mazza closed ROL-1171.
---------------------------
Resolution: Unresolved
Roller version 2.3 too old; please try with Roller 5.x.
> Settings for the default text editor not being considered
> ---------------------------------------------------------
>
> Key: ROL-1171
> URL: https://issues.apache.org/jira/browse/ROL-1171
> Project: Roller
> Issue Type: Bug
> Components: Weblog Editor
> Affects Versions: 2.3
> Environment: win xp, java 5, tomcat 5.5.16
> Reporter: Martin Giljohann
> Assignee: Roller Unassigned
> Priority: Minor
>
> There is a bug with the default text editor for a new blog and the respective settings being made by the roller admin.
> No matter, which value is being set in the roller.properties for the newweblog.editor property, the default editor for a new blog is always editor-text.jsp (although I set it to editor-rte).
> The reason for this is that the org.apache.roller.presentation.website.actions.CreateWebsiteAction#save ActionForward does not consider the newweblog.editor property in roller.properties; it uses a property from the rollerRuntimeConfigDefs.xml (which should per documentation never be touched by the admin).
> The simple modification I propose is the following:
> [in CreateWebsiteAction#save]
> [...]
> try {
> // String def = RollerRuntimeConfig
> // getProperty("users.editor.pages");
> // String[] defs = Utilities.stringToStringArray(def, ",");
> // wd.setEditorPage(defs[0]);
> wd.setEditorPage(RollerConfig.getProperty("newweblog.editor"));
> } catch (Exception ex) {
> [...]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira