Time |
Nick |
Message |
03:55 |
|
Guest72 joined #evergreen |
03:57 |
Guest72 |
Hello guys! Hope you are all doing well? |
04:00 |
Guest72 |
I need a little help with my SIP2 setup. We are using self-checkout system from Envision-ware. |
04:00 |
Guest72 |
For some reason, each time a user logs in/checkout a book, we have to restart the software before it can accept the next login. |
04:00 |
Guest72 |
We spoke to the vendor, but they said it is an issue with our Evergreen ILS configuration. |
04:00 |
Guest72 |
I would be glad if I can be pointed in the right direction on how to resolve the issue. |
04:00 |
Guest72 |
Thank you 😊 |
04:37 |
|
Guest72 joined #evergreen |
04:54 |
|
Guest72 joined #evergreen |
05:43 |
|
Guest72 joined #evergreen |
07:13 |
|
kworstell_isl joined #evergreen |
07:13 |
|
kworstell-isl joined #evergreen |
07:55 |
|
BDorsey joined #evergreen |
08:04 |
|
Guest72 joined #evergreen |
08:10 |
|
dwbstr joined #evergreen |
08:30 |
|
collum joined #evergreen |
08:34 |
|
mmorgan joined #evergreen |
08:39 |
|
Dyrcona joined #evergreen |
09:14 |
|
Guest72 joined #evergreen |
09:40 |
|
jvwoolf joined #evergreen |
09:47 |
|
Christineb joined #evergreen |
12:02 |
|
jihpringle joined #evergreen |
12:09 |
|
kworstell-isl joined #evergreen |
12:23 |
|
collum joined #evergreen |
13:05 |
csharp_ |
still seeing a lot of bug 1990306 problems even after applying jeffdavis's patch - I'm thinking now that the browser still has the token, and the fix is checking for the existence of a token, and since it has one, it passes and still executes all the perm lookups |
13:05 |
pinesol |
Launchpad bug 1990306 in Evergreen "Flood of open-ils.actor.user.has_work_perm_at.batch requests for VIEW_USER with null authtoken" [High,New] https://launchpad.net/bugs/1990306 - Assigned to Chris Sharp (chrissharp123) |
13:06 |
csharp_ |
I want to experiment with egAuth.testAuthtoken to see if that's what's needed, but right now I'm unable to reproduce the behavior |
13:06 |
csharp_ |
current approach: open a patron account, delete the memcache key via memcrm |
13:07 |
csharp_ |
but that's resulting in no flood and correctly being directed to the login page |
13:07 |
csharp_ |
wondering if there's a difference between an expired memcache key and a deleted one |
13:08 |
jeffdavis |
To be clear, you're getting flooded with open-ils.actor.user.has_work_perm_at.batch requests for an invalid but non-null authtoken? |
13:10 |
jeffdavis |
Maybe we need to refactor the VIEW_USER lookup on startup in Open-ILS/web/js/ui/default/staff/circ/patron/app.js - there's a FIXME comment about moving it into the specific controllers where it's actually required. |
13:11 |
csharp_ |
still getting the VIEW_USER with null authtoken |
13:11 |
|
collum joined #evergreen |
13:12 |
csharp_ |
maybe "null" doesn't mean "deleted" |
13:17 |
|
collum joined #evergreen |
13:20 |
berick |
csharp_: what's your patch look like? didn't you create an additional path? |
13:21 |
berick |
*patch |
13:44 |
csharp_ |
berick: I did - I'll share in a sec... |
13:46 |
csharp_ |
berick: I have jeffdavis's patch in place and this https://git.evergreen-ils.org/?p=evergreen/pines.git;a=blobdiff;f=Open-ILS/web/js/ui/default/staff/services/auth.js;h=4cc028011a971568e974f893228d423448a4df5c;hp=e1bb7e8f291f53127582711cd3571d59f454a47b;hb=d1c82bae2dfbf010992ca41963777b1148b50549;hpb=54738e6d27adf77f4868ba4d5b1f7f586a7781b0 |
13:46 |
csharp_ |
longlink-- |
14:06 |
Dyrcona |
Timeout error Sorry, something just went wrong in Launchpad. |
14:06 |
Dyrcona |
Whee! |
14:18 |
berick |
csharp_: egAuth.token is a function, it will never be false |
14:18 |
berick |
should be if (!egAuth.token()) |
14:18 |
berick |
also returning null from that function is going to cause issues |
14:18 |
berick |
the function returns a promise |
14:19 |
berick |
maybe something like: return $q.when([]) |
14:20 |
berick |
service.hasPermAt = function(permList, asId) { |
14:20 |
berick |
+ if (!egAuth.token()) { return $q.when([]); } |
14:20 |
berick |
+ |
14:25 |
* Dyrcona |
needs to practice more with JavaScript promises.... |
15:34 |
csharp_ |
berick: thanks! I'll try that out |
15:40 |
mmorgan |
Boo! Just when you need Launchpad, it decides to take a long weekend :-( |
15:51 |
Dyrcona |
mmorgan: It seems to be up and down today. |
15:56 |
Dyrcona |
@decide patch or path |
15:56 |
pinesol |
Dyrcona: go with path |
15:56 |
Dyrcona |
:) |
15:56 |
Dyrcona |
@decide patch or patchouli |
15:56 |
pinesol |
Dyrcona: go with patchouli |
15:57 |
Dyrcona |
Somehow, I knew that would be the choice. |
15:59 |
* Dyrcona |
signs out a little early today. |
15:59 |
Dyrcona |
Have a great weekend, everyone! |
16:14 |
|
jvwoolf left #evergreen |
16:46 |
|
jihpringle joined #evergreen |
17:04 |
|
mmorgan left #evergreen |