Recruiter 2 Upgrade Procedures


Process Outline

  1. Create sanity test environment for the system to be upgraded.
  2. Perform sanity tests on system prior to upgrade.
  3. Commit all configuration files to git repository.
  4. Perform update procedures. (defined by version below)
  5. Update the system at
  6. Perform sanity tests on system post upgrade.
  7. Inspect test findings and correct as necessary
  8. Roll back or keep.


Version 2101, 2102


  1. Remove most php code from index.php or top.php
    • Remove ssl redirect
    • Remove cacheversions.php
    • Remove formList
    • Remove twitter response
    • Remove Attachments code (end of top.php or index.php)
  2. Include the following snippet on line 2 of index.php or top.php
    require_once 'C:\inetpub\wwwroot\cstoolsqa\ngRecPhp.php';
  3. Include the following snippet inside the !isset(minimal) section (approx line 20) of index.php or top.php
    <script><?php echo $GLOBALS['CUSTOM_ENV']->initJsInHead();?></script>
    <? echo file_get_contents(""); ?>
    <? getLocalFileCacheUrls(); ?>
  4. Remove initJsInHead() from old location in code in top.php or index.php.
  5. Add sam footer directive after all other footers in top.php or index.php.
  6. Remove respond.js at end of bottom.php or index.php
    Remove the factory for "cacheVersionsInterceptor" in angular-config.js (this now exists in utils.1.1.js


Version 2103


  1. Make sure DIRECTIVES_URL is defined in constants
  2. Change setConfig slotViewModal to slotList
  3. Change setConfig configurations from oppSignupSettings to signupSettings OR add signupSettings if it doesn't exist.
  4. Add hideSignup object under signupSettings
  5. Change setConfig configurations from hideOppSignup to hideOppSignupButton
  6. Put under signupSettings.hideSignup
  7. If you have oppSettings: move hideOppSignupButton to signupSettings.hideSignup from oppSettings
  8. If you have hideRemoveButton: Add hideRemoveButton into signupSettings
  9. Add hideSlotSignupButton to match hideOppSignupButton config under signupSettings.hideSignup.
  10. Move allowGroupsUdf setting to signupSettings.
  11. Remove allowGroupsUdf and any hideSignup settings that are on $rootScope.
  12. for Sign-in Stations, Update data_signin.php er_getPlacedOppList array of fields, to include OPP_SIGNIN_NOTE
  13. Review Bowery Group Sign Up


Version 2200

  1. Add CustomServices dependency to the top of your angular-config.js file.
  2. Transfer all customServices to CONSTANT model as defined in SH/1370 recruiter
  3. Transfer all customData to CUSTOM_DATA constant.
  4. Add pageDisplaySettings() into .run function of your angular-config file (screenshot below)
  5. Remove all $rootScope.$on('statechange' watchers from .run function.
  6. Remove sendAnalytics from .run function.
  7. Make sure keyword search button on the search page, which is now an input-group, displays correctly. (NG-543)
  8. Link "REPORT_ERRORS" flag to global Constant REPORT_ERRORS
  9. Change setConfig ->  slotViewModal to slotList
  10. Update forms_template.1.0.html OR profile_template.1.0.html to forms_template.1.1.html.
  11. Make sure "settings":{} property exists in all forms.
  12. Add "pageTitle":"Volunteer Profile" to volForm.json, and appropriate page titles to other forms.
  13. Replace old slider with new slider
  14. Update bug tracking declarations in .config function (see code block below)
  15. Run snaptests for the current client (see
  16. Move require_once ngrecphp.php line to inside <head> tags.








//Atatus Bug Tracking
$provide.decorator("$exceptionHandler", ['$delegate', '$window', function($delegate, $window) {
return function (exception, cause) {
if (exception.stack) exception.stack = exception.stack.replace('new <anonymous>', '<anonymous>');
if (SYS_CONSTANTS.REPORT_ERRORS&&$window.atatus) $window.atatus.notify(exception);
// (Optional) Pass the error through to the delegate
$delegate(exception, cause);



Version 2201


  1. Delete breadcrumbprovider template from .config(), unless it is customized.
  2. Add id attribute to login page headers in custom login partials
  3. Make sure a google analytics samtracker is configured for the account (found in index.php).
  4. Update Buffer Time settings (see NG-684)






Version 2202

  1. Make sure loadEvent is moved to customServices in forms.
  2. Migrate to header2.html
  3. Remove CustomServices Dependency on main module
  4. Refactor customServices from constant to factory
  5. Refactor customData from constant to factory
  6. Check Password reset and correct page configs if necessary.



Version 2203






Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk