error when paging after ebay order import

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

error when paging after ebay order import

nrieger
Hi,

 

I try to import my ebay orders into OFBiz
(https://XXXXX:8443/ebay/control/GetEbayOrders).

 

The search result shows up 32 entries (20 items per page).

 

If I try to turn to next/last page or increase the number of items per page
I get the following error/exception:

 

ERROR rendering error page [/error/error.jsp], but here is the error text:
org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
[productStoreId] passed to secure (https) request-map with uri
[GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
Thank you in advance for your help.

 

The mentioned JIRA entry is already closed.

 

What am I doing wrong ? Or is it a bug, is there a workaround (beside
setting the "From Date" and "Thru Date" so that the result has at most 20
items) ?

 

 

Thanks a lot for your help.

 

Norbert

 

P.S.: I'm working with trunk,  rev. 966518

Reply | Threaded
Open this post in threaded view
|

Re: error when paging after ebay order import

BJ Freeman
what version of the svn are you using.
  ERROR rendering error page [/error/error.jsp] can be solved by added
/error: to your web.xml
              <param-name>allowedPaths</param-name>
per patch in Jira 3820

from the look ofthe subtask list, non of the specialpurpose components
were included.
your welcome to make a subtask for ebay ans submit it.
if is basically change from get to post form action.


Norbert Rieger sent the following on 7/22/2010 12:27 AM:

> Hi,
>
>
>
> I try to import my ebay orders into OFBiz
> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>
>
>
> The search result shows up 32 entries (20 items per page).
>
>
>
> If I try to turn to next/last page or increase the number of items per page
> I get the following error/exception:
>
>
>
> ERROR rendering error page [/error/error.jsp], but here is the error text:
> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
> [productStoreId] passed to secure (https) request-map with uri
> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
> Thank you in advance for your help.
>
>
>
> The mentioned JIRA entry is already closed.
>
>
>
> What am I doing wrong ? Or is it a bug, is there a workaround (beside
> setting the "From Date" and "Thru Date" so that the result has at most 20
> items) ?
>
>
>
>
>
> Thanks a lot for your help.
>
>
>
> Norbert
>
>
>
> P.S.: I'm working with trunk,  rev. 966518
>
>
Reply | Threaded
Open this post in threaded view
|

AW: error when paging after ebay order import

nrieger
What do you mean with "what version of the svn are you using." ?

I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into eclipse,
built the project and started it in eclipse.

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:[hidden email]]
Gesendet: Donnerstag, 22. Juli 2010 10:13
An: [hidden email]
Betreff: Re: error when paging after ebay order import

what version of the svn are you using.
  ERROR rendering error page [/error/error.jsp] can be solved by added
/error: to your web.xml
              <param-name>allowedPaths</param-name>
per patch in Jira 3820

from the look ofthe subtask list, non of the specialpurpose components
were included.
your welcome to make a subtask for ebay ans submit it.
if is basically change from get to post form action.


Norbert Rieger sent the following on 7/22/2010 12:27 AM:

> Hi,
>
>
>
> I try to import my ebay orders into OFBiz
> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>
>
>
> The search result shows up 32 entries (20 items per page).
>
>
>
> If I try to turn to next/last page or increase the number of items per
page
> I get the following error/exception:
>
>
>
> ERROR rendering error page [/error/error.jsp], but here is the error text:
> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
> [productStoreId] passed to secure (https) request-map with uri
> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2

> Thank you in advance for your help.
>
>
>
> The mentioned JIRA entry is already closed.
>
>
>
> What am I doing wrong ? Or is it a bug, is there a workaround (beside
> setting the "From Date" and "Thru Date" so that the result has at most 20
> items) ?
>
>
>
>
>
> Thanks a lot for your help.
>
>
>
> Norbert
>
>
>
> P.S.: I'm working with trunk,  rev. 966518
>
>

Reply | Threaded
Open this post in threaded view
|

Re: AW: error when paging after ebay order import

BJ Freeman
when you do a checkout if you look at the console tab in the lower right
side it list all the downloaded files plus at the end is the svn number.

I ask because many are using different versions.

Norbert Rieger sent the following on 7/22/2010 1:20 AM:

> What do you mean with "what version of the svn are you using." ?
>
> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into eclipse,
> built the project and started it in eclipse.
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 10:13
> An: [hidden email]
> Betreff: Re: error when paging after ebay order import
>
> what version of the svn are you using.
>    ERROR rendering error page [/error/error.jsp] can be solved by added
> /error: to your web.xml
>                <param-name>allowedPaths</param-name>
> per patch in Jira 3820
>
> from the look ofthe subtask list, non of the specialpurpose components
> were included.
> your welcome to make a subtask for ebay ans submit it.
> if is basically change from get to post form action.
>
>
> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>> Hi,
>>
>>
>>
>> I try to import my ebay orders into OFBiz
>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>
>>
>>
>> The search result shows up 32 entries (20 items per page).
>>
>>
>>
>> If I try to turn to next/last page or increase the number of items per
> page
>> I get the following error/exception:
>>
>>
>>
>> ERROR rendering error page [/error/error.jsp], but here is the error text:
>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>> [productStoreId] passed to secure (https) request-map with uri
>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>> Thank you in advance for your help.
>>
>>
>>
>> The mentioned JIRA entry is already closed.
>>
>>
>>
>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>> setting the "From Date" and "Thru Date" so that the result has at most 20
>> items) ?
>>
>>
>>
>>
>>
>> Thanks a lot for your help.
>>
>>
>>
>> Norbert
>>
>>
>>
>> P.S.: I'm working with trunk,  rev. 966518
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

