[Koha-bugs] [Bug 17047] Mana Knowledge Base : share data

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 24 15:16:26 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17047

--- Comment #64 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 62599
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=62599&action=edit
Bug 17047: Add security token against spam, Rework messages from Mana.

- A syspref contains an authentication token
- To get an Authentication token, you have to fill a form and validate your
e-mail address
- Messages ar now correctly displayed and there shouldn't be any crash when
mana answer wrong/doesn't answer

Test plan:
    1 - Apply Patch + update database
    2 - Copy the three lines about mana config in etc/koha-conf.xml in
../etc/koha-conf.xml
    3 - Check Mana syspref and AutoShareWithMana syspref are not activated
    4 - Search the syspref ManaToken and follow the instructions
    5 - subscriptions
      - Try create a new subscription for a first serial  => mana shouldn't
show you anything (except if the base hase been filled)
      - Share this serial with Mana (on the serial individual's page there must
be a Share button)
      - Try to create a new subscription for serial nr1 => a message should
appear when you click on "next", click on "use", the fields should automaticaly
appear
      - Activate AutoShareWithMana => Subscriptions
      - Create a new subscription for a second serial
      - There shouldn't be any Share button
      - Create a second subscription => the message should appear, click again
on use

    6 - Report
      - Create a new report, without notes.
      - On the table with all report (reports > use saved), there should be the
action "Share"
      - If you click on share, you have an error message
      - Create a new report, with a title and notes longer than 20 characters
      - You  can share it with mana => you will have a success message
      - On (report > use saved), there must be a message inviting you to search
on mana KB for more results, enter a few word from title, notes, type of  the
report you shared, it should appear. You can use it, it will load it into your
report list.

    7 - Comments.
      - On any table containing mana search results, you can comment. To
comment, click on report mistake. For now, you only can chose "other".
      - If you click on other, a new textbox appears. Enter a short comment.
      - Reload the whole page, the comment should appear in the menu and in the
comment column.
      - If you select a comment and reload the whole page, there should be one
more comment with this name
      - If you select a comment and click on cancel just after, there shouldn't
be any change when you reload.
      - If to a result has been reported a lot (>5, >10 and >15), it should
appear differently

    8 - For each precedent test, try to send wrong datas, to delete the
security token, to send nothing: it should send you a propper message.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list