oxygenxml / web-author-sample-plugins

Sample plugins for Oxygen XML Web Author
Other
4 stars 4 forks source link

Web Author Impose Ditamap Plugin Hides Connection Options on Dashboard in v26 #6

Closed reifsnid closed 10 months ago

reifsnid commented 10 months ago

We recently upgraded our Web Author instance to v26. However, we've noticed that the Web Author Impose Ditamap plugin hides all of the connection options on the Dashboard (Git, GitHub, Perforce, SharePoint, etc) and instead an About section is displayed.

For example: image

reifsnid commented 10 months ago

On further investigation in the impose ditamap plugin, it appears that the getDitaContext() method that this plugin uses has been marked as experimental in the JavaScript API documentation:

https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-webapp/25.1.0.0/jsdoc/sync.api.EditingContextManager.html#getDitaContext__anchor

EXPERIMENTAL - Subject to change Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.

Has this method and the other DitaContext methods been changed/removed in v26?

cosmin-eftenie commented 10 months ago

Hello,

We thank you for the reported error. We have fixed the issue in the code of the plugin. It is necessary to download it again [1], and you can use it in Web Author. This fix did not involve the getDitaContext() method (that is no longer experimental); additionally, we will rectify it so that it no longer appears as ''experimental" in the documentation.

[1] https://github.com/oxygenxml/web-author-sample-plugins/tree/master

Best Regards, Cosmin

reifsnid commented 10 months ago

Thank you @derilu! I will go ahead and close this issue.

reifsnid commented 10 months ago

Fixed by e327050fb84c9ea728f7ad29aae39273636db95e