I just downloaded RC2 and testing it.
Another problem is the first time that i run RC1 and also RC2, i have to change my windows's regional in part of standards and formats to English(normally i set it to Thai), if i didn't change it, alfresco will throw an exception when it try to import a content_template_examples.xml in bootstrap step. The problem its about date string in that file. I already debug this case and found that the problem came from DefaultTypeConverter.java when it try to convert that date string to Date object.
The below is part of codes from DefaultTypeConverter.java.
INSTANCE.addConverter(String.class, Date.class, new TypeConverter.Converter<String, Date>()
{
public Date convert(String source)
{
Date date = ISO8601DateFormat.parse(source);
if (date == null)
{
throw new TypeConversionException("Failed to parse date " + source);
}
return date;
}
});
I fixed by modified parse() method of ISO8601DateFormat.java by get an instance of Calendar with US locale then it ok.
// Calendar calendar = Calendar.getInstance(timezone);
Calendar calendar = Calendar.getInstance(Locale.US);
I concern about this because the version before RC1 there is not the problem like this. What do you think, kavin?
Thanks,
anurak