[Koha-bugs] [Bug 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2019-02-05 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Katrin Fischer  changed:

   What|Removed |Added

Summary|When searching for a|When searching for a
   |cardnumber in the intranet, |cardnumber in the intranet,
   |also try to search for it   |also try to search for it
   |on the LDAP server if one   |on the LDAP server if one
   |is configured.  |is configured and
   ||add/update user

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2019-02-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Martin Renvoize  changed:

   What|Removed |Added

 Status|Needs Signoff   |Failed QA

--- Comment #8 from Martin Renvoize  ---
Hmm.. I would love to see this in.. but I don't think it's really ready as it
stands.. it's not comprehensive (only works in circulation, not patron
searching in general and even within circulation it's not updating in the case
where a borrower is found by their cardnumber rather than any other search
fields).

The routines are also not especially generalised, expecting the return of a
datatables centric method call rather than a Koha::Patron (or even borrower
row) structure.

I'm afraid I'd have to Fail QA on it for those reasons.  Not sure I'm going to
get around to proposing an alternate solution any time soon though :(

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2019-02-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Martin Renvoize  changed:

   What|Removed |Added

   Keywords||Academy

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Jonathan Druart  changed:

   What|Removed |Added

 CC||jonathan.dru...@bugs.koha-c
   ||ommunity.org
   Keywords|rel_20_11_target|

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Maryse Simard  changed:

   What|Removed |Added

   Assignee|fcapovi...@live.ca  |maryse.sim...@inlibro.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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Blou  changed:

   What|Removed |Added

 CC||philippe.blo...@inlibro.com

--- Comment #16 from Blou  ---
Any love?

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

--- Comment #9 from Maryse Simard  ---
Created attachment 93767
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93767&action=edit
Bug 11808: Add the SearchCardnumberWithLDAP system preference.

When activated, cardnumber searches in the intranet will also do a
search on the LDAP server if a user was not found in the local database.
If the cardnumber is found on the LDAP server, the user account is
imported in the local database.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

--- Comment #10 from Maryse Simard  ---
Created attachment 93768
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93768&action=edit
Bug 11808: (QA follow-up) Adds a third option to SearchCardnumberWithLDAP and
other fixes

This patch does a few things:

- Adds a third option to the new system preference to choose between:
never use ldap,
make a request (and add) only when no patron is found,
and always make a request (add/update).
- Adds search and update with ldap in the case the patron is found
by it's cardnumber in circulation.
- Use Patron object in the new subs in C4/Auth_with_ldap.pm.

To test:
0. You need to have an ldap server containing patron informations
configured in Koha.

1. Apply patch and update database.

2. Check that the new system preference SearchCardnumberWithLDAP has
been added and set as 'never'.

3. Choose a patron who exists in your ldap server but not in Koha.
(you can delete an existing patron from Koha if needed)

4. Search for the patron by both it's cardnumber and any other
attributes (results should be the same in both case) in the search
bar in circ/circulation.pl.Do not choose from the dropdown list,
use the submit button.
=> Should return cardnumber not found

5. Change SearchCardnumberWithLDAP to 'if not found locally'.

6. Repeat step 4.
=> The patron should be added to Koha.

7. Edit the patron and change any of the existing information.

8. Repeat step 4.
=> The patron has not been updated (the change made in step 7 is
still there)

9. Change SearchCardnumberWithLDAP to 'always'.

10. Repeat step 4.
=> The patron has been updated. Change made in step 7 has been
rewritten and patron informations is the same as in step 6.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Maryse Simard  changed:

   What|Removed |Added

 CC||maryse.sim...@inlibro.com

--- Comment #11 from Maryse Simard  ---
For now, I've rebased the patch on current master and started to fix the
problems reported. Among those fixes, I've added a third option, as Katrin
suggested, for the system preference.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Martin Renvoize  changed:

   What|Removed |Added

   Keywords|rel_20_05_candidate |rel_20_11_target

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

--- Comment #12 from Katrin Fischer  ---
(In reply to Maryse Simard from comment #11)
> For now, I've rebased the patch on current master and started to fix the
> problems reported. Among those fixes, I've added a third option, as Katrin
> suggested, for the system preference.

Hi Maryse, is this ready for testing again yet? If so, please remember to
switch the status!

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Martin Renvoize  changed:

   What|Removed |Added

   Keywords|Academy |rel_20_05_target

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Martin Renvoize  changed:

   What|Removed |Added

  Attachment #60562|0   |1
is obsolete||

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Rui  changed:

   What|Removed |Added

 CC||astronom...@gmail.com

--- Comment #13 from Rui  ---
This functionality is absolutely essential in some institutional/corporate
environments, and is a much better idea than using scripts to synchronize all
users. 

We've just tested the patches and all is working as expected from a user
perspective. However, there is room for improvement:

a) when the user doesn't exist locally, if you checkout using circulation
introducing cardnumber, the user is added as expected. However, in my opinion,
it should be added as well if "Search patrons" is used and cardnumber is
introduced in that form, which doesn't happen at the moment.
b) if the user doesn't have branch code defined in the AD an error regarding FK
constraints is produced. Koha should deal with that gracefully.

