/
2.7.26 Release Notes

2.7.26 Release Notes

Bug fixes

  • admission_create () : was ignoring the “date” parameter. The ADMISSIONS were always created using the current datetime

  • case_admission_list () : The parameter “subscription” was ignored and the function was always returning all the ADMISSIONs of the CASE without filtering by SUBSCRIPTION

  • case_insert () : Was allowing to create a CASE indicating TEAM IDENTIFIERS or SUBSCRIPTION IDENTIFIERS with incomplete or invalid information

  • case_get_contact () : Was not setting the default nationality to the country of the active session user country.

  • case_set_contact () :

    • Was allowing to create a CASE indicating TEAM IDENTIFIERS or SUBSCRIPTION IDENTIFIERS with incomplete or invalid information

    • Was not removing empty addresses of the CONTACT

  • case_search () : Fixed bug when searching by a TEAM IDENTIFIER

  • event_admission_list ( session, event, case {,get },subscription) : The parameter “subscription” was ignored and the function was always returning all the ADMISSIONs of the CASE without filtering by SUBSCRIPTION

  • event_insert () : Now it is possible to indicate the first comment of the EVENT.

  • form_close ( ) : Bug in RECURSIVE TASKS: When setting a recursive frequency less than one day (e.g. "4ADAY"), the original TASK ends up with an incorrect date

  • form_get_array_summary () : Corrected bug that indicated wrong ‘edit’ permissions ot the ITEMS of the array if it was part of an embedded FORM

  • form_set_all_answers ( session, form, xml_answers{, close_form}) : Fixed bug that caused errors when setting the values of ITEMS of an ARRAY

  • form_set_answer () : When the active role is “Service”, allow to modify the contents of a FORM even if the TASK is locked

  • user_set_contact () Was not removing empty addresses of the CONTACT

Incompatibility with previous versions

The parameters or the response or the following functions have changed in a way that make the incompatible with previous version of the API.

To maintain compatibility with previous version ensure to indicate the desired API version when initiating a session with session_init ()

New functions

Improvements

Deprecated functions

FORM FORMULAS

SETTINGS

System configuration

New https://linkcare.atlassian.net/wiki/spaces/WS/pages/18874578 parameters:

  • $GLOBALS['WS_LINK_SUBFOLDER']: Congifuration to allow deploying the platform under a folder of a domain (e.g. https://test-api.linkcareapp.com/app1")

  • $GLOBALS['LEGAL_DOCS_FOLDER']: Parameter to override the default legal documents

  • $GLOBALS['PKPASS_CERTIFICATE_PASSWORD']: and $GLOBALS['PKPASS_CERTIFICATE_FILE']: parameters to configure the generation of Apple Wallet PKPass files

  • $GLOBALS['DEFAULT_COUNTRY']: Defines the default country used by the instance. This value is used to set the default nationality of new contacts and the default country of addresses

  • $GLOBALS['DEFAULT_LANGUAGE']: Defines the instance default language

New https://linkcare.atlassian.net/wiki/spaces/WS/pages/41910339 parameters:

  • RAILS_RELATIVE_URL_ROOT": Congifuration to allow deploying the platform under a folder of a domain (e.g. https://test.linkcareapp.com/app1)

  • API_SUBSCRIBE_URL: variable for customizing the URL that is used to subscribe to notifications sent from the WS-API. Specially designed to be used in internal networks with no access to public domain urls

  • DISABLE_COUNTRY_DETECTION: Disable the country detection of the connected users from the IP.

  • DEFAULT_LANGUAGE: Defines the instance default language

Reviewed support for REST API

The following functions have been revised to ensure that the reponse generates a correct JSON structure when invoking the API via REST protocol

System Daemon

The https://linkcare.atlassian.net/wiki/spaces/WS/pages/3115548677 can be used now to execute custom services apart from the internal maintenance processes

Related content