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

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Text to go in the|                            |This fixes the ERM
      release notes|                            |agreements table, when
                   |                            |additional fields are added
                   |                            |for agreements.
                   |                            |
                   |                            |When loading the ERM
                   |                            |agreements table, a 500
                   |                            |error was generated:
                   |                            |
                   |                            |   Something went wrong
                   |                            |when loading the table.
                   |                            |   500: Internal Server
                   |                            |Error
                   |                            |   Properties not allowed:
                   |                            |record_table.
                   |                            |   Properties not allowed:
                   |                            |record_table.
                   |                            |   Properties not allowed:
                   |                            |record_table.

--- Comment #10 from David Nind <[email protected]> ---
Thanks Jan, with your tips I managed to muddle my way through using Bruno (an
open-source API client).

Managed to reproduce the error after enabling ERM, adding two additional fields
for EZR > Agreements, and creating an agreement using those fields:

   Something went wrong when loading the table.
   500: Internal Server Error
   Properties not allowed: record_table.
   Properties not allowed: record_table.
   Properties not allowed: record_table.

After the patches, the tests pass and the agreements table loads in the staff
interface.

Using an API client (such as Bruno) the request is completed successfully:
- GET http://127.0.0.1:8081/api/v1/erm/agreements
- Body: No body
- Headers:
  . Key: x-koha-embed
  . Value: extended_attributes
- Auth: Basic Auth with koha + koha

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to