AW: AW: error when paging after ebay order import

nrieger
Ok, maybe it was misplaced in my initial posting (look at the end), sorry
for that.

P.S.: I'm working with trunk,  rev. 966518

Btw: /error is part of the allowedPaths in ebay project
(specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
error nor an error.jsp in webapp.

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:[hidden email]]
Gesendet: Donnerstag, 22. Juli 2010 10:35
An: [hidden email]
Betreff: Re: AW: error when paging after ebay order import

when you do a checkout if you look at the console tab in the lower right
side it list all the downloaded files plus at the end is the svn number.

I ask because many are using different versions.

Norbert Rieger sent the following on 7/22/2010 1:20 AM:
> What do you mean with "what version of the svn are you using." ?
>
> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
eclipse,

> built the project and started it in eclipse.
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 10:13
> An: [hidden email]
> Betreff: Re: error when paging after ebay order import
>
> what version of the svn are you using.
>    ERROR rendering error page [/error/error.jsp] can be solved by added
> /error: to your web.xml
>                <param-name>allowedPaths</param-name>
> per patch in Jira 3820
>
> from the look ofthe subtask list, non of the specialpurpose components
> were included.
> your welcome to make a subtask for ebay ans submit it.
> if is basically change from get to post form action.
>
>
> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>> Hi,
>>
>>
>>
>> I try to import my ebay orders into OFBiz
>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>
>>
>>
>> The search result shows up 32 entries (20 items per page).
>>
>>
>>
>> If I try to turn to next/last page or increase the number of items per
> page
>> I get the following error/exception:
>>
>>
>>
>> ERROR rendering error page [/error/error.jsp], but here is the error
text:

>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>> [productStoreId] passed to secure (https) request-map with uri
>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>> Thank you in advance for your help.
>>
>>
>>
>> The mentioned JIRA entry is already closed.
>>
>>
>>
>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>> setting the "From Date" and "Thru Date" so that the result has at most 20
>> items) ?
>>
>>
>>
>>
>>
>> Thanks a lot for your help.
>>
>>
>>
>> Norbert
>>
>>
>>
>> P.S.: I'm working with trunk,  rev. 966518
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: error when paging after ebay order import

BJ Freeman
Something I missed was if the webapp/error/error.jsp was present
feel free to copy it over from another webapp.


Norbert Rieger sent the following on 7/22/2010 1:41 AM:

> Ok, maybe it was misplaced in my initial posting (look at the end), sorry
> for that.
>
> P.S.: I'm working with trunk,  rev. 966518
>
> Btw: /error is part of the allowedPaths in ebay project
> (specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
> error nor an error.jsp in webapp.
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 10:35
> An: [hidden email]
> Betreff: Re: AW: error when paging after ebay order import
>
> when you do a checkout if you look at the console tab in the lower right
> side it list all the downloaded files plus at the end is the svn number.
>
> I ask because many are using different versions.
>
> Norbert Rieger sent the following on 7/22/2010 1:20 AM:
>> What do you mean with "what version of the svn are you using." ?
>>
>> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
> eclipse,
>> built the project and started it in eclipse.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Donnerstag, 22. Juli 2010 10:13
>> An: [hidden email]
>> Betreff: Re: error when paging after ebay order import
>>
>> what version of the svn are you using.
>>     ERROR rendering error page [/error/error.jsp] can be solved by added
>> /error: to your web.xml
>>                 <param-name>allowedPaths</param-name>
>> per patch in Jira 3820
>>
>> from the look ofthe subtask list, non of the specialpurpose components
>> were included.
>> your welcome to make a subtask for ebay ans submit it.
>> if is basically change from get to post form action.
>>
>>
>> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>>> Hi,
>>>
>>>
>>>
>>> I try to import my ebay orders into OFBiz
>>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>>
>>>
>>>
>>> The search result shows up 32 entries (20 items per page).
>>>
>>>
>>>
>>> If I try to turn to next/last page or increase the number of items per
>> page
>>> I get the following error/exception:
>>>
>>>
>>>
>>> ERROR rendering error page [/error/error.jsp], but here is the error
> text:
>>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>>> [productStoreId] passed to secure (https) request-map with uri
>>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>>> Thank you in advance for your help.
>>>
>>>
>>>
>>> The mentioned JIRA entry is already closed.
>>>
>>>
>>>
>>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>>> setting the "From Date" and "Thru Date" so that the result has at most 20
>>> items) ?
>>>
>>>
>>>
>>>
>>>
>>> Thanks a lot for your help.
>>>
>>>
>>>
>>> Norbert
>>>
>>>
>>>
>>> P.S.: I'm working with trunk,  rev. 966518
>>>
>>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

