Skip to content

Bug-fix#2

Open
waddahadel wants to merge 12 commits into
minervis-proflexx:minpxfrom
waddahadel:wadah-changes
Open

Bug-fix#2
waddahadel wants to merge 12 commits into
minervis-proflexx:minpxfrom
waddahadel:wadah-changes

Conversation

@waddahadel
Copy link
Copy Markdown

Added the missing primaryExistsByFields method to the DatabaseDetector class.

@jeph864
Copy link
Copy Markdown

jeph864 commented Dec 12, 2023

@waddahadel,
thanks for the PR! The method is implemented in vendor/srag/dic/src/Database/AbstractILIASDatabaseDetector.php! You can do two things(not mutually exclusive):

  1. To avoid future issues with maintaining this method we can rely on the ILIAS implementation of the method and simply reference the implementation from the parent classes!
  2. Move the implementation from AbstractILIASDatabaseDetector to DatabaseDetector.php (both in vendor/srag/dic/src/Database/). However this might put a lot more restrictions to the other DatabaseDetectors if there are any.

Let me know what you think!

…ion in the parent class aligns with best practices, ensuring cleaner and more resilient code for future ILIAS updates.~
@waddahadel
Copy link
Copy Markdown
Author

Hello Jephte, I think I got your point and created a new PR

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.

4 participants