Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bug: Empty name field in mode YAML file after deleting all characters in Roo Code plugin#5766

Copy link
Copy link
@kfxmvp

Description

@kfxmvp
Issue body actions

App Version

v3.23.12

API Provider

Google Gemini

Model Used

gemini 2.5 pro

Roo Code Task Links (Optional)

No response

馃攣 Steps to Reproduce

Description
When using the Roo Code plugin to modify a mode's name, if all characters in the input box are deleted, the plugin automatically saves this change to the mode's YAML file. This results in the name field being set to an empty string, which violates YAML format specifications. Consequently, the mode YAML file fails to parse.
Steps to Reproduce
Open the Roo Code plugin and navigate to the mode name editing interface.
Select the existing mode name in the input box and delete all characters.
Observe that the plugin automatically saves the modification.
Check the corresponding mode YAML file, where the name field will be an empty string.
Attempt to parse the YAML file, which will fail due to the invalid empty name field.
Expected Behavior
The plugin should prevent saving when the name input is empty (after deleting all characters).
A validation error or prompt should be shown to inform the user that the name cannot be empty.
The YAML file should not be updated with an invalid empty name field.
Actual Behavior
The plugin automatically saves the empty string to the name field in the YAML file, causing a parsing error due to non-compliance with YAML format specifications.

馃挜 Outcome Summary

The expected behavior is that the Roo Code plugin should prevent saving an empty mode name, but instead, it automatically saves an empty string to the name field in the YAML file, causing a parsing error.

馃搫 Relevant Logs or Errors (Optional)

dosubot

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.bugSomething isn't workingSomething isn't working

Type

No type

Projects

Status

Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.