-
Notifications
You must be signed in to change notification settings - Fork 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
fix: unique identifiers #2607
fix: unique identifiers #2607
Conversation
$uniqueIdentifier = $this->resourceUniqueIdRetriever->retrieve($originalResource); | ||
|
||
if ($uniqueIdentifier === null) { | ||
$this->logger->info(sprintf('Cannot retrieve unique identifier for item %s', $originalResource->getUri())); |
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.
- This should be an error exception. If this feature flag is active why would an Item/Test be missing this id and we masking the error?
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.
Pre-approved as the expected behavior is working.
Test and styling will be fixed in the integration branch
|
||
use function Symfony\Component\DependencyInjection\Loader\Configurator\service; | ||
|
||
class QtiIdentifierServiceProvider implements ContainerServiceProviderInterface |
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.
Can we call it QtiServiceProvider
to avoid having to create new providers later for the same namespace qti
6739e60
to
459efe0
Compare
Fix for unique identifiers + removing unnecessary classes