AW: error when paging after ebay order import

nrieger
That's what I've already done :-)

The remaining question is: how can I change the form from "get" to "post".

The form element (in webapp/widget/EbayForms.xml) doesn't have an attribute
like "method" (=>http://ofbiz.apache.org/dtds/widget-screen.xsd), or am I
wrong ?

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:[hidden email]]
Gesendet: Donnerstag, 22. Juli 2010 11:12
An: [hidden email]
Betreff: Re: error when paging after ebay order import

Something I missed was if the webapp/error/error.jsp was present
feel free to copy it over from another webapp.


Norbert Rieger sent the following on 7/22/2010 1:41 AM:

> Ok, maybe it was misplaced in my initial posting (look at the end), sorry
> for that.
>
> P.S.: I'm working with trunk,  rev. 966518
>
> Btw: /error is part of the allowedPaths in ebay project
> (specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
> error nor an error.jsp in webapp.
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 10:35
> An: [hidden email]
> Betreff: Re: AW: error when paging after ebay order import
>
> when you do a checkout if you look at the console tab in the lower right
> side it list all the downloaded files plus at the end is the svn number.
>
> I ask because many are using different versions.
>
> Norbert Rieger sent the following on 7/22/2010 1:20 AM:
>> What do you mean with "what version of the svn are you using." ?
>>
>> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
> eclipse,
>> built the project and started it in eclipse.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Donnerstag, 22. Juli 2010 10:13
>> An: [hidden email]
>> Betreff: Re: error when paging after ebay order import
>>
>> what version of the svn are you using.
>>     ERROR rendering error page [/error/error.jsp] can be solved by added
>> /error: to your web.xml
>>                 <param-name>allowedPaths</param-name>
>> per patch in Jira 3820
>>
>> from the look ofthe subtask list, non of the specialpurpose components
>> were included.
>> your welcome to make a subtask for ebay ans submit it.
>> if is basically change from get to post form action.
>>
>>
>> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>>> Hi,
>>>
>>>
>>>
>>> I try to import my ebay orders into OFBiz
>>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>>
>>>
>>>
>>> The search result shows up 32 entries (20 items per page).
>>>
>>>
>>>
>>> If I try to turn to next/last page or increase the number of items per
>> page
>>> I get the following error/exception:
>>>
>>>
>>>
>>> ERROR rendering error page [/error/error.jsp], but here is the error
> text:
>>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>>> [productStoreId] passed to secure (https) request-map with uri
>>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>>> Thank you in advance for your help.
>>>
>>>
>>>
>>> The mentioned JIRA entry is already closed.
>>>
>>>
>>>
>>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>>> setting the "From Date" and "Thru Date" so that the result has at most
20

>>> items) ?
>>>
>>>
>>>
>>>
>>>
>>> Thanks a lot for your help.
>>>
>>>
>>>
>>> Norbert
>>>
>>>
>>>
>>> P.S.: I'm working with trunk,  rev. 966518
>>>
>>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

AW: error when paging after ebay order import

nrieger
I had a look to the HTML Output which is produced for the screen.

The forms do have method "post".

The problem comes from the "paging" controls (next/prev/first/last page).

I think the controls are generated within htmlFactoryMacroLibrary
(framework/widget/templates, <#macro renderNextPrev etc.).

<div class="nav-pager">&nbsp; <ul>
<li class="nav-first-disabled"><span>First</span></li>
<li class="nav-previous-disabled"><span>Previous</span></li>
<li>Page<select name="page" size="1"
onchange="location.href='/ebay/control/GetEbayOrders?productStoreId=10001&am
p;thruDate=2010-07-22+23%3A59%3A59.0&amp;fromDate=2010-07-01+00%3A00%3A00.0&
amp;VIEW_SIZE_1=20&amp;VIEW_INDEX_1='+this.value;"><option
selected="selected" value="0">1</option>
<option value="1">2</option>
<option value="2">3</option>


The parameters are passed via request parameter to GetEbayOrders.


If setting the security attribute https from true to false for this request
(controller.xml) the paging works:

    <request-map uri="GetEbayOrders">
        <security https="false" auth="true"/>
        <event type="service" invoke="getEbayOrders"/>
        <response name="success" type="view" value="EbayOrders"/>
        <response name="failure" type="view" value="EbayOrders"/>
    </request-map>


But I think this is not was it is supposed to be....

-----Ursprüngliche Nachricht-----
Von: Norbert Rieger [mailto:[hidden email]]
Gesendet: Donnerstag, 22. Juli 2010 11:29
An: [hidden email]
Betreff: AW: error when paging after ebay order import

That's what I've already done :-)

The remaining question is: how can I change the form from "get" to "post".

The form element (in webapp/widget/EbayForms.xml) doesn't have an attribute
like "method" (=>http://ofbiz.apache.org/dtds/widget-screen.xsd), or am I
wrong ?

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:[hidden email]]
Gesendet: Donnerstag, 22. Juli 2010 11:12
An: [hidden email]
Betreff: Re: error when paging after ebay order import

Something I missed was if the webapp/error/error.jsp was present
feel free to copy it over from another webapp.


