Skip to content

Mutating SQL test#3072

Open
labkey-adam wants to merge 2 commits into
developfrom
fb_mutating_sql
Open

Mutating SQL test#3072
labkey-adam wants to merge 2 commits into
developfrom
fb_mutating_sql

Conversation

@labkey-adam

@labkey-adam labkey-adam commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Rationale

Simple test that a GET request invoking mutating SQL is flagged and the deprecated feature flag allows it

Related Pull Requests

Comment on lines +563 to +567
beginAt(buildURL("test", "executeMutatingSql"));
assertTextPresent("MUTATING SQL executed as part of handling action: GET org.labkey.devtools.TestController$ExecuteMutatingSqlAction");
checkExpectedErrors(2);

// Turn on the deprecated feature flag and ensure that GET request can invoke mutating SQL

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Consider POSTing to the action to verify that it does not throw an exception.

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