Recieve 2 notification emails after a user performs a check-in
Hi,
We are currently evaluating your plugin Simple-Checkout for use in our organisation.
But we are seeing some issues in our test environment.
Server: Confluence 7.2.0
Plugin version: Simple-checkout 1.2.6
Problem that i´ve noticed is that if a user clicks on Notify me on an attachment that is currently checked out the notification is sent out twice?
I cant find any related issues regarding notifications from our test server.
Br
Magnus Randehed
Comments (7)
-
repo owner -
repo owner - marked as minor
-
repo owner - changed status to open
Under investigation
-
repo owner Dear Magnus,
we have not been able to reproduce the described error on our side. Could you please add de.edrup.confluence.plugins.simplecheckout.util.CheckoutHelper with log level debug to your Logging and Profiling (https://confluence.atlassian.com/doc/configuring-logging-181535215.html) and send me the relevant result from the log. It should read something like this:
Informing user … regarding the check-in of attachment …
When you get two emails there should be two log entries.
Thank you
Andreas
-
reporter Hi Andreas,
We made two tries with different accounts as you see below the result is the same.
2020-01-29 08:39:56,471 DEBUG [https-jsse-nio-443-exec-9] [plugins.simplecheckout.util.CheckoutHelper] handleNotifications Informing user Magnus Randehed regarding the check-in of attachment 31883266 2020-01-29 08:39:56,471 DEBUG [https-jsse-nio-443-exec-37] [plugins.simplecheckout.util.CheckoutHelper] handleNotifications Informing user Magnus Randehed regarding the check-in of attachment 31883266 2020-01-29 08:39:56,610 WARN [https-jsse-nio-443-exec-19] [common.security.jersey.XsrfResourceFilter] hasDeprecatedHeaderValue Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead. -- url: /rest/token-auth/api/content/30408706/child/attachment/31883266/data | traceId: 2e0fc82071014234 | userName: anonymous 2020-01-29 08:39:56,611 WARN [https-jsse-nio-443-exec-19] [common.security.jersey.XsrfResourceFilter] hasDeprecatedHeaderValue Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead. -- url: /rest/token-auth/api/content/30408706/child/attachment/31883266/data | traceId: 2e0fc82071014234 | userName: anonymous 2020-01-29 08:41:01,105 DEBUG [https-jsse-nio-443-exec-44] [plugins.simplecheckout.util.CheckoutHelper] handleNotifications Informing user Ann-Christin Dornell regarding the check-in of attachment 31883266 2020-01-29 08:41:01,105 DEBUG [https-jsse-nio-443-exec-27] [plugins.simplecheckout.util.CheckoutHelper] handleNotifications Informing user Ann-Christin Dornell regarding the check-in of attachment 31883266 2020-01-29 08:41:01,230 WARN [https-jsse-nio-443-exec-4] [common.security.jersey.XsrfResourceFilter] hasDeprecatedHeaderValue Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead. -- url: /rest/token-auth/api/content/30408706/child/attachment/31883266/data | traceId: 2a2e18444c066483 | userName: anonymous 2020-01-29 08:41:01,231 WARN [https-jsse-nio-443-exec-4] [common.security.jersey.XsrfResourceFilter] hasDeprecatedHeaderValue Use of the 'nocheck' value for X-Atlassian-Token has been deprecated since rest 3.0.0. Please use a value of 'no-check' instead. -- url: /rest/token-auth/api/content/30408706/child/attachment/31883266/data | traceId: 2a2e18444c066483 | userName: anonymous
Best regards
Magnus
-
repo owner Dear Magnus,
although we tried it on multiple test system we haven’t bee able to reproduce the issue. May I ask you for some additional information:
- Browser used.
- When you click “Notify me” does the confirmation flag show once or twice?
- When yo navigate (starting from the page at which you perform your tests) to Space Configuration (left bottom corner) | Apps | Simple Checkout, does the checkout show up once or twice (of course before you check-in the attachment again)?
- Are you using the check-out and check-in buttons or do you use the automatic function underneath Edit with…?
- Are you using the attachments screen or attachments macro on the page?
Thank you for helping me nailing this down.
Kind regards
Andreas
-
repo owner Dear Magnus,
I would be able to provide a version which probably cures the symptoms. However I’m still interested in the cause. I suggest that we share further details in closed support ticket rather than here: https://purde-software.atlassian.net/servicedesk/customer/portal/2
Kind regards
Andreas
- Log in to comment
Dear Magnus,
we will investigate this on our side and will get back to you shortly.
Kind regards
Andreas