Merge pull request #2939 from dpalou/MOBILE-3552

MOBILE-3552 h5p: Fix some dependencies not added to cached assets
main
Noel De Martin 2021-09-08 17:35:54 +02:00 committed by GitHub
commit 255f3048a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -419,7 +419,7 @@ export class CoreH5PFramework {
'l1.patchversion AS patchVersion, l1.addto AS addTo, ' + 'l1.patchversion AS patchVersion, l1.addto AS addTo, ' +
'l1.preloadedjs AS preloadedJs, l1.preloadedcss AS preloadedCss ' + 'l1.preloadedjs AS preloadedJs, l1.preloadedcss AS preloadedCss ' +
'FROM ' + LIBRARIES_TABLE_NAME + ' l1 ' + 'FROM ' + LIBRARIES_TABLE_NAME + ' l1 ' +
'JOIN ' + LIBRARIES_TABLE_NAME + ' l2 ON l1.machinename = l2.machinename AND (' + 'LEFT JOIN ' + LIBRARIES_TABLE_NAME + ' l2 ON l1.machinename = l2.machinename AND (' +
'l1.majorversion < l2.majorversion OR (l1.majorversion = l2.majorversion AND ' + 'l1.majorversion < l2.majorversion OR (l1.majorversion = l2.majorversion AND ' +
'l1.minorversion < l2.minorversion)) ' + 'l1.minorversion < l2.minorversion)) ' +
'WHERE l1.addto IS NOT NULL AND l2.machinename IS NULL'; 'WHERE l1.addto IS NOT NULL AND l2.machinename IS NULL';

View File

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
import { FileEntry, DirectoryEntry } from '@ionic-native/file/ngx';
import { CoreFile, CoreFileFormat } from '@services/file'; import { CoreFile, CoreFileFormat } from '@services/file';
import { CoreTextUtils } from '@services/utils/text'; import { CoreTextUtils } from '@services/utils/text';
import { CoreH5PSemantics } from './content-validator'; import { CoreH5PSemantics } from './content-validator';