Skip to content

[Tests] Cannot save new test - save button does not submit when all required fields are filled #145

@BoletteKern

Description

@BoletteKern

Which component is this issue related to?

Umbraco.AI (Core)

Which Umbraco AI version are you using? (Please write the exact version, example: 10.1.0)

17.2.0

Bug summary

When creating a new test, filling in all required fields (Name, Target, Profile, Property Alias and Mock Entity) and clicking Save, the save button does not show the confirmation checkmark and no network request is made. The form appears to be failing client-side validation even though all fields are visibly filled.

The same setup worked successfully when creating "Context Sensitivity — SEO Meta Description on Article."
"Test" cannot be saved

Test.won.t.save.mp4

identical configuration apart from using the Content document type for the mock entity.

Specifics

No response

Steps to reproduce

1)Go to AI > Tests in the Umbraco backoffice
2)Click Create and select Prompt as the test type
3)Fill in all required fields:

Name: Test
Target: Select the SEO Meta Description prompt
Profile: Select the SEO profile
Property Alias: metaDescription
Mock Entity: Add a Document using the Content document type, fill in Title and Subtitle

4)Click Save

Expected result / actual result

Expected Result:
The test is saved successfully, a confirmation checkmark appears on the Save button, and the test appears in the tests list.

Actual Result:
Clicking Save does nothing, no confirmation checkmark appears on the Save button, no network request is made to the server, and the test is not saved.

Additional Notes:
This happens regardless of which document type is selected for the mock entity
Removing the mock entity entirely does not fix the issue
No error messages are shown anywhere in the UI

Dependencies

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions