Skip to content

User is able to add leads using PDF via Magic AI even when the Magic AI option is disabled #2248

Open
@sagarkumar-webkul

Description

@sagarkumar-webkul

Bug report

Title

User is able to add leads using PDF via Magic AI even when the Magic AI option is disabled

Issue Description

Even after disabling the Magic AI feature in the system settings, users are still able to upload a PDF file during lead creation, and the system continues to extract and populate lead data from the PDF. This behavior violates the expected functionality—Magic AI should not process or extract any data when it is turned off.

Preconditions

  • Krayin CRM Version:
  • Laravel Version:
  • Commit ID:
  • Magic AI: Disabled in Settings

Steps to Reproduce

  1. Navigate to Settings > Magic AI and disable the feature.
  2. Go to Leads > Create Lead.
  3. Upload a PDF file with contact/lead information.
  4. Observe that the data is still extracted and filled in the form.

Expected Result

When Magic AI is disabled:

  • The PDF upload should be ignored or blocked.
  • No data should be extracted from uploaded files.

Actual Result

Even with Magic AI disabled:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions