[
https://issues.apache.org/jira/browse/OFBIZ-5551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060626#comment-14060626
]
Jacopo Cappellato commented on OFBIZ-5551:
------------------------------------------
The "Remove" button triggers the service "removeUserLoginFromSecurityGroup"
that is defined as engine="entity-auto"; the code in EntityAutoEngine.java
attempts to retrieve the record using PrimaryKeyFinder.runFind(...); in this
method we have:
{code}
// need the timeZone and locale for conversion, so add here and remove after
entityContext.put("locale", context.get("locale"));
entityContext.put("timeZone", context.get("timeZone"));
modelEntity.convertFieldMapInPlace(entityContext, delegator);
entityContext.remove("locale");
entityContext.remove("timeZone");
{code}
This is I guess where the fromDate field's value, coming from the db, is
modified considering the session timezone (under the assumption it was entered
by the user in the session's timezone).
> Cannot delete the record When Server Timezone and Application timeZone are
> different.
> -------------------------------------------------------------------------------------
>
> Key: OFBIZ-5551
> URL: https://issues.apache.org/jira/browse/OFBIZ-5551
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Release Branch 13.07, Release Branch 12.04, Release
> Branch 11.04, Trunk
> Reporter: SenthilMurugan
> Assignee: Jacopo Cappellato
> Labels: partymgr, service-engine, timezone
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> I have added a role 'PROJECTADMIN' to admin when System timezone is in CST,
> Then i changed the timezone to 'Hongkong' and tried to delete the recoed,
> Nothing happens.
--
This message was sent by Atlassian JIRA
(v6.2#6252)