Skip to content

New organization name not updating in person record after save in contact-> person #2170

Open
@sagarkumar-webkul

Description

@sagarkumar-webkul

Bug report

Title

New organization name not updating in person record after save in Krayin CRM

Issue Description

When updating a person's details in the Contacts > Persons section, if the user tries to enter a new organization name (not present in the existing list), the system provides an option to add a new organization. After selecting that option and clicking "Save" on the Update Person form, a success message is shown. However, the organization name is not updated in the table view, and the change is not reflected in the person's record.

Preconditions

1. Krayin CRM Version: 2.1
2. Laravel Framework 
3. Commit ID:

Steps to reproduce

1. Login to Krayin CRM admin panel.
2. Navigate to Contacts → Persons.
3. Click Edit icon on any existing person.
4. In the Organization Name field, type a new organization name that doesn't exist.
5. Click on the suggested option to **add new organization**.
6. Complete any other required fields and click **Save**.
7. Observe the success message.
8. Go back to the person listing and check the updated organization.

Expected result

  • New organization name should be created and assigned to the person.
  • Person record in the table view should display the new organization.

Actual result

What actually happens:

  • Success message: "Person updated successfully."
  • However, the organization name remains unchanged in the table.
  • The new organization is not reflected in the person's profile.

video link - https://webkul.chatwhizz.com/share/view-recording/67f8f459af3639058f8f3bbb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions