Announcement Announcement Module
No announcement yet.
STS 2.5.2 release language problems Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STS 2.5.2 release language problems


    Ive just had a strange experience with Roo 1.1.1.release and sts 2.5.2.release

    Language settings in menus and panels is fine and works great.
    But if the user enters data in icelandic like :

    etta er i

    when I press save sts transforms this to :

    þetta er æði

    which is very odd, and it saves this data this way, the database I use is mysql with UTF-8 collation utf_icelandic_is

    and this wasnt a problem in sts 2.5.0 release or earlier versions.

    I tried making an empty roo project with just one entity and one string field and this problem is there by default.

    any ideas would be appreciated, Ive been looking at all configuration files and messing with them with no results.


  • #2
    Further information - create controller and its contents

    This is the roo generated controller that is used when posting this.

    @RequestMapping(method = RequestMethod.POST)
    public String StudentController.create(@Valid Student student, BindingResult result, Model model, HttpServletRequest request) {
    System.out.println("# result : " + student.getName() + " #");
    if (result.hasErrors()) {
    model.addAttribute("student", student);
    return "students/create";
    return "redirect:/students/" + encodeUrlPathSegment(student.getId().toString(), request);

    and here the student object has become grabled or its character set has been changed.


    • #3
      tested 2.6.0.m1

      Same behaviour is present in 2.6.0m1

      for me this is a serious error, I now have to look into finding the most recent version of spring that doesnt have this problem.