[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-05-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Tomás Cohen Arazi  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|ASSIGNED|RESOLVED

--- Comment #16 from Tomás Cohen Arazi  ---
I didn't know about bug 23233, which got pushed in December. So you are right,
Jonathan.

The original bug got solved by two different reports:
- bug 23640
- bug 23233

Closing as duplicate

*** This bug has been marked as a duplicate of bug 23233 ***

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-05-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Tomás Cohen Arazi  changed:

   What|Removed |Added

 Status|Failed QA   |ASSIGNED

--- Comment #15 from Tomás Cohen Arazi  ---
(In reply to Jonathan Druart from comment #14)
> Hum? What are we doing here? What is suppose to do this patch?

We obsoleted the patch that dealt with caching as it overlapped with bug 23640,
but forgot to extract from it the portion that makes SIP use the new syspref.

> It adds a syspref that already exists...

The new syspref does not yet exist, this patch adds the ability to have
different behaviours for SIP than (say) SCO. It is just we missed the fact that
the obsolete patch introduced the use of it.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-04-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Jonathan Druart  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA
 CC||jonathan.dru...@bugs.koha-c
   ||ommunity.org

--- Comment #14 from Jonathan Druart  
---
Hum? What are we doing here? What is suppose to do this patch?

It adds a syspref that already exists...

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-03-02 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Kyle M Hall  changed:

   What|Removed |Added

  Attachment #96234|0   |1
is obsolete||

--- Comment #13 from Kyle M Hall  ---
Created attachment 99957
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99957=edit
Bug 23223: Add AllowItemsOnHoldCheckoutSIP preference

This patch adds a new systempreference for behavior for
AllowItemsOnHoldCheckout may difer between intranet, SCO and SIP

To test:
1. apply this patch
2. perl installer/data/mysql/updatedatabase.pl
SUCCESS => There is a new syspref called AllowItemsOnHoldCheckoutSIP
3. configure and start SIPServer
4. with misc/sip_cli_emulator.pl try to checkout an item with a hold
CHECK => checkout is not allowed
5. set AllowItemsOnHoldCheckoutSIP to Allow
6. restart SIPServer
7. repeat step 4
SUCCESS => checkout is allowed
8. Sign off

Signed-off-by: Kyle M Hall 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-03-02 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Kyle M Hall  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Agustín Moyano  changed:

   What|Removed |Added

 Depends on||23640


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23640
[Bug 23640] L1 cache too long in SIP Server
-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Tomás Cohen Arazi  changed:

   What|Removed |Added

  Attachment #96235|0   |1
is obsolete||

--- Comment #12 from Tomás Cohen Arazi  ---
Comment on attachment 96235
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96235
Bug 23223: Disable syspref cache in SIPServer

I'm obsoleting the sysprefs caching handling patch here, as I wasn't aware of
bug 23640. Thanks Jonathan for pointing that out.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Martin Renvoize  changed:

   What|Removed |Added

   See Also||https://bugs.koha-community
   ||.org/bugzilla3/show_bug.cgi
   ||?id=24761

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #11 from Tomás Cohen Arazi  ---
I filed bug 24761 to handle the caching part of this.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #10 from Kyle M Hall  ---
I think the best course of action is to move the followup to its' own bug
report at this point. I have no problem with the main patch as it stands.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #9 from Tomás Cohen Arazi  ---
(In reply to Martin Renvoize from comment #8)
> Yikes, I agree.. I really don't like the sledgehammer approach of disabling
> cache entirely... we should discus a broad change like that on it's own bug.
> 
> I presume you're doing it because your finding that caches are not properly
> flushed when sysprefs change.. I'd much rather see work carried out to try
> and improve that situation from that direction.

Take a look at bug 16758.

> As for Syspref vs Config file.. I generally lean towards sysprefs.. they're
> accessible to the librarian setting it up and as such clearer that there's a
> difference between SIP and other operations... I personally think only
> really the server level stuff belongs in the config files and functionality
> things like this belong in preferences.

I agree the idea behind putting configs in the SIPspecific file allows
controlling the SIP server behaviour to match different vendors. That way we
can have more than one server, with different behaviours depending on the
vendor that is using it. BUT in this case is about circulation rules and it
feels correct to keep it as a syspref. Unless there's a case for having
different vendors different circulation rules for on hold items.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Martin Renvoize  changed:

   What|Removed |Added

 CC||martin.renvoize@ptfs-europe
   ||.com

--- Comment #8 from Martin Renvoize  ---
Yikes, I agree.. I really don't like the sledgehammer approach of disabling
cache entirely... we should discus a broad change like that on it's own bug.

I presume you're doing it because your finding that caches are not properly
flushed when sysprefs change.. I'd much rather see work carried out to try and
improve that situation from that direction.

As for Syspref vs Config file.. I generally lean towards sysprefs.. they're
accessible to the librarian setting it up and as such clearer that there's a
difference between SIP and other operations... I personally think only really
the server level stuff belongs in the config files and functionality things
like this belong in preferences.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #7 from Kyle M Hall  ---
(In reply to Kyle M Hall from comment #6)
> Considering this patch is splitting the use of an existing system
> preference, I don't think my previous comment is a blocker ( though adding a
> config level override would definitely have merit ).

I am concerned about your followup disabling syspref caching for the SIP
server. I'm starting to wonder if my first instinct was correct, and we should
simply not have this behavior controlled by a syspref ( or have a conf setting
take precedence over the syspref if defined in the config ).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Kyle M Hall  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

--- Comment #6 from Kyle M Hall  ---
Considering this patch is splitting the use of an existing system preference, I
don't think my previous comment is a blocker ( though adding a config level
override would definitely have merit ).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2020-02-28 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Kyle M Hall  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA
 CC||k...@bywatersolutions.com

--- Comment #5 from Kyle M Hall  ---
Agustin, we typically avoid controlling SIP behavior at the syspref level.
Instead, it is always set at the SIP config account level. Some good examples
of this are:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13411
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17826

Would you be able to rewrite your feature to be controlled by a new attribute
in the SIP config, on a per-account basis?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-12-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #3 from Agustín Moyano  ---
Created attachment 96234
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96234=edit
Bug 23223: Add AllowItemsOnHoldCheckoutSIP preference

This patch adds a new systempreference for behavior for
AllowItemsOnHoldCheckout may difer between intranet, SCO and SIP

To test:
1. apply this patch
2. perl installer/data/mysql/updatedatabase.pl
SUCCESS => There is a new syspref called AllowItemsOnHoldCheckoutSIP
3. configure and start SIPServer
4. with misc/sip_cli_emulator.pl try to checkout an item with a hold
CHECK => checkout is not allowed
5. set AllowItemsOnHoldCheckoutSIP to Allow
6. restart SIPServer
7. repeat step 4
SUCCESS => checkout is allowed
8. Sign off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-12-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

--- Comment #4 from Agustín Moyano  ---
Created attachment 96235
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96235=edit
Bug 23223: Disable syspref cache in SIPServer

When a syspref is modified, SIPServer doesn't update it's cached value until
restarted. This patch disables syspref cache for SIPServer.

To test:
1. set AllowItemsOnHoldCheckoutSIP preference to Don't allow
2. configure and start sipserver
3. with misc/sip_cli_emulator.pl try to checkout an item that has a hold
CHECK => checkout is not allowed
4. set AllowItemsOnHoldCheckoutSIP preference to Allow
5. repeat step 3
CHECK => checkout is still not allowed
6. apply this patch and restart_all
7. repeat steps 1 to 5
SUCCESS => checkout is allowed / disallowed according to
AllowItemsOnHoldCheckoutSIP preference value and no SIPServer restart is needed
8. Sign off

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-12-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Agustín Moyano  changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff
   Patch complexity|--- |Small patch

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-12-11 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Tomás Cohen Arazi  changed:

   What|Removed |Added

  Change sponsored?|--- |Sponsored

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-12-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Agustín Moyano  changed:

   What|Removed |Added

 CC||tomasco...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-12-10 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Agustín Moyano  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-10-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Sally  changed:

   What|Removed |Added

 CC||sally.healey@cheshireshared
   ||services.gov.uk

--- Comment #2 from Sally  ---
(In reply to Katrin Fischer from comment #1)
> I digged out the original bug report for Adding AllowItemsOnHoldCheckout and
> it looked like it was supposed to cover SIP2 as well: bug 7090 
> 
> So maybe this is a bug/regression?

Yes, I'd say it was a bug/regression.  

If it helps to narrow it down, we have a Koha installation on 16.11 with
AllowItemsOnHoldCheckout set to Allow, and items on hold (not waiting) can be
checked out via SIP2.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-10-15 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Joy Nelson  changed:

   What|Removed |Added

   Assignee|k...@bywatersolutions.com   |agustinmoy...@theke.io

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-07-17 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Michelle Carrillo  changed:

   What|Removed |Added

 CC||mcarri...@roseville.ca.us

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-06-27 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Katrin Fischer  changed:

   What|Removed |Added

 CC||katrin.fisc...@bsz-bw.de

--- Comment #1 from Katrin Fischer  ---
I digged out the original bug report for Adding AllowItemsOnHoldCheckout and it
looked like it was supposed to cover SIP2 as well: bug 7090 

So maybe this is a bug/regression?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 23223] Allow requested items to be checked out via SIP2

2019-06-26 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23223

Joy Nelson  changed:

   What|Removed |Added

Summary|Allow requested items to be |Allow requested items to be
   |checked out |checked out via SIP2

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/