Project

General

Profile

Actions

Bug #13188

closed

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

Added by Ward Vandewege about 6 years ago. Updated over 5 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
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 warningResolvedLucas Di PentimaActions
Actions #1

Updated by Ward Vandewege about 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Ward Vandewege about 6 years ago

  • Status changed from In Progress to New
Actions #3

Updated by Ward Vandewege about 6 years ago

  • Description updated (diff)
Actions #4

Updated by Tom Clegg about 6 years ago

  • Description updated (diff)
Actions #5

Updated by Lucas Di Pentima over 5 years ago

  • Status changed from New to Duplicate
Actions #6

Updated by Lucas Di Pentima over 5 years ago

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

Updated by Tom Morris over 5 years ago

  • Target version deleted (To Be Groomed)
Actions

Also available in: Atom PDF