-
Notifications
You must be signed in to change notification settings - Fork 304
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
Lectures
: Fix PDF rendering issue in lecture units
#9482
Conversation
WalkthroughThe changes in this pull request focus on updating the version of the Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
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.
Code 👍 and tested on TS6, works with the EIST Slides aswell
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.
Code is good 👍
Tested on TS6 with outline concatenated to the PDF from the linked issue. Split works without problems.
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.
Actionable comments posted: 0
🧹 Outside diff range comments (1)
build.gradle (1)
Line range hint
1-651
: Consider addressing TODOs and updating dependencies.While reviewing the entire file, I noticed a few areas for potential improvement:
- There are several TODO comments throughout the file. It might be beneficial to address these in future updates.
- Some dependencies are using older versions. Consider reviewing and updating these where possible to ensure you're using the latest stable versions with security fixes.
- There are commented-out dependencies (e.g., Swagger v3). Consider removing these if they're no longer needed or implement them if they're planned features.
Here are some specific suggestions:
- Line 35: TODO to increase code coverage minimum.
- Line 36: TODO to decrease maximum missed class count.
- Line 301-303: Commented-out OpenAPI and Swagger v3 dependencies.
Consider creating issues to track these improvements for future sprints.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
📒 Files selected for processing (1)
- build.gradle (1 hunks)
🧰 Additional context used
🔇 Additional comments (2)
build.gradle (2)
Line range hint
1-651
: Overall, the change looks good with some suggestions for future improvements.The update to PDFBox 3.0.3 directly addresses the PR objective of fixing the PDF rendering problem. The change is minimal and focused, which is commendable.
For future maintenance:
- Consider addressing the TODOs in the file.
- Review and update other dependencies where possible.
- Clean up commented-out code if no longer needed.
These suggestions are not blocking issues but could improve the overall health and maintainability of the project in the long run.
451-451
: LGTM! Verify PDF rendering after the update.The update of the PDFBox library from version 3.0.1 to 3.0.3 is a good step towards resolving the PDF rendering issue. This change aligns with the PR objectives.
To ensure the update resolves the issue without introducing new problems, please run the following verification steps:
After running these checks, please confirm that:
- There are no new PDFBox-related errors in the logs.
- The correct version (3.0.3) of PDFBox is in the classpath.
- PDF rendering works as expected in the Artemis UI.
Lectures
: Fix PDF rendering problem in Lecture UnitsLectures
: Fix PDF rendering issue in lecture units
Checklist
General
Motivation and Context
It is:
![image](https://private-user-images.githubusercontent.com/23586149/376357237-1abbe3ac-194a-499f-8b45-0fb0b4851395.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDg1OTEsIm5iZiI6MTczOTY0ODI5MSwicGF0aCI6Ii8yMzU4NjE0OS8zNzYzNTcyMzctMWFiYmUzYWMtMTk0YS00OTlmLThiNDUtMGZiMGI0ODUxMzk1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE5MzgxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiNTFjMDBhNTk5NTg2MzIyZDE0NGQ3MjNlOTZjYWUxODBiYjg1YjkwZjVjNWFlNTcyZjdjYmQ0MDhjOTFlZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4Nyb2QBwDRZVSlblOsPU7Znmvn8fQcg3fVI0vq0-oSw)
Should be:
![image](https://private-user-images.githubusercontent.com/23586149/376357374-c93db35f-e9c2-47e5-914a-03c805ea4042.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDg1OTEsIm5iZiI6MTczOTY0ODI5MSwicGF0aCI6Ii8yMzU4NjE0OS8zNzYzNTczNzQtYzkzZGIzNWYtZTljMi00N2U1LTkxNGEtMDNjODA1ZWE0MDQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE5MzgxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU4MTJhNjgwNjFlMTE0ZTlhMmQzZTNjODcwMTBjYmJjNjM2NDllZmVmZGJiZDY1ZTdjNWQ4YWYzMTc3M2MwMmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ax36J3WalVUNq1K3sKh8-gG-kDfMFcjOftXZDerrcKo)
https://issues.apache.org/jira/browse/PDFBOX-5742
https://issues.apache.org/jira/browse/PDFBOX-5833
Description
Apache PDFBox version made 3.0.3.
Steps for Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Code Review
Manual Tests
Screenshots
Fixed Version
Summary by CodeRabbit
Summary by CodeRabbit
New Features
pdfbox
library to version3.0.3
, which may include enhancements and bug fixes.Chores