Skip to content

Commit

Permalink
Merge pull request #43 from xwikisas/issue28
Browse files Browse the repository at this point in the history
Migration request appears for some newly created diagrams #28
  • Loading branch information
mflorea committed Jul 23, 2019
2 parents a93dd78 + 79e4820 commit 3754ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/Diagram/MigrationScriptMacros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#set ($targetVersion = $extension.version)
#end
#if ($targetVersion)
#set ($migrationIsRequiredClause = " and doc.content like '%draw.io%' and doc.content not like '%draw.io/$targetVersion/%'")
#set ($migrationIsRequiredClause = " and doc.content like '%/webjars%/draw.io/%' and doc.content not like '%/draw.io/$targetVersion/%'")
#set ($hql = "select doc.fullName from XWikiDocument as doc, BaseObject as obj where obj.name = doc.fullName and obj.className='Diagram.DiagramClass' and doc.fullName <> 'Diagram.DiagramTemplate' $migrationIsRequiredClause")
#set ($toBeMigratedEntries = $services.query.hql($hql).execute())
#end
Expand Down

0 comments on commit 3754ff9

Please sign in to comment.