Thanks a lot for your work.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

--- Comment #14 from Maryse Simard  ---
Created attachment 95573
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=95573&action=edit
Bug 11808: (QA follow-up) Adds support for other patron searches

This patch add supports to other pages where patron search is
possible: patron search, hold and article requests.

Removes the code that tried to support searching for
search fields other than cardnumber in circulation.pl

Catch exception on broken FK contraint if information on the LDAP
server can't be added to the database as to not interrupt
execution. The error message is shown on the UI.

Revised test plan:
0. You need to have an ldap server containing patron informations
configured in Koha.

1. Apply patch and update database.

2. Check that the new system preference SearchCardnumberWithLDAP has
been added and set as 'never'.

3. Choose a patron who exists in your ldap server but not in Koha.
(you can delete an existing patron from Koha if needed)

4. Search for the patron by it's cardnumber in the following locations.
Do not choose from the dropdown list, use the submit button.
- circ/circulation.pl
- circ/article-request.pl
- reserve/request.pl
- members/member.pl both at the top and in the filter box
- any page using common/patron_search.tt, for example adding a
guarantor with the members/guarantor_search.pl popup
=> Should return cardnumber/patron not found or no results

5. Change SearchCardnumberWithLDAP to 'if not found locally'.

6. Repeat step 4.
=> The patron should be added to Koha.

7. Edit the patron and change any of the existing information.

8. Repeat step 4.
=> The patron has not been updated (the change made in step 7 is
still there)

9. Change SearchCardnumberWithLDAP to 'always'.

10. Repeat step 4.
=> The patron has been updated. Change made in step 7 has been
rewritten and patron informations is the same as in step 6.

11. Try searching for a patron who doesn't exist in Koha and has a
nonexistant branch on the LDAP server. An error message should
appear accompanying the absence of results.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

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

Maryse Simard  changed:

   What|Removed |Added

 Status|Failed QA   |Needs Signoff

--- Comment #15 from Maryse Simard  ---
Thank you very much for testing and for your feedback!

I added support for the functionality to other pages where patron search is
possible, the list is in the patch description. I also added error handling,
showing the error in the user interface if there is a problem when creating the
new borrower in Koha.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2024-03-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Lucas Gass  changed:

   What|Removed |Added

 Status|Needs Signoff   |Patch doesn't apply
 CC||lu...@bywatersolutions.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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2024-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Phan Tung Bui  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2024-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Phan Tung Bui  changed:

   What|Removed |Added

 Attachment #144826|0   |1
is obsolete||

--- Comment #20 from Phan Tung Bui  ---
Created attachment 162857
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162857&action=edit
Bug 11808: Add the SearchCardnumberWithLDAP system preference

Add option to search patrons on ldap server when not found in local
database and import it

Test plan:
0. You need to have an ldap server containing patron informations
configured in Koha.

1. Apply patch and update database.

2. Check that the new system preference SearchCardnumberWithLDAP has
been added and set as 'never'.

3. Choose a patron who exists in your ldap server but not in Koha.
(you can delete an existing patron from Koha if needed)

4. Search for the patron by it's cardnumber in the following locations.
Do not choose from the dropdown list, use the submit button.
- circ/circulation.pl
- circ/article-request.pl
- reserve/request.pl
- members/member.pl both at the top and in the filter box
- any page using common/patron_search.tt, for example adding a
guarantor with the members/guarantor_search.pl popup
=> Should return cardnumber/patron not found or no results

5. Change SearchCardnumberWithLDAP to 'if not found locally'.

6. Repeat step 4.
=> The patron should be added to Koha.

7. Edit the patron and change any of the existing information.

8. Repeat step 4.
=> The patron has not been updated (the change made in step 7 is
still there)

9. Change SearchCardnumberWithLDAP to 'always'.

10. Repeat step 4.
=> The patron has been updated. Change made in step 7 has been
rewritten and patron informations is the same as in step 6.

11. Try searching for a patron who doesn't exist in Koha and has a
nonexistant branch on the LDAP server. An error message should
appear accompanying the absence of results.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2024-05-15 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Hammat wele  changed:

   What|Removed |Added

 Attachment #162857|0   |1
is obsolete||

--- Comment #21 from Hammat wele  ---
Created attachment 166773
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=166773&action=edit
Bug 11808: Add the SearchCardnumberWithLDAP system preference

Add option to search patrons on ldap server when not found in local
database and import it

Test plan:
0. You need to have an ldap server containing patron informations
configured in Koha.

1. Apply patch and update database.

2. Check that the new system preference SearchCardnumberWithLDAP has
been added and set as 'never'.

3. Choose a patron who exists in your ldap server but not in Koha.
(you can delete an existing patron from Koha if needed)

