Project

General

Profile

bug #9210

invalid format string usage in MediaAutoInitializer

Added by Andreas Kohlbecker 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
09/01/2020
Due date:
% Done:

100%

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'

Associated revisions

Revision 0ff88328 (diff)
Added by Andreas Kohlbecker 3 months ago

fix #9210 adding indexed format specifiers and fixing hql issues

History

#1 Updated by Andreas Kohlbecker 3 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Kohlbecker 3 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)