Modify

Opened 10 months ago

Closed 13 days ago

#11609 closed defect (fixed)

[testplan-tm_custom] custom=textarea format=wiki does not do wiki formatting

Reported by: JamesThomasMoon1979 Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.12

Description

Using TestManagerForTracPlugin v1.8.1 Adding a custom field of type textarea of and format wiki does not render wiki markup.

  1. In conf/trac.ini I added
    [testcaseinplan-tm_custom]
    browser_info = textarea
    browser_info.rows = 5
    browser_info.columns = 40
    browser_info.format = wiki
    browser_info.label = browser type version OS
    browser_info.order = 22
    
  2. Within a testcase I clicked the pencil icon.
  3. I entered text into the browser_info field
    - Chrome 27 Windows 7
    - Firefox 31 Windows Server 2008
    - Chrome 30 Ubuntu
    - Chrome 31 Mac
    - Safari 5 Mac OSX 10.1
    - Safari 6 Mac
    - Safari 121 Mac
    ''foobar''
    #22
    
  4. click Save
    No wiki markup occurred. It is merely plain text! I expected the typical trac wiki formatting.

reviewing the trac.log with DEBUG level, I see debug messages

2014-03-06 00:36:37,951 Trac[model] DEBUG: Changing 'browser_info' field value.
2014-03-06 00:36:37,951 Trac[model] DEBUG: Value after: - Chrome 27 Windows 7
- Firefox 31 Windows Server 2008
- Chrome 30 Ubuntu
- Chrome 31 Mac
- Safari 5 Mac OSX 10.1
- Safari 6 Mac
- Safari 121 Mac
''foobar''
#22
2014-03-06 00:36:37,951 Trac[model] DEBUG: >>> save_changes
2014-03-06 00:36:37,954 Trac[model] DEBUG: <<< save_changes

clicking the browser refresh button, I see the Value is displayed as

- Chrome 27 Windows 7
- Firefox 31 Windows Server 2008
- Chrome 30 Ubuntu
- Chrome 31 Mac
- Safari 5 Mac OSX 10.1
- Safari 6 Mac
- Safari 121 Mac
&apos;&apos;foobar&apos;&apos;
#22

The ' is displayed as &apos; . Again, there is no wiki linking or formatting.

Attachments (0)

Change History (2)

comment:1 Changed 9 months ago by seccanj

  • Status changed from new to accepted

Hi James Thomas, the 'wiki' format for textareas was not supported, but I have developed it now and will release it with the next Test Manager version very soon.

Just a notice: the correct syntax for setting a textarea number of columns should be 'cols' and not 'columns'.

By the way, in version 1.8.1 of the Test Manager, I erroneously support 'width' and 'height' as textarea properties for this purpose. I am going to change it to 'rows' and 'cols' in version 1.8.2, as per the Trac syntax here http://trac.edgewall.org/wiki/TracTicketsCustomFields.

Best regards, ciao. Roberto

comment:2 Changed 13 days ago by seccanj

  • Resolution set to fixed
  • Status changed from accepted to closed

Fixed in 1.8.2.

Add Comment

Modify Ticket

Action
as closed The owner will remain seccanj.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.