You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2009/09/15 02:28:57 UTC

[jira] Created: (OFBIZ-2943) send contact mech email is broken for partyless logins

send contact mech email is broken for partyless logins
------------------------------------------------------

                 Key: OFBIZ-2943
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2943
             Project: OFBiz
          Issue Type: Bug
          Components: party
    Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
            Reporter: Adam Heath
            Priority: Minor


If only a seed install is done, and the preliminary UserLogin is created, you will not have any 'admin' parties, and the UserLogin will not be attached to any party.

You can happily log into any backend webapp, and things mostly work.

however, if you create a person, and create an email address for that person, then the profile page breaks.  This is due to the following exception:

freemarker.core.InvalidReferenceException: Expression userLogin.partyId is undefined on line 106, column 58 in component://party/webapp/partymgr/party/profileblocks/Contact.ftl.

And from the above file:

                    <form method="post" action="<@o...@ofbizUrl>" onSubmit="javascript:submitFormDisableSubmits(this)" name
="createEmail">
                      <input name="partyIdFrom" value="${userLogin.partyId}" type="hidden"/>
                      <input name="partyIdTo" value="${partyId}" type="hidden"/>
                      <input name="my" value="My" type="hidden"/>
                      <input name="statusId" value="COM_PENDING" type="hidden"/>
                      <input name="communicationEventTypeId" value="EMAIL_COMMUNICATION" type="hidden"/>
                    </form>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OFBIZ-2943) send contact mech email is broken for partyless logins

Posted by "Adam Heath (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath closed OFBIZ-2943.
-----------------------------


> send contact mech email is broken for partyless logins
> ------------------------------------------------------
>
>                 Key: OFBIZ-2943
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2943
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>            Priority: Minor
>             Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk
>
>
> If only a seed install is done, and the preliminary UserLogin is created, you will not have any 'admin' parties, and the UserLogin will not be attached to any party.
> You can happily log into any backend webapp, and things mostly work.
> however, if you create a person, and create an email address for that person, then the profile page breaks.  This is due to the following exception:
> freemarker.core.InvalidReferenceException: Expression userLogin.partyId is undefined on line 106, column 58 in component://party/webapp/partymgr/party/profileblocks/Contact.ftl.
> And from the above file:
>                     <form method="post" action="<@o...@ofbizUrl>" onSubmit="javascript:submitFormDisableSubmits(this)" name
> ="createEmail">
>                       <input name="partyIdFrom" value="${userLogin.partyId}" type="hidden"/>
>                       <input name="partyIdTo" value="${partyId}" type="hidden"/>
>                       <input name="my" value="My" type="hidden"/>
>                       <input name="statusId" value="COM_PENDING" type="hidden"/>
>                       <input name="communicationEventTypeId" value="EMAIL_COMMUNICATION" type="hidden"/>
>                     </form>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OFBIZ-2943) send contact mech email is broken for partyless logins

Posted by "Adam Heath (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Heath resolved OFBIZ-2943.
-------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk
                   Release Branch 9.04
                   Release Branch 4.0
         Assignee: Adam Heath

Fixed in all current branches.

> send contact mech email is broken for partyless logins
> ------------------------------------------------------
>
>                 Key: OFBIZ-2943
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2943
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Release Branch 4.0, Release Branch 9.04, SVN trunk
>            Reporter: Adam Heath
>            Assignee: Adam Heath
>            Priority: Minor
>             Fix For: Release Branch 4.0, Release Branch 9.04, SVN trunk
>
>
> If only a seed install is done, and the preliminary UserLogin is created, you will not have any 'admin' parties, and the UserLogin will not be attached to any party.
> You can happily log into any backend webapp, and things mostly work.
> however, if you create a person, and create an email address for that person, then the profile page breaks.  This is due to the following exception:
> freemarker.core.InvalidReferenceException: Expression userLogin.partyId is undefined on line 106, column 58 in component://party/webapp/partymgr/party/profileblocks/Contact.ftl.
> And from the above file:
>                     <form method="post" action="<@o...@ofbizUrl>" onSubmit="javascript:submitFormDisableSubmits(this)" name
> ="createEmail">
>                       <input name="partyIdFrom" value="${userLogin.partyId}" type="hidden"/>
>                       <input name="partyIdTo" value="${partyId}" type="hidden"/>
>                       <input name="my" value="My" type="hidden"/>
>                       <input name="statusId" value="COM_PENDING" type="hidden"/>
>                       <input name="communicationEventTypeId" value="EMAIL_COMMUNICATION" type="hidden"/>
>                     </form>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.