COU-636 - Update Courier to deal with cmsMedia table and new media lookups in 7.8

Created by Shannon Deminick 30 Oct 2017, 09:45:22 Updated by Shannon Deminick 14 Dec 2017, 23:46:27

Subtask of: U4-9432

Comments

Claus Jensen 13 Dec 2017, 11:18:12

PR: https://github.com/umbraco/Umbraco-Courier/pull/117

  • Updating Courier to do a version check for 7.8+.
  • If 7.8+ we have the cmsMedia table for doing optimized lookups of media by media paths, so we use that for creating the media path cache.
  • If pre 7.8 we use the old hacky query for getting media paths in the best possible way.


Shannon Deminick 14 Dec 2017, 23:46:15

Code looks good, I've tested on 7.8 and breakpointed through the code to verify it all gets executed properly. Nice one!


Priority: Normal

Type: Task

State: Fixed

Assignee:

Difficulty:

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 3.1.6

Due in version: 3.1.7

Sprint: Sprint 74

Story Points: 2

Cycle: 6