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

            Bug ID: 43357
           Summary: api/v1/public/additional_contents gives 500 error if
                    OPAC related entries lack non-required fields
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: REST API
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

To recreate:

1. Make an OPAC news or HTML customization entry 
2. Leave one of the non-required fields empty (Expiration date and/or Appear in
position )
3. Visit {BASE_URL}/api/v1/public/additional_contents
4. 500 error 


Expected integer - got null.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to