Hi, you should have given the userLogin variable in the context to your
service. It's better than desactivate login on the service.
I quote an exemple from another groovy file in ofbiz :
checkMap = [orderId : orderId, userLogin :
session.getAttribute("userLogin"), checkAction : "VIEW"];
checkResult = dispatcher.runSync("checkSupplierRelatedOrderPermission",
checkMap);
Gil
Le 23/10/2014 19:44, joelfrad...@gmail.com a écrit :
Got it to run by looking at the other one that works and added
login-required="false".
Really odd, I mean I was logged in?
I tried changing the servicedef to say no auth, but that did not help.
What else was odd is it must default to needing login, as I did not see it
was required and I changed. It just was not there at all and my service def
said no to auth, but I guess in the end if you dont want logged in you have
to specify. But since I was logged in I am still confused.
-----
Joel Fradkin
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/You-must-be-logged-in-to-complete-the-Count-Inventory-On-Hand-tp4657325p4657328.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
--
<www.nereide.fr>
Gil Portenseigne
Consultant ERP OFBiz
Société Néréide
3b Les isles
37270 Veretz
Tel : 09 74 53 46 09, puis 1, poste 61
Mob : 06 82 740 444
www.nereide.fr <http://www.nereide.fr>
Membre d'OFBiz France
www.ofbiz-fr.org <http://www.ofbiz-fr.org>