• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IQSS / dataverse / #27733

14 Jan 2026 07:58PM UTC coverage: 24.292% (-0.01%) from 24.302%
#27733

push

github

web-flow
11914 set template default (#11989)

* placeholder

* Endpoints work but need polish.

* pr notes

* Initial test

* Changes to show the ID of the created template

* Changes to the set default endpoint

* Flush entity manager after setting default template in CreateTemplateCommand

* Update success messages for removing default dataset template

* Implement RemoveDefaultDatasetCommand and update endpoint to use it for removing default template

* Add tests for setting and removing default template in DataversesIT

* Fix permission description in API documentation and method signatures for setting and removing default templates

* #11914 fix merge conflicts

* #11914 return default true for test

* #11914 fix find template and tests

* #11914 update command name for clarity

* Update src/main/java/edu/harvard/iq/dataverse/engine/command/impl/SetDefaultTemplateCommand.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/main/java/edu/harvard/iq/dataverse/engine/command/impl/RemoveDefaultTemplateCommand.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* #11914 change path

* Update native-api.rst

* Update native-api.rst

* fix docs

---------

Co-authored-by: Stephen Kraffmiller <skraffmiller@hmdc.harvard.edu>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Steven Winship <39765413+stevenwinship@users.noreply.github.com>

0 of 39 new or added lines in 5 files covered. (0.0%)

22475 of 92520 relevant lines covered (24.29%)

0.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.72
/src/main/java/edu/harvard/iq/dataverse/engine/command/impl/CreateTemplateCommand.java


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc