Changes
Page history
Update Common Issues
authored
Mar 01, 2023
by
Henry Page
Hide whitespace changes
Inline
Side-by-side
Common-Issues.md
View page @
73baf3fe
...
@@ -19,4 +19,10 @@ To ensure forms have a `_csrf` field, either make sure the form uses `th:action`
...
@@ -19,4 +19,10 @@ To ensure forms have a `_csrf` field, either make sure the form uses `th:action`
##### Where?
##### Where?
Usually in Queue, during the first start-up.
Usually in Queue, during the first start-up.
##### Solution:
##### Solution:
There is a setting in
`application.yaml`
called
`test-connection`
in the
`mail`
section. Make sure this is set to
`false`
.
There is a setting in
`application.yaml`
called
`test-connection`
in the
`mail`
section. Make sure this is set to
`false`
.
\ No newline at end of file
## Pipeline/Build failure when using view assertions
##### Where?
In Queue. When writing an assertion about the expected view, you might get
<error
/500
>
instead. Occasionally, the wrong spring context is initialized.
##### Solution:
Add
`@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)`
to the top of the test class to 'refresh' the Application Context.
\ No newline at end of file