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

Feat/aut 3705/update item qti identifer #400

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

bartlomiejmarszal
Copy link
Contributor

Allow using digits for item identifier

Copy link

@Karol-Stelmaczonek Karol-Stelmaczonek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful

@@ -228,7 +228,7 @@ public function __construct($identifier, $title, $timeDependent, $lang = '')
*/
public function setIdentifier($identifier): void
{
if (Format::isIdentifier($identifier, false)) {
if (Format::isNormalizedString($identifier)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we allow spaces in an identifier?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not forbidden by QTI standard.

@bartlomiejmarszal bartlomiejmarszal merged commit 28b6382 into develop Jul 3, 2024
5 of 6 checks passed
@bartlomiejmarszal bartlomiejmarszal deleted the feat/AUT-3705/update-item-qti-identifer branch July 3, 2024 12:16
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.

3 participants