Norbert Rieger sent the following on 7/22/2010 1:41 AM:

> Ok, maybe it was misplaced in my initial posting (look at the end), sorry
> for that.
>
> P.S.: I'm working with trunk,  rev. 966518
>
> Btw: /error is part of the allowedPaths in ebay project
> (specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
> error nor an error.jsp in webapp.
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 10:35
> An: [hidden email]
> Betreff: Re: AW: error when paging after ebay order import
>
> when you do a checkout if you look at the console tab in the lower right
> side it list all the downloaded files plus at the end is the svn number.
>
> I ask because many are using different versions.
>
> Norbert Rieger sent the following on 7/22/2010 1:20 AM:
>> What do you mean with "what version of the svn are you using." ?
>>
>> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
> eclipse,
>> built the project and started it in eclipse.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Donnerstag, 22. Juli 2010 10:13
>> An: [hidden email]
>> Betreff: Re: error when paging after ebay order import
>>
>> what version of the svn are you using.
>>     ERROR rendering error page [/error/error.jsp] can be solved by added
>> /error: to your web.xml
>>                 <param-name>allowedPaths</param-name>
>> per patch in Jira 3820
>>
>> from the look ofthe subtask list, non of the specialpurpose components
>> were included.
>> your welcome to make a subtask for ebay ans submit it.
>> if is basically change from get to post form action.
>>
>>
>> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>>> Hi,
>>>
>>>
>>>
>>> I try to import my ebay orders into OFBiz
>>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>>
>>>
>>>
>>> The search result shows up 32 entries (20 items per page).
>>>
>>>
>>>
>>> If I try to turn to next/last page or increase the number of items per
>> page
>>> I get the following error/exception:
>>>
>>>
>>>
>>> ERROR rendering error page [/error/error.jsp], but here is the error
> text:
>>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>>> [productStoreId] passed to secure (https) request-map with uri
>>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>>> Thank you in advance for your help.
>>>
>>>
>>>
>>> The mentioned JIRA entry is already closed.
>>>
>>>
>>>
>>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>>> setting the "From Date" and "Thru Date" so that the result has at most
20

>>> items) ?
>>>
>>>
>>>
>>>
>>>
>>> Thanks a lot for your help.
>>>
>>>
>>>
>>> Norbert
>>>
>>>
>>>
>>> P.S.: I'm working with trunk,  rev. 966518
>>>
>>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: AW: error when paging after ebay order import

BJ Freeman
In reply to this post by nrieger
I am sorry but I don't import that many orders at once to kick the paging.
paging is generated in the widget form rendering code somewhere.
since it is common to all widget forms, it should show up on any widget
form that is a list.

I don't have time to go check this out.

Norbert Rieger sent the following on 7/22/2010 2:29 AM:

> That's what I've already done :-)
>
> The remaining question is: how can I change the form from "get" to "post".
>
> The form element (in webapp/widget/EbayForms.xml) doesn't have an attribute
> like "method" (=>http://ofbiz.apache.org/dtds/widget-screen.xsd), or am I
> wrong ?
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 11:12
> An: [hidden email]
> Betreff: Re: error when paging after ebay order import
>
> Something I missed was if the webapp/error/error.jsp was present
> feel free to copy it over from another webapp.
>
>
> Norbert Rieger sent the following on 7/22/2010 1:41 AM:
>> Ok, maybe it was misplaced in my initial posting (look at the end), sorry
>> for that.
>>
>> P.S.: I'm working with trunk,  rev. 966518
>>
>> Btw: /error is part of the allowedPaths in ebay project
>> (specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
>> error nor an error.jsp in webapp.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Donnerstag, 22. Juli 2010 10:35
>> An: [hidden email]
>> Betreff: Re: AW: error when paging after ebay order import
>>
>> when you do a checkout if you look at the console tab in the lower right
>> side it list all the downloaded files plus at the end is the svn number.
>>
>> I ask because many are using different versions.
>>
>> Norbert Rieger sent the following on 7/22/2010 1:20 AM:
>>> What do you mean with "what version of the svn are you using." ?
>>>
>>> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
>> eclipse,
>>> built the project and started it in eclipse.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:[hidden email]]
>>> Gesendet: Donnerstag, 22. Juli 2010 10:13
>>> An: [hidden email]
>>> Betreff: Re: error when paging after ebay order import
>>>
>>> what version of the svn are you using.
>>>      ERROR rendering error page [/error/error.jsp] can be solved by added
>>> /error: to your web.xml
>>>                  <param-name>allowedPaths</param-name>
>>> per patch in Jira 3820
>>>
>>> from the look ofthe subtask list, non of the specialpurpose components
>>> were included.
>>> your welcome to make a subtask for ebay ans submit it.
>>> if is basically change from get to post form action.
>>>
>>>
>>> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I try to import my ebay orders into OFBiz
>>>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>>>
>>>>
>>>>
>>>> The search result shows up 32 entries (20 items per page).
>>>>
>>>>
>>>>
>>>> If I try to turn to next/last page or increase the number of items per
>>> page
>>>> I get the following error/exception:
>>>>
>>>>
>>>>
>>>> ERROR rendering error page [/error/error.jsp], but here is the error
>> text:
>>>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>>>> [productStoreId] passed to secure (https) request-map with uri
>>>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>>>> Thank you in advance for your help.
>>>>
>>>>
>>>>
>>>> The mentioned JIRA entry is already closed.
>>>>
>>>>
>>>>
>>>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>>>> setting the "From Date" and "Thru Date" so that the result has at most
> 20
>>>> items) ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>>
>>>>
>>>> Norbert
>>>>
>>>>
>>>>
>>>> P.S.: I'm working with trunk,  rev. 966518
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: AW: error when paging after ebay order import

