[
https://issues.apache.org/jira/browse/OFBIZ-11419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045535#comment-17045535 ]
Olivier Heintz commented on OFBIZ-11419:
----------------------------------------
Thank [~mbrohl] to point to this error
I have remove the duplicate one in HR, the patch is generated with git format-patch
[^0001-fixed-remove-ANNUAL_REVENUE-from-hr-glossary-it-s-al.patch]
^so you can apply it with^
{code:java}
git am 0001-fixed-remove-ANNUAL_REVENUE-from-hr-glossary-it-s-al.patch{code}
> hr-glossary.adoc: line 22: id assigned to block already in use: ANNUAL_REVENUE
> ------------------------------------------------------------------------------
>
> Key: OFBIZ-11419
> URL:
https://issues.apache.org/jira/browse/OFBIZ-11419> Project: OFBiz
> Issue Type: Bug
> Components: humanres
> Affects Versions: Trunk
> Reporter: Michael Brohl
> Assignee: Olivier Heintz
> Priority: Minor
> Labels: documentation
> Attachments: 0001-fixed-remove-ANNUAL_REVENUE-from-hr-glossary-it-s-al.patch
>
>
> Hi [~holivier] ,
> after merging all documentation into trunk and fixing a bug, the following warnings occur:
> {code:java}
> > Task :generateOfbizDocumentation
> Feb 25, 2020 10:42:35 PM uri:classloader:/gems/asciidoctor-1.5.8/lib/asciidoctor/parser.rb next_section
> WARNUNG: ../../applications/humanres/src/docs/asciidoc/_include/hr-glossary.adoc: line 22: id assigned to block already in use: ANNUAL_REVENUE
> id assigned to block already in use: ANNUAL_REVENUE :: ../../applications/humanres/src/docs/asciidoc/_include/hr-glossary.adoc :: /Users/mbrohl/Projects/apache-ofbiz/ofbiz-framework/applications/humanres/src/docs/asciidoc/_include//Users/mbrohl/Projects/apache-ofbiz/ofbiz-framework/applications/humanres/src/docs/asciidoc/_include/hr-glossary.adoc:22 (uri:classloader:/gems/asciidoctor-1.5.8/lib/asciidoctor/parser.rb:next_section)
> Feb 25, 2020 10:42:39 PM uri:classloader:/gems/asciidoctor-1.5.8/lib/asciidoctor/document.rb parse
> WARNUNG: ../../applications/humanres/src/docs/asciidoc/_include/hr-glossary.adoc: line 22: id assigned to block already in use: ANNUAL_REVENUE
> id assigned to block already in use: ANNUAL_REVENUE :: ../../applications/humanres/src/docs/asciidoc/_include/hr-glossary.adoc :: /Users/mbrohl/Projects/apache-ofbiz/ofbiz-framework/applications/humanres/src/docs/asciidoc/_include//Users/mbrohl/Projects/apache-ofbiz/ofbiz-framework/applications/humanres/src/docs/asciidoc/_include/hr-glossary.adoc:22 (uri:classloader:/gems/asciidoctor-1.5.8/lib/asciidoctor/document.rb:parse)
> {code}
> I guess it is because ANNUAL_REVENUE is used in both acc-glossary.adoc and hr-glossary.adoc.
> Can you please check? Thanks!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)