You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mayya Sharipova (Jira)" <ji...@apache.org> on 2021/06/23 13:43:07 UTC

[jira] [Closed] (SOLR-15267) ref-guide link checking doesn't fail on bad links in index.html???

     [ https://issues.apache.org/jira/browse/SOLR-15267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mayya Sharipova closed SOLR-15267.
----------------------------------

Closing after the 8.9.0 release

> ref-guide link checking doesn't fail on bad links in index.html???
> ------------------------------------------------------------------
>
>                 Key: SOLR-15267
>                 URL: https://issues.apache.org/jira/browse/SOLR-15267
>             Project: Solr
>          Issue Type: Task
>            Reporter: Chris M. Hostetter
>            Assignee: Chris M. Hostetter
>            Priority: Major
>             Fix For: main (9.0), 8.9
>
>         Attachments: SOLR-15267.patch, SOLR-15267.patch
>
>
> While trying to sanity check my fix for SOLR-15263 is discovered that (for reasons my brain is not currently able to fathom) the link checking logic doesn't seem to be working on index.adoc / index.html ... but having the same invalid links in other files works fine ... this needs fixed (just as soon as i figure out WTF is going wrong)
> {noformat}
>  hossman@slate:~/lucene/solr/solr/solr-ref-guide [*main] $ gradle checkLocalJavadocLinksSite
> Using gradle at '/home/hossman/lucene/solr/gradlew' to run buildfile '/home/hossman/lucene/solr/solr/solr-ref-guide/build.gradle':
> > Task :solr:solr-ref-guide:checkLocalJavadocLinksSite FAILED
> Relative link points at dest file that doesn't exist: ../../nocommit.html.html
>  ... source: file:/home/hossman/lucene/solr/solr/solr-ref-guide/build/local-jdoc-links-site/rate-limiters.html
> Relative link points at dest file that doesn't exist: nocommit.html
>  ... source: file:/home/hossman/lucene/solr/solr/solr-ref-guide/build/local-jdoc-links-site/rate-limiters.html
> Processed 2495 links (1984 relative) to 3742 anchors in 252 files
> Total of 2 problems foundFAILURE: Build failed with an exception.* What went wrong:
> Execution failed for task ':solr:solr-ref-guide:checkLocalJavadocLinksSite'.
> > Process 'command '/opt/jdk/11/jdk-11.0.4+11/bin/java'' finished with non-zero exit value 255* Try:
> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 6s
> 27 actionable tasks: 3 executed, 24 up-to-date
> hossman@slate:~/lucene/solr/solr/solr-ref-guide [*main] $ git diff
> diff --git a/solr/solr-ref-guide/src/index.adoc b/solr/solr-ref-guide/src/index.adoc
> index 789c546f861..c7b354b07c2 100644
> --- a/solr/solr-ref-guide/src/index.adoc
> +++ b/solr/solr-ref-guide/src/index.adoc
> @@ -137,3 +137,8 @@ The *<<getting-started.adoc#,Getting Started>>* section guides you through the i
>  *<<the-well-configured-solr-instance.adoc#,The Well-Configured Solr Instance>>*: This section discusses performance tuning for Solr. It begins with an overview of the `solrconfig.xml` file, then tells you how to configure cores with `solr.xml`, how to configure the Lucene index writer
>  ****
>  --
> +
> +
> +<<../../nocommit.html#,Bogus1>>
> +<<nocommit.adoc#,Bogus2>>
> +
> diff --git a/solr/solr-ref-guide/src/rate-limiters.adoc b/solr/solr-ref-guide/src/rate-limiters.adoc
> index 708f1f8883f..43852a5788a 100644
> --- a/solr/solr-ref-guide/src/rate-limiters.adoc
> +++ b/solr/solr-ref-guide/src/rate-limiters.adoc
> @@ -99,3 +99,8 @@ pending task to make it a priority based model (https://issues.apache.org/jira/b
>  
>  NOTE: This feature is experimental and gives no guarantee of borrowed slots being
>  returned in time.
> +
> +
> +<<../../nocommit.html#,Bogus1>>
> +<<nocommit.adoc#,Bogus2>>
> +
> (END)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org