Sunnysideup\MigrateData\Tasks\FixMissingFiles
Update all systems.
Class UpdateSystemsWithProductCodeVariantKeywords
Synopsis
class FixMissingFiles
extends BuildTask
{
- // members
- protected string $title = 'Fix missing filename references in duplicate file records from SS3';
- protected string $description = 'When duplicate records exist for the same file in SS3 the silverstripe data migration task will only update one. Causing the other files to "go missing". This task fixes that';
- // methods
- public void run()
- protected void runUpdateQuery()
- protected void publishFile()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Uses
- Sunnysideup\Flush\FlushNow
Members
protected
- $description — string
- $title — string
Methods
protected
- publishFile() — Take a file record and publish it (enter it to File_Live).
- runUpdateQuery()
public
- run() — Fix broken file references and publish them.