)]}'
{"id":"openstack%2Fmanila~998744","triplet_id":"openstack%2Fmanila~master~If630af48461d5c0dcfef75e201c3533e3ee8e119","project":"openstack/manila","branch":"master","topic":"bug/2161859","hashtags":[],"change_id":"If630af48461d5c0dcfef75e201c3533e3ee8e119","subject":"db: Add missing raise for exception.NotFound()","status":"ABANDONED","created":"2026-07-27 01:36:15.000000000","updated":"2026-07-27 01:57:35.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"d66d239099e5a0f24541200b857fe2805b7a332e","_number":998744,"virtual_id_number":998744,"owner":{"_account_id":36739,"name":"HyungJoon Kim","display_name":"hjoon87.kim","email":"hjoon87.kim@samsung.com","username":"hjoon87.kim"},"actions":{},"labels":{"Verified":{"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{},"pending_reviewers":{},"reviewer_updates":[],"messages":[{"id":"fc5fb150326a571dfe7db93031f2a70cb7756ac8","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":36739,"name":"HyungJoon Kim","display_name":"hjoon87.kim","email":"hjoon87.kim@samsung.com","username":"hjoon87.kim"},"date":"2026-07-27 01:36:15.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"d66d239099e5a0f24541200b857fe2805b7a332e","tag":"autogenerated:gerrit:abandon","author":{"_account_id":36739,"name":"HyungJoon Kim","display_name":"hjoon87.kim","email":"hjoon87.kim@samsung.com","username":"hjoon87.kim"},"date":"2026-07-27 01:57:35.000000000","message":"Abandoned\n\nregenerate the change ID.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"1e52c023347629dc3392d2885bdbd5d2f3767877","revisions":{"1e52c023347629dc3392d2885bdbd5d2f3767877":{"kind":"REWORK","_number":1,"created":"2026-07-27 01:36:15.000000000","uploader":{"_account_id":36739,"name":"HyungJoon Kim","display_name":"hjoon87.kim","email":"hjoon87.kim@samsung.com","username":"hjoon87.kim"},"ref":"refs/changes/44/998744/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/manila","ref":"refs/changes/44/998744/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/manila refs/changes/44/998744/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/manila refs/changes/44/998744/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/manila refs/changes/44/998744/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/manila refs/changes/44/998744/1"}}},"commit":{"parents":[{"commit":"1a3b61838e647d5d9abde344803ec61d79293b2f","subject":"Merge \"Enable SRBAC new defaults by default in devstack\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/manila/commit/1a3b61838e647d5d9abde344803ec61d79293b2f"}]}],"author":{"name":"HyungJoon Kim","email":"hjoon87.kim@samsung.com","date":"2026-07-27 01:01:39.000000000","tz":540},"committer":{"name":"HyungJoon Kim","email":"hjoon87.kim@samsung.com","date":"2026-07-27 01:35:57.000000000","tz":540},"subject":"db: Add missing raise for exception.NotFound()","message":"db: Add missing raise for exception.NotFound()\n\nThree functions in manila/db/sqlalchemy/api.py instantiate\nexception.NotFound() without the raise keyword, so the exception object\nis discarded and execution falls through to code that dereferences the\nobject that was just found to be None. The \"if not \u003cobj\u003e:\" guard is\ntherefore dead code, and a TypeError or AttributeError is raised from\nthe following statement instead of NotFound.\n\nAffected functions:\n* share_instance_access_delete()\n* _share_snapshot_instance_access_delete()\n* _share_snapshot_instance_export_location_delete()\n\nThis change adds the missing raise keyword in all three places.\n\nCloses-Bug: #2161859\nChange-Id: If630af48461d5c0dcfef75e201c3533e3ee8e119\nSigned-off-by: HyungJoon Kim \u003chjoon87.kim@samsung.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/manila/commit/1e52c023347629dc3392d2885bdbd5d2f3767877"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/manila/commit/1e52c023347629dc3392d2885bdbd5d2f3767877"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
