-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempting to access LogEvents list page in the production instance throws an error. #49
Comments
Issue potentially related to #35 |
…ndex method for LogEvent controller to override default scaffolded index path, using createCriteria to manaully set params for LogEvent query to prevent Grails/Hibernate from converting sorting column value to uppercase
As suggested by @joe-lipson , indexes have not been added/set properly for the columns which are used to sort the results. Adding index correctly for the column i.e. SQL logs were inspected on local db instance to get the actual SQL query made by the application. The query used by grails' scaffolded LogEvent controller implementation actually converts any selected sorting column e.g. Converting the sorting column to uppercase during the query is not explicitly defined anywhere is the codebase or configuration. It seems to be set internally by Grails or Hibernate Fix
Looking into archiving current |
…efault scaffolded index path, using createCriteria to manaully set params for LogDetail query to prevent Grails/Hibernate from converting sorting column value to uppercase
Entity Type
,Entity Uid
, andRecord Count
.The text was updated successfully, but these errors were encountered: