You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <no...@atlassian.com> on 2007/07/27 16:49:31 UTC
[Roller-JIRA] Resolved: (ROL-1465) PreviewServlet broken due to
OpenJPA detached object limitations
[ http://opensource.atlassian.com/projects/roller/browse/ROL-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Johnson resolved ROL-1465.
--------------------------------
Resolution: Fixed
Seems to be working fine in current builds.
> PreviewServlet broken due to OpenJPA detached object limitations
> ----------------------------------------------------------------
>
> Key: ROL-1465
> URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1465
> Project: Roller
> Issue Type: Bug
> Components: JPA Backend
> Reporter: David Johnson
> Assignee: Roller Unassigned
> Fix For: 4.0
>
>
> The PreviewServlet, which provides both blog entry previews and theme previews, is currently broken when JPA is used as the backend.
> The problem is that the PreviewServlet creates a temporary Weblog object, which is not persisted and is therefore considered by JPA to be a "detached object." So any queries that use that object, e.g. in a where clause, will fail.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira