Project

General

Profile

Actions

bug #9210

closed

invalid format string usage in MediaAutoInitializer

Added by Andreas Kohlbecker over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

The format string as being used in

String.format(" LEFT JOIN FETCH %s.representations LEFT JOIN FETCH %s.titles r LEFT JOIN FETCH r.mediaRepresentationParts ", beanAlias)

refers to two arguments but only one is given.

This leads to exceptions in the AdvancedBeanInitializer (found in the cdm-vaadin test log)

15:36:40,479 ERROR AdvancedBeanInitializer:606 - java.util.MissingFormatArgumentException: Format specifier '%s'
Actions

Also available in: Atom PDF