Hi,
when you call versioncontrol_fetch_source_items() with an array of items and for none of the items item_revision_ids can be found it will output sql warnings because the IN clause is empty. Attached patch returns before this can happen.

CommentFileSizeAuthor
versioncontrol_fetch_source_items.patch649 bytesCorniI

Comments

jpetso’s picture

Status: Active » Fixed

Good catch, thanks for the patch - applied!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 41a1fa0 on 6.x-1.x, repository-families, drush-vc-sync-unlock by jpetso:
    #424254 by Cornil: Avoid SQL errors when there are no source items to...

  • Commit 41a1fa0 on 6.x-1.x, repository-families by jpetso:
    #424254 by Cornil: Avoid SQL errors when there are no source items to...