BJ Freeman
In reply to this post by nrieger
sorry did not answer all
http://ofbiz.apache.org/dtds/widget-form.xsd
ebay component uses Widgets and if you look in that folder you will see
EbayForms.xml

like I said in the other email the paging is partof the Widget
renderging code so you have to dig deeper.

Norbert Rieger sent the following on 7/22/2010 2:29 AM:

> That's what I've already done :-)
>
> The remaining question is: how can I change the form from "get" to "post".
>
> The form element (in webapp/widget/EbayForms.xml) doesn't have an attribute
> like "method" (=>http://ofbiz.apache.org/dtds/widget-screen.xsd), or am I
> wrong ?
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 11:12
> An: [hidden email]
> Betreff: Re: error when paging after ebay order import
>
> Something I missed was if the webapp/error/error.jsp was present
> feel free to copy it over from another webapp.
>
>
> Norbert Rieger sent the following on 7/22/2010 1:41 AM:
>> Ok, maybe it was misplaced in my initial posting (look at the end), sorry
>> for that.
>>
>> P.S.: I'm working with trunk,  rev. 966518
>>
>> Btw: /error is part of the allowedPaths in ebay project
>> (specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
>> error nor an error.jsp in webapp.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Donnerstag, 22. Juli 2010 10:35
>> An: [hidden email]
>> Betreff: Re: AW: error when paging after ebay order import
>>
>> when you do a checkout if you look at the console tab in the lower right
>> side it list all the downloaded files plus at the end is the svn number.
>>
>> I ask because many are using different versions.
>>
>> Norbert Rieger sent the following on 7/22/2010 1:20 AM:
>>> What do you mean with "what version of the svn are you using." ?
>>>
>>> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
>> eclipse,
>>> built the project and started it in eclipse.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:[hidden email]]
>>> Gesendet: Donnerstag, 22. Juli 2010 10:13
>>> An: [hidden email]
>>> Betreff: Re: error when paging after ebay order import
>>>
>>> what version of the svn are you using.
>>>      ERROR rendering error page [/error/error.jsp] can be solved by added
>>> /error: to your web.xml
>>>                  <param-name>allowedPaths</param-name>
>>> per patch in Jira 3820
>>>
>>> from the look ofthe subtask list, non of the specialpurpose components
>>> were included.
>>> your welcome to make a subtask for ebay ans submit it.
>>> if is basically change from get to post form action.
>>>
>>>
>>> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I try to import my ebay orders into OFBiz
>>>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>>>
>>>>
>>>>
>>>> The search result shows up 32 entries (20 items per page).
>>>>
>>>>
>>>>
>>>> If I try to turn to next/last page or increase the number of items per
>>> page
>>>> I get the following error/exception:
>>>>
>>>>
>>>>
>>>> ERROR rendering error page [/error/error.jsp], but here is the error
>> text:
>>>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>>>> [productStoreId] passed to secure (https) request-map with uri
>>>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>>>> Thank you in advance for your help.
>>>>
>>>>
>>>>
>>>> The mentioned JIRA entry is already closed.
>>>>
>>>>
>>>>
>>>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>>>> setting the "From Date" and "Thru Date" so that the result has at most
> 20
>>>> items) ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>>
>>>>
>>>> Norbert
>>>>
>>>>
>>>>
>>>> P.S.: I'm working with trunk,  rev. 966518
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: AW: error when paging after ebay order import

