NetAppDocs / NetAppDocs/ontap

Incorrect retention period range documentation in "Set the default retention period"

Open Beginner friendly
#2,120 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
39
Forks
87
Avg merge
27m
Merged PRs (30d)
11

Description

Page URL

https://docs.netapp.com/us-en/ontap/snaplock/set-retention-period-task.html

Page title

Set the ONTAP SnapLock retention time

Summary

The documentation page "Set the default retention period" appears to describe supported retention period ranges in a way that does not match the actual validation behavior of ONTAP.

The page currently lists the following supported values:

Unit Value
seconds 0 - 65535
hours 0 - 24
days 0 - 365
months 0 - 12
years 0 - 100
 

However, when I actually tried to set it to "36 hours", I received the following error:

The duration value "PT36H" is invalid. Valid values are "min", "max", "infinite" or the duration specified in ISO 8601 format.
The value when specified in ISO 8601 format for retention period must be in seconds (PT0S - PT65535S), minutes (PT0M - PT60M), hours (PT0H - PT24H), days (P0D - P36500D), months (P0M - P1200M), years (P0Y - P100Y).

According to this error, the correct values ​​are likely to be as follows:

Unit Value
seconds 0 - 65535
minutes 0 - 60
hours 0 - 24
days 0 - 36500
months 0 - 1200
years 0 - 100
Public issues must not contain sensitive information
  • This issue contains no sensitive information.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the ONTAP SnapLock page at https://docs.netapp.com/us-en/ontap/snaplock/set-retention-period-task.html and read the “Set the default retention period” section alongside the reported validation error. Verify the supported units and ranges, update the table to match confirmed behavior, and ensure the page accurately documents minutes and the larger day and month ranges.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
85/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.