4. Search for the patron by it's cardnumber in the following locations.
Do not choose from the dropdown list, use the submit button.
- circ/circulation.pl
- circ/article-request.pl
- reserve/request.pl
- members/member.pl both at the top and in the filter box
- any page using common/patron_search.tt, for example adding a
guarantor with the members/guarantor_search.pl popup
=> Should return cardnumber/patron not found or no results

5. Change SearchCardnumberWithLDAP to 'if not found locally'.

6. Repeat step 4.
=> The patron should be added to Koha.

7. Edit the patron and change any of the existing information.

8. Repeat step 4.
=> The patron has not been updated (the change made in step 7 is
still there)

9. Change SearchCardnumberWithLDAP to 'always'.

10. Repeat step 4.
=> The patron has been updated. Change made in step 7 has been
rewritten and patron informations is the same as in step 6.

11. Try searching for a patron who doesn't exist in Koha and has a
nonexistant branch on the LDAP server. An error message should
appear accompanying the absence of results.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2024-05-28 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Koha collecto  changed:

   What|Removed |Added

 CC||k...@collecto.ca

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2022-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

--- Comment #17 from Shi Yao Wang  ---
Created attachment 144823
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144823&action=edit
Bug 11808: Add the SearchCardnumberWithLDAP system preference

Add option to search patrons on ldap server when not found in local
database and import it

Test plan:
0. You need to have an ldap server containing patron informations
configured in Koha.

1. Apply patch and update database.

2. Check that the new system preference SearchCardnumberWithLDAP has
been added and set as 'never'.

3. Choose a patron who exists in your ldap server but not in Koha.
(you can delete an existing patron from Koha if needed)

4. Search for the patron by it's cardnumber in the following locations.
Do not choose from the dropdown list, use the submit button.
- circ/circulation.pl
- circ/article-request.pl
- reserve/request.pl
- members/member.pl both at the top and in the filter box
- any page using common/patron_search.tt, for example adding a
guarantor with the members/guarantor_search.pl popup
=> Should return cardnumber/patron not found or no results

5. Change SearchCardnumberWithLDAP to 'if not found locally'.

6. Repeat step 4.
=> The patron should be added to Koha.

7. Edit the patron and change any of the existing information.

8. Repeat step 4.
=> The patron has not been updated (the change made in step 7 is
still there)

9. Change SearchCardnumberWithLDAP to 'always'.

10. Repeat step 4.
=> The patron has been updated. Change made in step 7 has been
rewritten and patron informations is the same as in step 6.

11. Try searching for a patron who doesn't exist in Koha and has a
nonexistant branch on the LDAP server. An error message should
appear accompanying the absence of results.

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2022-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Shi Yao Wang  changed:

   What|Removed |Added

 CC||shi-yao.w...@inlibro.com
  Attachment #95573|0   |1
is obsolete||

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2022-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Shi Yao Wang  changed:

   What|Removed |Added

  Attachment #93768|0   |1
is obsolete||

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2022-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Shi Yao Wang  changed:

   What|Removed |Added

  Attachment #93767|0   |1
is obsolete||

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2022-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

--- Comment #18 from Shi Yao Wang  ---
Old patches didn't apply anymore so I made a new one with hopefully the same
changes

-- 
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 11808] When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured and add/update user

2022-12-23 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808

Shi Yao Wang  changed:

   What|Removed |Added

 Attachment #144823|0   |1
is obsolete||

--- Comment #19 from Shi Yao Wang  ---
Created attachment 144826
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144826&action=edit
Bug 11808: Add the SearchCardnumberWithLDAP system preference

Add option to search patrons on ldap server when not found in local
database and import it

Test plan:
0. You need to have an ldap server containing patron informations
configured in Koha.

1. Apply patch and update database.

2. Check that the new system preference SearchCardnumberWithLDAP has
been added and set as 'never'.

3. Choose a patron who exists in your ldap server but not in Koha.
(you can delete an existing patron from Koha if needed)

4. Search for the patron by it's cardnumber in the following locations.
Do not choose from the dropdown list, use the submit button.
- circ/circulation.pl
- circ/article-request.pl
- reserve/request.pl
- members/member.pl both at the top and in the filter box
- any page using common/patron_search.tt, for example adding a
guarantor with the members/guarantor_search.pl popup
=> Should return cardnumber/patron not found or no results

5. Change SearchCardnumberWithLDAP to 'if not found locally'.

6. Repeat step 4.
=> The patron should be added to Koha.

7. Edit the patron and change any of the existing information.

8. Repeat step 4.
=> The patron has not been updated (the change made in step 7 is
still there)

9. Change SearchCardnumberWithLDAP to 'always'.

10. Repeat step 4.
=> The patron has been updated. Change made in step 7 has been
rewritten and patron informations is the same as in step 6.

11. Try searching for a patron who doesn't exist in Koha and has a
nonexistant branch on the LDAP server. An error message should
appear accompanying the absence of results.

-- 
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/