This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258571 - Markdown wiki not supported
Summary: Markdown wiki not supported
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS Tasks (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-29 12:58 UTC by Tomas Pavek
Modified: 2016-04-01 01:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2016-03-29 12:58:34 UTC
Oracle DCS projects support three markup languages: Confluence, Markdown, and Textile. NetBeans seems to only support Confluence and Textile (via Mylyn wikitext plugins). If a task is created or opened from an ODCS projects set to Markdown, exception is thrown:

java.lang.IllegalArgumentException: Cannot load markup language 'Markdown'. Known markup languages are 'Confluence', 'Textile'
        at org.eclipse.mylyn.wikitext.core.util.ServiceLocator.getMarkupLanguage(ServiceLocator.java:181)
        at org.netbeans.modules.mylyn.util.WikiUtils.getHtmlFormatText(WikiUtils.java:76)
        at org.netbeans.modules.mylyn.util.wiki.WikiEditPanel.setWikiFormatText(WikiEditPanel.java:123)
        at org.netbeans.modules.odcs.tasks.issue.IssuePanel.reloadField(IssuePanel.java:905)
        at org.netbeans.modules.odcs.tasks.issue.IssuePanel.reloadForm(IssuePanel.java:705)
        at org.netbeans.modules.odcs.tasks.issue.IssuePanel$8.run(IssuePanel.java:525)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Would it be possible to also include the Markdown wikitext support module?

If not possible, can this exception be caught and not thrown on the user?
Comment 1 Tomas Stupka 2016-03-31 10:07:44 UTC
fixed in jet-main #b2b289cf1051
Comment 2 Quality Engineering 2016-04-01 01:45:21 UTC
Integrated into 'main-silver', will be available in build *201604010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b2b289cf1051
User: Tomas Stupka <tstupka@netbeans.org>
Log: added the org.eclipse.mylyn.wikitext.markdown.core library due to odcs
Issue #258571 - Markdown wiki not supported