You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Brijesh619 (via GitHub)" <gi...@apache.org> on 2026/05/27 12:05:47 UTC

[PR] ATLAS-5299: Atlas React UI: Create Subcategory API Fails Due to Missi… [atlas]

Brijesh619 opened a new pull request, #649:
URL: https://github.com/apache/atlas/pull/649

   **ATLAS-5299: Atlas React UI: Create Subcategory API Fails Due to Missing parentCategoryId in UI Payload**
   
   **What changes were proposed in this pull request?**
   Currently in the Atlas React UI, creating a child category (subcategory) under an existing category fails because the API payload is missing the correct parentCategoryId. The UI was previously hardcoding the categoryGuid to the root glossaryTypeGuid rather than the specific parent category the user had selected.
   
   This patch fixes the issue by updating AddUpdateCategoryForm.tsx:
   
   It extracts the cGuid (Category GUID) from the node props.
   When the form is generating the payload for a "child" type category, it assigns categoryGuid to cGuid if it exists, gracefully falling back to glossaryTypeGuid if it does not.
   This ensures that the correct parent ID is successfully passed to the backend API during subcategory creation.
   
   **How was this patch tested?**
   Manual testing in the UI:
   
   Navigated to the Glossary page in the Atlas React UI.
   Selected an existing Glossary category and clicked to add a child Category.
   Filled out the Category creation form and submitted.
   Verified via browser network tools that the POST request payload now correctly contains the parentCategory: { categoryGuid: "<correct-parent-guid>" }.
   Confirmed that the API returns a success status and the subcategory successfully renders in the Glossary tree UI without crashing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@atlas.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ATLAS-5299: Atlas React UI: Create Subcategory API Fails Due to Missi… [atlas]

Posted by "Brijesh619 (via GitHub)" <gi...@apache.org>.
Brijesh619 commented on PR #649:
URL: https://github.com/apache/atlas/pull/649#issuecomment-4645964137

   <img width="1366" height="768" alt="Screenshot from 2026-06-08 11-49-21" src="https://github.com/user-attachments/assets/c24da8cb-8f5b-4176-8244-9acffae75f31" />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@atlas.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ATLAS-5299: Atlas React UI: Create Subcategory API Fails Due to Missi… [atlas]

Posted by "Brijesh619 (via GitHub)" <gi...@apache.org>.
Brijesh619 commented on PR #649:
URL: https://github.com/apache/atlas/pull/649#issuecomment-4554637039

   <img width="1366" height="695" alt="Screenshot from 2026-05-27 18-18-49" src="https://github.com/user-attachments/assets/371d6c6a-53dd-4824-b7b6-426dfdeb4309" />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@atlas.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ATLAS-5299: Atlas React UI: Create Subcategory API Fails Due to Missi… [atlas]

Posted by "pawarprasad123 (via GitHub)" <gi...@apache.org>.
pawarprasad123 merged PR #649:
URL: https://github.com/apache/atlas/pull/649


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@atlas.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] ATLAS-5299: Atlas React UI: Create Subcategory API Fails Due to Missi… [atlas]

Posted by "Brijesh619 (via GitHub)" <gi...@apache.org>.
Brijesh619 commented on PR #649:
URL: https://github.com/apache/atlas/pull/649#issuecomment-4554492389

   ![Uploading Screenshot from 2026-05-27 17-58-25.png…]()
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@atlas.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org