[FOLIO-515] raml2html failure on mod-users-bl Created: 22/Mar/17  Updated: 23/Jan/19  Resolved: 23/Jan/19

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: John Malconian Assignee: Kurt Nordstrom
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:
Development Team: Core: Platform

 Description   

raml2html fails attempting to convert ramls/mod-users-bl.raml to HTML.



 Comments   
Comment by John Malconian [ 22/Mar/17 ]

/usr/bin/raml2html ramls/mod-users-bl.raml
Error: while reading schemas/compositeUser.json
cannot read schemas/compositeUser.json (Error: ENOENT: no such file or directory, open 'schemas/compositeUser.json')
in "ramls/mod-users-bl.raml", line 11, column 22:

  • compositeUser: !include ../schemas/compositeUser ...
    ^
    at raml2html.render.then.catch (/usr/lib/node_modules/raml2html/bin/raml2html:41:17)
    at _rejected (/usr/lib/node_modules/raml2html/node_modules/q/q.js:808:24)
    at /usr/lib/node_modules/raml2html/node_modules/q/q.js:834:30
    at Promise.when (/usr/lib/node_modules/raml2html/node_modules/q/q.js:1079:31)
    at Promise.promise.promiseDispatch (/usr/lib/node_modules/raml2html/node_modules/q/q.js:752:41)
    at /usr/lib/node_modules/raml2html/node_modules/q/q.js:574:44
    at flush (/usr/lib/node_modules/raml2html/node_modules/q/q.js:108:17)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
    $
Comment by David Crossley [ 23/Jan/19 ]

Closed.

This issue was from the time when we had trouble with $ref to child JSON schema.
It was solved by intricate arrangement of the raml-util shared space.

Now the mod-users-bl RAMLs and Schema have moved back to the actual mod-users-bl repository.

Generated at Thu Feb 08 23:06:22 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.