]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: [RGW-NFS]: User level export creation via UI fails with 500 - Internal... 67013/head
authorDnyaneshwari Talwekar <dtalwekar@li-4c4c4544-0038-3510-8056-b5c04f473234.ibm.com>
Tue, 13 Jan 2026 07:24:09 +0000 (12:54 +0530)
committerDnyaneshwari Talwekar <dtalwekar@li-4c4c4544-0038-3510-8056-b5c04f473234.ibm.com>
Wed, 21 Jan 2026 08:22:48 +0000 (13:52 +0530)
Fixes: https://tracker.ceph.com/issues/74383
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
(cherry picked from commit cebeab01bd318a6f65be07705d501a7ff45b6c27)

src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts

index 65e3f3acc9f5cd2e3bab9a4bab42005f67cdb2b4..7535e68b16e5eacaaf8d4cf0c72fad657b4ebd9c 100644 (file)
@@ -642,8 +642,7 @@ export class NfsFormComponent extends CdForm implements OnInit {
   }
 
   private buildRequest() {
-    const requestModel: any = _.cloneDeep(this.nfsForm.value);
-    requestModel.fsal = this.nfsForm.get('fsal').value;
+    const requestModel: any = _.cloneDeep(this.nfsForm.getRawValue());
     if (this.isEdit) {
       requestModel.export_id = _.parseInt(this.export_id);
       requestModel.path = this.nfsForm.get('path').value;