Scott Gray-2
In reply to this post by nrieger
Either the pagination needs to be altered to do a post (which sounds complicated if the form widget doesn't support it currently) or you could do a temporary work around by moving the service call down into the view's screen definition where it won't complain about the way the parameters were sent.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 22/07/2010, at 10:06 PM, Norbert Rieger wrote:

> I had a look to the HTML Output which is produced for the screen.
>
> The forms do have method "post".
>
> The problem comes from the "paging" controls (next/prev/first/last page).
>
> I think the controls are generated within htmlFactoryMacroLibrary
> (framework/widget/templates, <#macro renderNextPrev etc.).
>
> <div class="nav-pager">&nbsp; <ul>
> <li class="nav-first-disabled"><span>First</span></li>
> <li class="nav-previous-disabled"><span>Previous</span></li>
> <li>Page<select name="page" size="1"
> onchange="location.href='/ebay/control/GetEbayOrders?productStoreId=10001&am
> p;thruDate=2010-07-22+23%3A59%3A59.0&amp;fromDate=2010-07-01+00%3A00%3A00.0&
> amp;VIEW_SIZE_1=20&amp;VIEW_INDEX_1='+this.value;"><option
> selected="selected" value="0">1</option>
> <option value="1">2</option>
> <option value="2">3</option>
>
>
> The parameters are passed via request parameter to GetEbayOrders.
>
>
> If setting the security attribute https from true to false for this request
> (controller.xml) the paging works:
>
>    <request-map uri="GetEbayOrders">
>        <security https="false" auth="true"/>
>        <event type="service" invoke="getEbayOrders"/>
>        <response name="success" type="view" value="EbayOrders"/>
>        <response name="failure" type="view" value="EbayOrders"/>
>    </request-map>
>
>
> But I think this is not was it is supposed to be....
>
> -----Ursprüngliche Nachricht-----
> Von: Norbert Rieger [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 11:29
> An: [hidden email]
> Betreff: AW: error when paging after ebay order import
>
> That's what I've already done :-)
>
> The remaining question is: how can I change the form from "get" to "post".
>
> The form element (in webapp/widget/EbayForms.xml) doesn't have an attribute
> like "method" (=>http://ofbiz.apache.org/dtds/widget-screen.xsd), or am I
> wrong ?
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Donnerstag, 22. Juli 2010 11:12
> An: [hidden email]
> Betreff: Re: error when paging after ebay order import
>
> Something I missed was if the webapp/error/error.jsp was present
> feel free to copy it over from another webapp.
>
>
> Norbert Rieger sent the following on 7/22/2010 1:41 AM:
>> Ok, maybe it was misplaced in my initial posting (look at the end), sorry
>> for that.
>>
>> P.S.: I'm working with trunk,  rev. 966518
>>
>> Btw: /error is part of the allowedPaths in ebay project
>> (specialpurpose/ebay/webapp/ebay/WEB-INF), but there is neither a folder
>> error nor an error.jsp in webapp.
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Donnerstag, 22. Juli 2010 10:35
>> An: [hidden email]
>> Betreff: Re: AW: error when paging after ebay order import
>>
>> when you do a checkout if you look at the console tab in the lower right
>> side it list all the downloaded files plus at the end is the svn number.
>>
>> I ask because many are using different versions.
>>
>> Norbert Rieger sent the following on 7/22/2010 1:20 AM:
>>> What do you mean with "what version of the svn are you using." ?
>>>
>>> I checked out from http://svn.apache.org/repos/asf/ofbiz/trunk into
>> eclipse,
>>> built the project and started it in eclipse.
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:[hidden email]]
>>> Gesendet: Donnerstag, 22. Juli 2010 10:13
>>> An: [hidden email]
>>> Betreff: Re: error when paging after ebay order import
>>>
>>> what version of the svn are you using.
>>>    ERROR rendering error page [/error/error.jsp] can be solved by added
>>> /error: to your web.xml
>>>                <param-name>allowedPaths</param-name>
>>> per patch in Jira 3820
>>>
>>> from the look ofthe subtask list, non of the specialpurpose components
>>> were included.
>>> your welcome to make a subtask for ebay ans submit it.
>>> if is basically change from get to post form action.
>>>
>>>
>>> Norbert Rieger sent the following on 7/22/2010 12:27 AM:
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I try to import my ebay orders into OFBiz
>>>> (https://XXXXX:8443/ebay/control/GetEbayOrders).
>>>>
>>>>
>>>>
>>>> The search result shows up 32 entries (20 items per page).
>>>>
>>>>
>>>>
>>>> If I try to turn to next/last page or increase the number of items per
>>> page
>>>> I get the following error/exception:
>>>>
>>>>
>>>>
>>>> ERROR rendering error page [/error/error.jsp], but here is the error
>> text:
>>>> org.ofbiz.webapp.event.EventHandlerException: Found URL parameter
>>>> [productStoreId] passed to secure (https) request-map with uri
>>>> [GetEbayOrders] with an event that calls service [getEbayOrders]; 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://cwiki.apache.org/confluence/x/JIB2
>>>> Thank you in advance for your help.
>>>>
>>>>
>>>>
>>>> The mentioned JIRA entry is already closed.
>>>>
>>>>
>>>>
>>>> What am I doing wrong ? Or is it a bug, is there a workaround (beside
>>>> setting the "From Date" and "Thru Date" so that the result has at most
> 20
>>>> items) ?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>>
>>>>
>>>> Norbert
>>>>
>>>>
>>>>
>>>> P.S.: I'm working with trunk,  rev. 966518
>>>>
>>>>
>>>
>>>
>>
>>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

no permission for /partymgr, user admin

nrieger
In reply to this post by nrieger
Hi,

I tried to log into /partymgr or /humanres with user admin and got the error
message:

"You do not have permission to view this page. ("PARTYMGR_VIEW" or
"PARTYMGR_ADMIN" needed)"

Doesn't admin has this permissions on default or do I have to log in with a
different user ?

How can I add this permissions to admin (or another user) ?

Thanks a lot for your help.

Norbert

I'm working with trunk revision 967053 (build + run-install).

Reply | Threaded
Open this post in threaded view
|

Re: no permission for /partymgr, user admin

Malin Nicolas
Your userLogin has a Party ?

Your ant version is 1.7.0 ?

Nicolas

Norbert Rieger a écrit :

> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with a
> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>  

Reply | Threaded
Open this post in threaded view
|

AW: no permission for /partymgr, user admin

nrieger
I tried to establish a new party and/or facility.

Similar error in /facility (FACILITY_VIEW ... needed)

My ant version is 1.7.1.

Maybe I'm wrong but how can I create a new "company" (and later on several
stores, users, catalogs,etc.), how do I start with that ? Is there a
document how to startup ?

Thanks a lot

Norbert

-----Ursprüngliche Nachricht-----
Von: Nicolas Malin [mailto:[hidden email]]
Gesendet: Freitag, 23. Juli 2010 15:24
An: [hidden email]
Betreff: Re: no permission for /partymgr, user admin

Your userLogin has a Party ?

Your ant version is 1.7.0 ?

Nicolas

Norbert Rieger a écrit :
> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the
error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with
a

> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: no permission for /partymgr, user admin

BJ Freeman
In reply to this post by nrieger
did you do a
ant run-install so you would have demo data?
ant run-install-ext does not install any parties or log ins
do a
ant -p
on how to create an admin account.
this is only a log in with admin security it does not created any party.

Norbert Rieger sent the following on 7/23/2010 6:07 AM:

> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with a
> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>
Reply | Threaded
Open this post in threaded view
|

AW: no permission for /partymgr, user admin

nrieger
I did a run-install.

If no party is generated, how will I do this if I can not log in (I'm new to
OFBiz maybe I do not yet understand the whole context) ?

-----Ursprüngliche Nachricht-----
Von: BJ Freeman [mailto:[hidden email]]
Gesendet: Freitag, 23. Juli 2010 16:01
An: [hidden email]
Betreff: Re: no permission for /partymgr, user admin

did you do a
ant run-install so you would have demo data?
ant run-install-ext does not install any parties or log ins
do a
ant -p
on how to create an admin account.
this is only a log in with admin security it does not created any party.

Norbert Rieger sent the following on 7/23/2010 6:07 AM:
> Hi,
>
> I tried to log into /partymgr or /humanres with user admin and got the
error
> message:
>
> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
> "PARTYMGR_ADMIN" needed)"
>
> Doesn't admin has this permissions on default or do I have to log in with
a

