Skip to content

JPetStore doesn't work correctly on Application Server Clustering. [SPR-1742] #6439

@spring-projects-issues

Description

@spring-projects-issues

Takayuki Kaneko opened SPR-1742 and commented

HttpSession#setAttribute have to be called when Cart object is updated.
Almost application servers use this method to decide whether they replicate objects.

The patch is below.

*** UpdateCartQuantitiesController.java Sat Feb 25 23:14:49 2006
--- UpdateCartQuantitiesController.java.modify Sat Feb 25 23:16:53 2006


*** 34,39 ****
--- 34,40 ----
//ignore on purpose
}
}
+

  WebUtils.setSessionAttribute(request, "sessionCart", cart);
        return new ModelAndView("Cart", "cart", cart);
}

No further details from SPR-1742

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions