Closed (fixed)
Project:
AI chat user interface
Version:
1.0.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jan 2024 at 21:58 UTC
Updated:
13 Feb 2024 at 12:47 UTC
Jump to comment: Most recent
[warning] Undefined variable $extra_fields aichat.module:69
[warning] Undefined variable $extra_fields aiprompt_content.module:23
these fields are not defined anywhere but they are a return value for some functions.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mindaugasd commentedin aiprompt case, it is used here: https://git.drupalcode.org/project/aiprompt/-/blob/1.0.x/src/Traits/AIPr...
in aichat case, I don't find it being already used, but there is future intention to use it.
How did you find the bug? Does it have impact? It is not "major" bug, I am downgrading to "minor".
Comment #3
abhishek_gupta1 commentedComment #5
abhishek_gupta1 commented@SocialNicheGuru, I have fixed the issue. please kindly review the mR
Comment #6
mindaugasd commentedFrom the merge request now I see what @SocialNicheGuru meant while previously understood the issue wrong.
I also forgot that this issue was in the past already #3391876: Undefined variable $extra_fields in aiprompt_content_entity_extra_field_info() within my issue queues.
On the other hand, @abhishek_gupta1, you produced a low quality merge request for the second time like in the issue I referenced above.
Please don't credit farm. Neither of your @abhishek_gupta1 contributions will be recorded. You won't be so lucky as other credit farmers were already here: #3367843-3: Fix the issues reported by phpcs
For comparison - I have not recorded credit for myself after creating a module in the first place after spending hundreds of hours. Contributions should be for providing value, not for farming credit.
Comment #8
mindaugasd commentedComment #10
socialnicheguru commentedPlease record credit for yourself. You did develop the module!
Comment #11
mindaugasd commentedIt is not possible to record credit for the module, only for issues (after each issue is completed I believe).
Comment #12
socialnicheguru commentedThat was my roundabout way of just saying job well done.
Comment #14
ressaThank you @mindaugasd, I just want to say that I also really appreciate your big efforts in the AI-space in Drupal.
I only today realized how far your initiative https://www.drupal.org/project/artificial_intelligence_initiative has gotten, with https://www.drupal.org/project/aipersona, https://www.drupal.org/project/aichat, https://www.drupal.org/project/aiwork, and the rest of your Drupal AI modules.