> different user ?
>
> How can I add this permissions to admin (or another user) ?
>
> Thanks a lot for your help.
>
> Norbert
>
> I'm working with trunk revision 967053 (build + run-install).
>
>

Reply | Threaded
Open this post in threaded view
|

Re: no permission for /partymgr, user admin

BJ Freeman
In reply to this post by nrieger
can you describe what your setup is and what your trying to accomplish.

Norbert Rieger sent the following on 7/23/2010 6:46 AM:

> I tried to establish a new party and/or facility.
>
> Similar error in /facility (FACILITY_VIEW ... needed)
>
> My ant version is 1.7.1.
>
> Maybe I'm wrong but how can I create a new "company" (and later on several
> stores, users, catalogs,etc.), how do I start with that ? Is there a
> document how to startup ?
>
> Thanks a lot
>
> Norbert
>
> -----Ursprüngliche Nachricht-----
> Von: Nicolas Malin [mailto:[hidden email]]
> Gesendet: Freitag, 23. Juli 2010 15:24
> An: [hidden email]
> Betreff: Re: no permission for /partymgr, user admin
>
> Your userLogin has a Party ?
>
> Your ant version is 1.7.0 ?
>
> Nicolas
>
> Norbert Rieger a écrit :
>> Hi,
>>
>> I tried to log into /partymgr or /humanres with user admin and got the
> error
>> message:
>>
>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>> "PARTYMGR_ADMIN" needed)"
>>
>> Doesn't admin has this permissions on default or do I have to log in with
> a
>> different user ?
>>
>> How can I add this permissions to admin (or another user) ?
>>
>> Thanks a lot for your help.
>>
>> Norbert
>>
>> I'm working with trunk revision 967053 (build + run-install).
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: AW: no permission for /partymgr, user admin

BJ Freeman
In reply to this post by nrieger
it sounnds like the install did not happen properly
do
ant clean-all
then
ant run-install
if your using linux
then use ./ant

\\
\\Norbert Rieger sent the following on 7/23/2010 7:14 AM:

> I did a run-install.
>
> If no party is generated, how will I do this if I can not log in (I'm new to
> OFBiz maybe I do not yet understand the whole context) ?
>
> -----Ursprüngliche Nachricht-----
> Von: BJ Freeman [mailto:[hidden email]]
> Gesendet: Freitag, 23. Juli 2010 16:01
> An: [hidden email]
> Betreff: Re: no permission for /partymgr, user admin
>
> did you do a
> ant run-install so you would have demo data?
> ant run-install-ext does not install any parties or log ins
> do a
> ant -p
> on how to create an admin account.
> this is only a log in with admin security it does not created any party.
>
> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>> Hi,
>>
>> I tried to log into /partymgr or /humanres with user admin and got the
> error
>> message:
>>
>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>> "PARTYMGR_ADMIN" needed)"
>>
>> Doesn't admin has this permissions on default or do I have to log in with
> a
>> different user ?
>>
>> How can I add this permissions to admin (or another user) ?
>>
>> Thanks a lot for your help.
>>
>> Norbert
>>
>> I'm working with trunk revision 967053 (build + run-install).
>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: AW: no permission for /partymgr, user admin

