Vojtech Sigler created MRM-1643:
-----------------------------------
Summary: Error 500 when browsing artifact group
Key: MRM-1643
URL: https://jira.codehaus.org/browse/MRM-1643
Project: Archiva
Issue Type: Bug
Affects Versions: 1.3.5
Environment: Linux x86_64, Glassfish 3.1.2, PostgreSQL 9.1
Reporter: Vojtech Sigler
When I try to browse a repository from the web UI and open an artifact group, I
get a HTTP 500 error with the following message:
{noformat}
javax.servlet.ServletException: javax.jdo.JDODataStoreException: Error
executing JDOQL query "SELECT "THIS"."GROUP_ID" FROM "ARCHIVA_ARTIFACT" "THIS"
WHERE (("THIS"."REPOSITORY_ID" = ? OR "THIS"."REPOSITORY_ID" = ?)) AND
"THIS"."GROUP_ID" LIKE ? ESCAPE '\\' GROUP BY "THIS"."GROUP_ID" ORDER BY
"THIS"."GROUP_ID"" : ERROR: invalid escape string
Rada: Escape string must be empty or one character..
NestedThrowables:
org.postgresql.util.PSQLException: ERROR: invalid escape string
Rada: Escape string must be empty or one character.{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira