[19.0][FIX] dms: allow saving subdirectories when created from parent context #522
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.42) × (1 − Review Confidence (0.54)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 86 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.267
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 comments
"Review active on #522"
general
weight: 0.35
miraaz
Bug Description
When creating a new subdirectory from an existing directory's form view (
Subdirectoriestab ->Add a line), the web client (OWL) marks theParent Directoryfield as missing (Missing required fields), blocking the save.Although
contextprovidesdefault_parent_id(as seen incomplete_name), the user is forced to manually re-select the parent directory from the dropdown list.Solution
Allow
parent_idto be hidden and bypass strict client-side requirement whendefault_parent_idis present in context:invisible="is_root_directory or context.get('default_parent_id')"required="not is_root_directory and not context.get('default_parent_id')"