Dev - Minor patch for createPartyAcctgPreference form

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev - Minor patch for createPartyAcctgPreference form

Scott Gray

Hi

 

When creating a PartyAcctgPreference using the Accounting app, an exception is thrown because organizationPartyId is missing from the url.  This is very minor as the form is only ever used once per org, and the entity is still created.  However attached is the patch.

 

Regards

Scott


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

AdminForms.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Minor patch for createPartyAcctgPreference form

Hans Bakker
Hi Scott,

thank you for reporting this problem. However it is solved a ltlle bit
different in revision 7643.

perhaps you did not know, but you cannot supply parameters in a form target.
If you want to do that, you have to create a hidden field as was done now.

thanks again for reporting this,

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc


On Saturday 20 May 2006 11:22, Scott Gray wrote:

> Hi
>
>
>
> When creating a PartyAcctgPreference using the Accounting app, an exception
> is thrown because organizationPartyId is missing from the url.  This is
> very minor as the form is only ever used once per org, and the entity is
> still created.  However attached is the patch.
>
>
>
> Regards
>
> Scott

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dev - Minor patch for createPartyAcctgPreference form

Scott Gray
Hi Hans

I wasn't sure if I could or not, so it tried it and it worked.  But anyway
as long as its fixed

Regards
Scott
-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Hans Bakker
Sent: Saturday, 20 May 2006 5:11 p.m.
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - Minor patch for createPartyAcctgPreference form

Hi Scott,

thank you for reporting this problem. However it is solved a ltlle bit
different in revision 7643.

perhaps you did not know, but you cannot supply parameters in a form target.

If you want to do that, you have to create a hidden field as was done now.

thanks again for reporting this,

--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc


On Saturday 20 May 2006 11:22, Scott Gray wrote:
> Hi
>
>
>
> When creating a PartyAcctgPreference using the Accounting app, an
exception
> is thrown because organizationPartyId is missing from the url.  This is
> very minor as the form is only ever used once per org, and the entity is
> still created.  However attached is the patch.
>
>
>
> Regards
>
> Scott

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev