Skip to content
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

Delete of "all reports with same message" doesn't appear to work #152

Open
smcguire36 opened this issue Feb 23, 2018 · 1 comment
Open

Comments

@smcguire36
Copy link

I have an error log with multiples of the same error. If I select "Delete all reports with the same message on this application" it doesn't delete ANY reports at all. I can delete one report at a time no problem.

It doesn't give any errors, it just doesn't delete anything.

@eveepi
Copy link

eveepi commented Jun 15, 2018

That error occours on mysql.

Issue is in components/lib/dao/dbDataProvider.cfc on Line 147

To fix it on mysql replace
<cfset tmpMessage = replace(replace(tmpMessage,"[","[[]",'all'),"''","'")>
with
<cfset tmpMessage = replace(tmpMessage,"''","'")>
I think that masking of"[" should only be used on mssql, as it is done in components/entryFinder.cfc:124

<cfif dbtype eq "mssql">
<cfset tmpMessage = replace(replace(tmpMessage,"[","[[]",'all'),"''","'", "all")>
</cfif>

Maybe someone, who is more familiar with the project, can write a pull request based on this information.

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

No branches or pull requests

2 participants