Page MenuHomeIn-Portal Phabricator

INP-1497 - Detect primary key of "email-template" unit automatically during upgrade
ClosedPublic

Authored by alex on Oct 5 2015, 3:13 PM.

Details

Test Plan
  1. choose profile to use (in-portal.full or in-portal.community)
  2. checkout In-Portal 5.1.x using chosen profile
  3. checkout In-Portal 5.2.x via in-portal module and then run php /tools/configure_profile.php profile_name script using chosen profile
  4. install In-Portal 5.1.x
  5. copy over /system/config.php file from In-Portal 5.1.x installation to In-Portal 5.2.x installation (fix WebsitePath setting if needed)
  6. open /core/install.php in the In-Portal 5.2.x installation
  7. perform upgrade with Debugger enabled
  8. confirm, that SQLs with WHERE TemplateId = were not called
  9. confirm, that after upgrade the EmailTemplates table has non-empty HtmlBody column

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 364.Oct 5 2015, 3:13 PM
alex retitled this revision from to INP-1497 - Detect primary key of "email-template" unit automatically during upgrade.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1497.
alex edited the test plan for this revision. (Show Details)Oct 5 2015, 4:00 PM
alex edited edge metadata.
glebs accepted this revision.Oct 9 2015, 2:07 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Oct 9 2015, 2:07 AM
This revision was automatically updated to reflect the committed changes.