Bug #13188

[API] get rid of warning: Called 'load' without the safe option

Added by Ward Vandewege over 3 years ago. Updated about 3 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The API server, when using our default configuration, prints this warning on every startup:

Called 'load' without the :safe option -- defaulting to safe mode.
You can avoid this warning in the future by setting the SafeYAML::OPTIONS[:default_mode] option (to :safe or :unsafe).

There should be no warnings when starting up the server and running rake tasks.


Related issues

Related to Arvados - Bug #12762: [API] fix SafeYAML warningResolved

History

#1 Updated by Ward Vandewege over 3 years ago

  • Status changed from New to In Progress

#2 Updated by Ward Vandewege over 3 years ago

  • Status changed from In Progress to New

#3 Updated by Ward Vandewege over 3 years ago

  • Description updated (diff)

#4 Updated by Tom Clegg over 3 years ago

  • Description updated (diff)

#5 Updated by Lucas Di Pentima over 3 years ago

  • Status changed from New to Duplicate

#6 Updated by Lucas Di Pentima over 3 years ago

  • Related to Bug #12762: [API] fix SafeYAML warning added

#7 Updated by Tom Morris about 3 years ago

  • Target version deleted (To Be Groomed)

Also available in: Atom PDF