erp aql
It seems that if you do a second ant run-install without an ant clean in between there is this boolean converter error:

       Could not convert field value for the field: [hasPermission] to the [Boolean] type for the value [true]:
org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to Boolean not currently supported
Exception: org.ofbiz.base.util.GeneralException
Message: Conversion from java.lang.String to Boolean not currently supported

Because of this, the permission can not be checked and the message is displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or "PARTYMGR_ADMIN" needed)" even that the permissions are correctly configured.

The problem may be related to a possible bug on the conversion code. So, the workaround seems to be: do an ant clean-all every time before ant run-install.

Regards,
Cristian

On 23/07/2010, at 6:15 PM, BJ Freeman wrote:

> it sounnds like the install did not happen properly
> do
> ant clean-all
> then
> ant run-install
> if your using linux
> then use ./ant
>
> \\
> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>> I did a run-install.
>>
>> If no party is generated, how will I do this if I can not log in (I'm new to
>> OFBiz maybe I do not yet understand the whole context) ?
>>
>> -----Ursprüngliche Nachricht-----
>> Von: BJ Freeman [mailto:[hidden email]]
>> Gesendet: Freitag, 23. Juli 2010 16:01
>> An: [hidden email]
>> Betreff: Re: no permission for /partymgr, user admin
>>
>> did you do a
>> ant run-install so you would have demo data?
>> ant run-install-ext does not install any parties or log ins
>> do a
>> ant -p
>> on how to create an admin account.
>> this is only a log in with admin security it does not created any party.
>>
>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>>> Hi,
>>>
>>> I tried to log into /partymgr or /humanres with user admin and got the
>> error
>>> message:
>>>
>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>> "PARTYMGR_ADMIN" needed)"
>>>
>>> Doesn't admin has this permissions on default or do I have to log in with
>> a
>>> different user ?
>>>
>>> How can I add this permissions to admin (or another user) ?
>>>
>>> Thanks a lot for your help.
>>>
>>> Norbert
>>>
>>> I'm working with trunk revision 967053 (build + run-install).
>>>
>>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: AW: no permission for /partymgr, user admin

BJ Freeman
I have not run into that situation.
the ant clean-all removed the database that may have a status set from
some other operation.
it is always recommend to do a clean-all
before doing another run-install

erp aql sent the following on 7/23/2010 9:35 AM:

> It seems that if you do a second ant run-install without an ant clean in between there is this boolean converter error:
>
>         Could not convert field value for the field: [hasPermission] to the [Boolean] type for the value [true]:
> org.ofbiz.base.util.GeneralException: Conversion from java.lang.String to Boolean not currently supported
> Exception: org.ofbiz.base.util.GeneralException
> Message: Conversion from java.lang.String to Boolean not currently supported
>
> Because of this, the permission can not be checked and the message is displayed "You do not have permission to view this page. ("PARTYMGR_VIEW" or "PARTYMGR_ADMIN" needed)" even that the permissions are correctly configured.
>
> The problem may be related to a possible bug on the conversion code. So, the workaround seems to be: do an ant clean-all every time before ant run-install.
>
> Regards,
> Cristian
>
> On 23/07/2010, at 6:15 PM, BJ Freeman wrote:
>
>> it sounnds like the install did not happen properly
>> do
>> ant clean-all
>> then
>> ant run-install
>> if your using linux
>> then use ./ant
>>
>> \\
>> \\Norbert Rieger sent the following on 7/23/2010 7:14 AM:
>>> I did a run-install.
>>>
>>> If no party is generated, how will I do this if I can not log in (I'm new to
>>> OFBiz maybe I do not yet understand the whole context) ?
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: BJ Freeman [mailto:[hidden email]]
>>> Gesendet: Freitag, 23. Juli 2010 16:01
>>> An: [hidden email]
>>> Betreff: Re: no permission for /partymgr, user admin
>>>
>>> did you do a
>>> ant run-install so you would have demo data?
>>> ant run-install-ext does not install any parties or log ins
>>> do a
>>> ant -p
>>> on how to create an admin account.
>>> this is only a log in with admin security it does not created any party.
>>>
>>> Norbert Rieger sent the following on 7/23/2010 6:07 AM:
>>>> Hi,
>>>>
>>>> I tried to log into /partymgr or /humanres with user admin and got the
>>> error
>>>> message:
>>>>
>>>> "You do not have permission to view this page. ("PARTYMGR_VIEW" or
>>>> "PARTYMGR_ADMIN" needed)"
>>>>
>>>> Doesn't admin has this permissions on default or do I have to log in with
>>> a
>>>> different user ?
>>>>
>>>> How can I add this permissions to admin (or another user) ?
>>>>
>>>> Thanks a lot for your help.
>>>>
>>>> Norbert
>>>>
>>>> I'm working with trunk revision 967053 (build + run-install).
>>>>
>>>>
>>>
>>>
>
>
12