Issue 16095

UAT: MyBatis errors showing in logs

16095
Reporter: trobertson
Type: Feedback
Summary: UAT: MyBatis errors showing in logs
Priority: Major
Resolution: Duplicate
Status: Closed
Created: 2014-07-10 10:54:58.155
Updated: 2014-07-10 11:02:11.959
Resolved: 2014-07-10 11:02:11.914
        
Description: Looks like there are URI that don't work

### Error querying database.  Cause: java.lang.IllegalArgumentException: Illegal pattern character 'U'
### The error may exist in org/gbif/checklistbank/service/mybatis/MultimediaMapper.xml
### The error may involve org.gbif.checklistbank.service.mybatis.MultimediaMapper.listByNubUsage-Inline
### The error occurred while setting parameters
### SQL: SELECT i.usage_fk,      i.id, i.url, i.link, i.title, i.description, i.license, i.creator, i.created, i.publisher      FROM      image i       JOIN nub_rel rel ON i.usage_fk=rel.usage_fk       WHERE rel.nub_fk=?     ORDER BY i.rating, i.id      LIMIT ? OFFSET ?
### Cause: java.lang.IllegalArgumentException: Illegal pattern character 'U']]>
    


Author: omeyn@gbif.org
Comment: POR-2287
Created: 2014-07-10 11:02:11.956
Updated: 2014-07-10 11:02:11.956