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

Link Issue in Generated Content for Pages #670

Closed
brian-ruf opened this issue May 18, 2020 · 2 comments
Closed

Link Issue in Generated Content for Pages #670

brian-ruf opened this issue May 18, 2020 · 2 comments
Assignees
Labels
bug Scope: Documentation This issue relates to OSCAL documentation. Scope: Metaschema Issues targeted at the metaschema pipeline

Comments

@brian-ruf
Copy link
Contributor

Describe the bug

On pages.nist.gov/OSCAL, in the schema map, when I click on Markup Multiline I receive a page not found error.

From the catalog schema map, the link for markup multiline attempts to open this page:
https://pages.nist.gov/OSCAL/documentation/schema/catalog-layer/datatypes/#markup-multiline

It should be opening this page:
https://pages.nist.gov/OSCAL/documentation/schema/datatypes/#markup-multiline

The difference is the incorrect inclusion of 'catalog-layer' into the URL.

UPDATE: This bug is also impacting the clickable data types on the schema reference page. Clicking "String" yields the same issue.

Who is the bug affecting?

Anyone using the OSCAL syntax reference to learn more about the datatype of any particular field.

What is affected by this bug?

Inability to cleanly obtain necessary information.

When does this occur?

Every time someone tries to follow a datatype link from the schema reference or schema map content.

How do we replicate the issue?

From Schema Map:

  1. Visit this URL: https://pages.nist.gov/OSCAL/documentation/schema/catalog-layer/catalog/xml-model-map/
  2. Click on any Markup Multiline reference in the schema map.

From the Schema Reference:

  1. Visit this URL: https://pages.nist.gov/OSCAL/documentation/schema/catalog-layer/catalog/xml-schema/
  2. Click on any datatype, such as "(String)" or "(NCName)".

If applicable, add screenshots to help explain your problem.}

Expected behavior (i.e. solution)

The link should take the user to a heading on the OSCAL datatypes page, based on the data type they clicked. For example:
https://pages.nist.gov/OSCAL/documentation/schema/datatypes/#markup-multiline

@brian-ruf brian-ruf added the bug label May 18, 2020
@david-waltermire david-waltermire added Scope: Documentation This issue relates to OSCAL documentation. Scope: Metaschema Issues targeted at the metaschema pipeline labels Sep 11, 2020
wendellpiez added a commit to wendellpiez/metaschema that referenced this issue Mar 18, 2021
@wendellpiez
Copy link
Contributor

Corrected in branch behind PR usnistgov/metaschema#127.

@david-waltermire david-waltermire linked a pull request Mar 30, 2021 that will close this issue
8 tasks
@david-waltermire david-waltermire removed a link to a pull request Mar 30, 2021
8 tasks
wendellpiez added a commit to wendellpiez/metaschema that referenced this issue Mar 30, 2021
david-waltermire pushed a commit to usnistgov/metaschema that referenced this issue Mar 30, 2021
@david-waltermire
Copy link
Contributor

david-waltermire commented Mar 31, 2021

This was addressed in PR usnistgov/metaschema#127 and PR #880 .

nikitawootten-nist pushed a commit to nikitawootten-nist/metaschema-xslt that referenced this issue Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Scope: Documentation This issue relates to OSCAL documentation. Scope: Metaschema Issues targeted at the metaschema pipeline
Projects
None yet
Development

No branches or pull requests

3 participants