I have latest trunk rev  594456. Updated few minutes ago.

I can also reproduce it on demo server as well as branch.

Thanks,

Raj
BJ Freeman wrote:
The log is a warning, so it may not have any effect.
Roles are not the same a security.
there was a svn about a week ago that had problems try refreshing you
copy to the newest version to see if this is taken care of.

you also stated that it could send on that it created so I was looking
for a FK error of some type.


Raj Saini sent the following on 11/13/2007 7:46 AM:
Hi BJ,

Log from server:

<log>
[java] 2007-11-13 21:11:43,190 (http-0.0.0.0-8443-Processor3) [ ControlServlet.java:93 :INFO ] The character encoding of the request is:
[null]. The character encoding we will use for the request and response
is: [UTF-8]
[java] 2007-11-13 21:11:43,254 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:564:INFO ] ConfigMap Created: (4) records in 0.016s [java] 2007-11-13 21:11:43,255 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:564:INFO ] ConfigMap Created: (4) records in 0.019s [java] 2007-11-13 21:11:43,263 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:722:INFO ] HandlerMap Created: (4) view handlers
and (4) request/event handlers in 0.0070s
[java] 2007-11-13 21:11:43,264 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:722:INFO ] HandlerMap Created: (4) view handlers
and (6) request/event handlers in 0.0080s
[java] 2007-11-13 21:11:43,271 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:297:INFO ] RequestMap Created: (7) records in 0.0070s [java] 2007-11-13 21:11:43,281 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:297:INFO ] RequestMap Created: (307) records in 0.017s [java] 2007-11-13 21:11:43,289 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:391:INFO ] ViewMap Created: (5) records in 0.0070s [java] 2007-11-13 21:11:43,290 (http-0.0.0.0-8443-Processor3) [ ConfigXMLReader.java:391:INFO ] ViewMap Created: (134) records in 0.0090s [java] 2007-11-13 21:11:43,300 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:243:INFO ] [Processing Request]:
confirmationmailedit sessionId=6B971A50DD6E7440EB0C3C705583B611.jvm1
[java] 2007-11-13 21:11:43,300 (http-0.0.0.0-8443-Processor3) [ RequestManager.java:116:INFO ] [RequestManager.getRequestAttribute]
Value for attribute "null" of uri "confirmationmailedit" not found
[java] 2007-11-13 21:11:43,301 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a
view. sessionId=6B971A50DD6E7440EB0C3C705583B611.jvm1
[java] 2007-11-13 21:11:43,301 (http-0.0.0.0-8443-Processor3) [ RequestHandler.java:584:INFO ] servletName=control,
view=SendConfirmationMail sessionId=6B971A50DD6E7440EB0C3C705583B611.jvm1
[java] 2007-11-13 21:11:43,319 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:118:INFO ] Got 19 screens in 0.017s from:
file:/srv/raj/temp/ofbiz/applications/order/widget/ordermgr/OrderViewScreens.xml

[java] 2007-11-13 21:11:43,340 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:118:INFO ] Got 3 screens in 0.014s from:
file:/srv/raj/temp/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml

[java] 2007-11-13 21:11:43,355 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:118:INFO ] Got 16 screens in 0.014s from:
file:/srv/raj/temp/ofbiz/framework/common/widget/CommonScreens.xml
[java] 2007-11-13 21:11:43,392 (http-0.0.0.0-8443-Processor3) [ ModelScreenWidget.java:340:INFO ] In the include-screen tag the screen
name was empty, ignoring include; in screen [GlobalDecorator]
[java] 2007-11-13 21:11:43,416 (http-0.0.0.0-8443-Processor3) [ ScreenFactory.java:118:INFO ] Got 7 screens in 0.014s from:
file:/srv/raj/temp/ofbiz/applications/ecommerce/widget/EmailOrderScreens.xml

    [java] 2007-11-13 21:11:43,431 (http-0.0.0.0-8443-Processor3)
[                       ?:?  :WARN ] Warning: in orderstatus.bsh before
getting order detail info: role not found or user not logged in;
partyId=[admin], userLoginId=[admin]
</log>

Last line in the log says user not logged in or not in role. Admin user
is part of of FullAdmin security group. Is this not enough to send an
Confirmation Email?

Thanks,

Raj


BJ Freeman wrote:
can you include a log.
permission don't follow an order.
permission are static per page.
if admin can see an order it created
tnen it can see any order for admin login.

have to look somewhere else.

Raj Saini sent the following on 11/13/2007 12:56 AM:
Hi,

I am facing this problem when sending a order confirmation mail from
order manager application. On Hotwaxmedia demo application, login as
admin. Goto order list menu tab. Choose an order created by Demo
Customer. Click on the "Send confirmation mail" under "Contact
Information" section.

On the next page I see:

<body>


<h1>PageTitleOrderConfirmationNotice</h1>
<p>OrderDemoFrontNote.</p>

<h1>Order not found with ID [WSCO10000], or not allowed to view.</h1>

</body>
</html>

It looks that the admin user does not have permissions to view the order
despite having full admin permissions. However this works well for some
orders for example orders created by the admin user itself or anonymous
users.

Any idea what permissions are required to Mail confirmations form the
order manager?

Thanks,

Raj








Reply via email to