com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

FAQ

General questions

How can I get the <GREG_HOME>/tmp directory cleared?

Based on the HouseKeeping task for carbon.xml, if the <AutoStart> property is set to true, all files that are more than 30 minutes old will be cleared every 10 minutes. If you are running Governance Registry on Linux, you can also write a cron job to handle the clearing of contents within the <GREG_HOME>/tmp directory. 

Installation and startup

What should I do if I get the following error when I try to start WSO2 G-Reg?
[ERROR] CARBON is supported only on JDK 1.7 and 1.8

You need to install  Oracle JDK 1.7.*/1.8.* installed. You cannot start WSO2 G-Reg with Oracle JDK 1.6.* or lower. For more information, see Installation Prerequisites.

Functionality

Do we support attribute level permission for Configurable Governance Artifacts (RXT) resources?
No, you should not use the RXT model for this. Instead, use a separate presentation layer using frameworks such as UES/Jaggery.
What are the limitations of the Registry Check-in/Check-out client?

When you want to get an exact copy of the Services from one registry instance to another, use the check-in client to get a check-out of the collection structure of the registry instance, and do a check-in operation to the collection structure of the other registry instance.

You can use the check-in client tool only for registry/repository use cases. Therefore, you cannot use it for governance scenarios.

However, when you do a check-in from the WSO2 G-Reg checkin/checkout client to one registry instance, it overrides the resources and collections that are under the path, which is specified in that instance. Also, the G-Reg check-in client does not have a merge option to use with the check-in operation. Hence, if the registry instance has some Services in the same path before doing the check-in operation, those services are replaced by the Services added by the check-in operation. 

You can overcome the above limitation by taking a checkout from both instances to a single location in your file system, and then doing a check-in operation to the relevant registry instance. 

However, WSO2 G-Reg will support the registry check-in client merge option in future. For more information on this, see REGISTRY-665 JIRA issue.

The check-in client tool does not support the '&' and 'space' characters, and thereby, you will get errors when resources have these special characters. Therefore, the asset names, which are authorized need to be handled by the check-in client tool as well.

Extending WSO2 G-Reg 

How to add content using HTML to a text input field of an asset in the G-Reg Publisher?

By default, WSO2 G-Reg does not support HTML tags inside text input fields. Text input fields are defined within RXT text areas, and RXTs do not support HTML content. However, you can do this by enabling Rich Text Format (RTF) for input text fields with HTML, and the WSO2 G-Reg extension model. For more information, see Adding HTML Content within an Input Text Area.

 

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.