-
Notifications
You must be signed in to change notification settings - Fork 2
Redesign/add templates #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We have version control, we simply delete code and restore if necessary.
|
I am rebasing this on some previous changes from me which I did not push. So expect history-rewrites for this branch. I am, at the same time, looking at your commits, @TamaroWalter, and making some adjustments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change remove deprecated utf8 function is a step in the right direction and we should keep it for this PR. In the long-run we should try to address #14.
dlmsr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add template for first overview is not quite the desired behaviour:
Reason: utf8_encode is deprecated as of PHP 8.2.0.
We introduce a new renderable called first_overview which uses a template for rendering the first overview. Co-authored-by: Daniel Meißner <daniel.meissner@uni-muenster.de>
|
Just one quick question, @TamaroWalter: fix SQL concatenation does not fix any bugs, does it? This is simply a reformatting of the SQL string building, right? |
When accessing the request.php i always got an exception throw in the sql query due to a false format. Because of that I added the cast to int values. |
|
I see. I reverted the commit locally and do not get any failures. Do you remember the error message? As far as I can see |
bc7d8ff to
2c5c764
Compare
|
@TamaroWalter, the pull request is ready for merge IMO. The error messages from the PHP CodeSniffer need to be addressed in another PR. Could you please test the changes with your local setup to make sure no new errors were introduced? I would want to merge this soon when you approve it. |
|
Alright, I will check this |
This was the error message i get when i click on the second option (The course exists and i am authorized to create it): I have the tables from the beispieltabellen.sql that are linked in the documentation |
|
Ok, thanks. Unfortunately, I cannot reproduce this one. Also, looking at the backtrace it seems to me that the error is unrelated to the modified query. |
Maybe it's an error in the data... |
This is the first of many PR that redesigns this plugins. It starts with simple corrections and adds templates.