Skip to content
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

[FIX] [ADF-1075] Do not allow to import classes on LTI Consumer Root Class #389

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

andreluizmachado
Copy link
Contributor

@andreluizmachado andreluizmachado commented Oct 6, 2023

This Root class by default does not allow to create classes via interface, but on the import was possible. After this implementation this will not be allowed anymore. Only Resources will be imported. Exception for the root class. If it is present in the rdf, it will be ignored

Refs: https://oat-sa.atlassian.net/browse/ADF-1075

Demo

resources.mov
mixed.mov
classes.mov

This Root class by default does not allow to create classes via
interface, but on the import was possible. After this implementation
this will not be allowed anymore. Only Resources will be imported.
Exception for the root class. If it is present in the rdf, it will be
ignored

Refs: https://oat-sa.atlassian.net/browse/ADF-1075
@andreluizmachado andreluizmachado changed the title [FIX] [ADF-1075] Do not allow to import classes- on-lti-consumer [FIX] [ADF-1075] Do not allow to import classes on LTI Consumer Root Class Oct 6, 2023
@codecov-commenter
Copy link

codecov-commenter commented Oct 9, 2023

Codecov Report

Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (8dffc0b) 30.59% compared to head (59c0d4d) 31.09%.
Report is 10 commits behind head on develop.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #389      +/-   ##
=============================================
+ Coverage      30.59%   31.09%   +0.49%     
- Complexity       817      834      +17     
=============================================
  Files            104      106       +2     
  Lines           2853     2914      +61     
=============================================
+ Hits             873      906      +33     
- Misses          1980     2008      +28     
Files Coverage Δ
models/classes/Importer/RdfImporter.php 100.00% <100.00%> (ø)
controller/Import.php 0.00% <0.00%> (ø)
controller/AuthoringTool.php 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link

Version

Target Version 15.14.1
Last version 15.14.0

There are 0 BREAKING CHANGE, 0 feature, 4 fixes

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.

None yet

2 participants