Skip to content

OBGM-486 Unable to upload documents on view shipment page#4108

Merged
awalkowiak merged 1 commit intofeature/upgrade-to-grails-3.3.10from
OBGM-486
Jun 16, 2023
Merged

OBGM-486 Unable to upload documents on view shipment page#4108
awalkowiak merged 1 commit intofeature/upgrade-to-grails-3.3.10from
OBGM-486

Conversation

@alannadolny
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@awalkowiak awalkowiak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this regex search in grails-app folder: log\.(info|debug|error)[ |(][^\"|^\'] and there are also two instances of log.debug params plus a couple of instances of logging maps. Please change the "debug params" and check if Map also triggers this issue.

Comment on lines 49 to 53
def showCacheStatistics() {
def statistics = sessionFactory.statistics
log.info(statistics)
log.info("${statistics}")
render statistics
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this method is used somewhere

@alannadolny alannadolny requested a review from awalkowiak June 15, 2023 12:10
Copy link
Collaborator

@kchelstowski kchelstowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it LGTM, but I'm actually wondering if you have a clear answer why it is not working and has worked for Grails 1? What changed?

@alannadolny
Copy link
Collaborator Author

As I think we used this logger. It has an object as an argument so it can use params, jsons, etc. as an argument.
But for now, we have this logger and it accepts strings as an argument.

@awalkowiak awalkowiak merged commit 48317e6 into feature/upgrade-to-grails-3.3.10 Jun 16, 2023
@awalkowiak awalkowiak deleted the OBGM-486 branch June 16, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants