[ 
https://issues.apache.org/jira/browse/OFBIZ-4110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-4110.
----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Jacques Le Roux

Andrey,

BTW I did a mistake above: I used the trunk instead of the stable (R9.04) demo. 
But I just tried and can't reproduce also with stable demo as you can check at 
https://demo-stable.ofbiz.apache.org/accounting/control/TimePeriods?organizationPartyId=Company
 where you will see a 
"10000          Fiscal Bi-Week  2011    2011    2011-01-01      2011-12-31" 
period I created and closed

So I close this issue and suggest you to put ?if_exist in your code

                ${allCustomTimePeriod.periodNum?if_exist}
                [${allCustomTimePeriod.customTimePeriodId?if_exist}]


> Error while viewing list of time periods
> ----------------------------------------
>
>                 Key: OFBIZ-4110
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4110
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting
>    Affects Versions: Release Branch 09.04
>         Environment: OS: SunOS  5.9 
> kernel: Generic_122300-49 
> Machine: sun4u sparc SUNW,Netra-T12
> java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
> Java HotSpot(TM) Server VM (build 1.5.0_09-b03, mixed mode)
>            Reporter: Andrey Mitroshin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>
> I've created custom time period in organization GL setting as follows
> Custom Time Period Id         Parent Period Id        Period Type Id  Period 
> Num      Period Name     From Date       Thru Date        
> 10001                 Fiscal Year     1       2011    2011-01-01      
> 2011-12-31
> when I'm viewing list of time periods I'm getting a message on the last page 
> (where my new time period resides)
> The Following Errors Occurred:
> Error calling event: org.ofbiz.webapp.event.EventHandlerException: Found URL 
> parameter [periodTypeId] passed to secure (https) request-map with uri 
> [createCustomTimePeriod] with an event that calls service 
> [createCustomTimePeriod]; this is not allowed for security reasons! The data 
> should be encrypted by making it part of the request body (a form field) 
> instead of the request URL. Moreover it would be kind if you could create a 
> Jira sub-task of https://issues.apache.org/jira/browse/OFBIZ-2330 (check 
> before if a sub-task for this error does not exist). If you are not sure how 
> to create a Jira issue please have a look before at 
> http://docs.ofbiz.org/x/r. Thank you in advance for your help.

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

Reply via email to