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: delete outcomes if no responses set #2549

Merged

Conversation

viktar-dzmitryieu-tao
Copy link
Contributor

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao commented Jul 16, 2024

Ticket: https://oat-sa.atlassian.net/browse/AUT-3735

Fixed the issue when after deleting of an interaction which was contained responses and custom outcome declarations, they will be not deleted properly and will generate inconsistency inside XML

What's Changed

  • Custom outcome declarations are deleted if there are no responses in the item

How to test

  • Create an item with choice interaction, for example, and create a Human response declaration and save it
  • Put in the item some shared stimulus with a file and delete the previously added choice interaction and press save
  • All outcome declarations should be deleted if no more interactions with responses

Appropriate PR in the npm package: oat-sa/tao-item-runner-qti-fe#409
Deployed to https://construct1-oat-unit07.dev.gcp-eu.taocloud.org/tao/Main/login

Copy link

github-actions bot commented Jul 16, 2024

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
287 287 0 0

Copy link
Contributor

@jsconan jsconan left a comment

Choose a reason for hiding this comment

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

Review Checklist

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code respects code style rules
  • New code respects 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
  • Pull request's target is not master
  • Commits are following conventional commits
  • Commits messages are meaningful
  • Commits are atomic

Copy link

Version

Target Version 30.16.1
Last version 30.16.0

There are 0 BREAKING CHANGE, 0 feature, 4 fixes

@viktar-dzmitryieu-tao viktar-dzmitryieu-tao merged commit bb25f39 into develop Jul 22, 2024
5 checks passed
@viktar-dzmitryieu-tao viktar-dzmitryieu-tao deleted the fix/AUT-3735/delete-outcomes-if-no-responses-set branch July 22, 2024 08:22
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