Skip to content

bug/HOP-71#57

Open
Girik1105 wants to merge 1 commit into
developfrom
bug/HOP-71
Open

bug/HOP-71#57
Girik1105 wants to merge 1 commit into
developfrom
bug/HOP-71

Conversation

@Girik1105

@Girik1105 Girik1105 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Guidelines for Pull Requests

If you haven't yet read our code review guidelines, please do so, You can find them here.

Please confirm the following by adding an x for each item (turn [ ] into [x]).

  • I have removed all code style changes that are not necessary (e.g. changing blanks across the whole file that don’t need to be changed, adding empty lines in parts other than your own code)
  • I am not making any changes to files that don’t have any effect (e.g. imports added that don’t need to be added)
  • I do not have any sysout statements in my code or commented out code that isn’t needed anymore
  • I am not reformatting any files in the wrong format or without cause.
  • I am not changing file encoding or line endings to something else than UTF-8, LF
  • My pull request does not show an insane amount of files being changed although my ticket only requires a few files being changed
  • I have added Javadoc/documentation where appropriate
  • I have added test cases where appropriate
  • I have explained any part of my code/implementation decisions that is not be self-explanatory

Please provide a brief description of your ticket

File can't be added to kb from sync view

Description

ValueError at /hopper/ask/kb/add-pdf-to-kb/
The 'file' attribute has no file associated with it.
Request Method: POST
Request URL: http://localhost:8005/hopper/ask/kb/add-pdf-to-kb/
Django Version: 6.0.2
Exception Type: ValueError
Exception Value:
The 'file' attribute has no file associated with it.
Exception Location: /usr/src/app/.venv/lib/python3.12/site-packages/django/db/models/fields/files.py, line 43, in _require_file
Raised during: ask.views.kb_add_pdf_to_mcp

HOP-71

Anything else the reviewer needs to know?

Does this Pull request depend on any other?

@diging-jenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants