API Management
13.2 13.1 13.0 12.2 12.1 12.0 11.0
13.2 13.1 13.0 12.2 12.1 12.0 11.0

Applying Patch

Applying Patch/Unpatch

Copy the patch to the location $FioranoHome$/APIManagement/DeveloperPortalDrupal/patch.

  1. Before applying any patch/unpatch, give the location of the Drupal Portal folder without a trailing line separator in the 'build.properties' file located at $FioranoHome$/APIManagement/DeveloperPortalDrupal/patch folder.

    /opt/lampstack-7.1.32-0/apache2/htdocs/FioranoDeveloperPortal
    
  2. After providing the Drupal path, apply patch or unpatch using the following commands:

    ant patch
    
    ant unpatch
    

    Since the path to the Drupal portal folder is provided in the build.properties file, make sure the paths in patch.properties is relative to the drupal portal folder.

    jars=
    directories=captcha
    files=fiorano_core.module
    captcha=sites/all/modules/captcha
    fiorano_core.module=sites/all/modules/fiorano_core/fiorano_core.module
    
    

    Patching/Unpatching can be applied to an existing Live site also by following the above-mentioned steps. 

  • Sometimes changes to the database are required for the desired outcome of the patch. To make changes to the database configuration, open the URL in the browser in the following format:

    <Drupal Portal URL>/update.php
    
  • Any database configuration changes that are required will be mentioned in the readme.txt file of the patch.