[ 
https://issues.apache.org/jira/browse/TRB-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442431#comment-13442431
 ] 

Georg commented on TRB-91:
--------------------------

This issue occurred because Turbine 4.0 M1 and M2 has still fulcrum parser 
version 1.0.2 dependency instead of the newest 1.0.3 version, where this 
problem is solved (and another one too, see below). 

This should be changed: (1) the 1.0.3 from SNAPSHOT to final, (2) the pom.xml 
in the trunk 4.0-M2-SNAPSHOT to have the correct 1.0.3 fulcrum parser 
dependency.

Additionally, in the tagged version 1.0.2 the automaticUpload parameter is 
defined as a attribute, not as a child, which is in contrast to the 
documentation http://turbine.apache.org/fulcrum/fulcrum-parser/ (last change 
from 2009!).

(though I made the mistake to reference the fulcrum-pool instead of 
fulcrum-parser in the bug description)

                
> urlfolding configuration value never read in fulcrum DefaultParserService 
> --------------------------------------------------------------------------
>
>                 Key: TRB-91
>                 URL: https://issues.apache.org/jira/browse/TRB-91
>             Project: Turbine
>          Issue Type: Bug
>          Components: Fulcrum
>    Affects Versions: Core 4.0-M1
>         Environment: fulcrum pool version: 1.0.4, windows 64bit, intel.
>            Reporter: Georg Kallidis
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> I followed the example 
> http://wiki.apache.org/turbine/Turbine4/Turbine4.0M1/Migrate233.
> I set in componentConfiguration.xml for the parser element 
> <urlCaseFolding>lower</urlCaseFolding>, but activating DEBUG, I get always 
> urlCaseFolding = 1, i.e. 
> org.apache.fulcrum.parser.ParserService.URL_CASE_FOLDING_NONE.
> Solution:
> In org.apache.fulcrum.parser.DefaultParserService.configure(Configuration)  
> urlCaseFolding is only read from configuration 
> if (folding == URL_CASE_FOLDING_UNSET). But folding is initialized with 
>  /** The folding from the configuration */
>     private int folding = URL_CASE_FOLDING_NONE;
> As a consequence the configuraiton is never read (there is no setter), at 
> least if I am not missing some hidden introspection!
> At least I could get to work only if I set  private int folding to 
> URL_CASE_FOLDING_UNSET;  (or change the condition in configure to ..NONE).

--
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

Reply via email to