Wiki Table issue when porting from 0.12 to Trac 1.6

96 Aufrufe
Direkt zur ersten ungelesenen Nachricht

mayur logan

ungelesen,
15.03.2024, 02:22:0915. März
an Trac Users
Hi All,

After porting from Trac 0.12 to Trac 1.6. I am facing issue with Wiki Tables.
Currently using latest plugin from https://trac-hacks.org/wiki/WikiTableMacro

The pages where tables were coming in Trac 0.12 for which SQL coding was used, in Trac 1.6 tables are not ported.

Example code, I have given below.
{{{#!SQLTable
SELECT '<a href="http://cgi-bin/report/1051">'||COUNT(id)||'</a>' AS "User Version"
FROM ticket
}}}

Previously in Trac 0.12, this code was giving a table with the count, now in Trac 1.6 it is not giving any output.
Currently we have around 100 wiki pages with similar codes.

Kindly suggest.

Regards,

Ryan Ollos

ungelesen,
15.03.2024, 03:40:0715. März
an trac-...@googlegroups.com
Please check the logs to see if the plugin is loading:

mayur logan

ungelesen,
15.03.2024, 06:24:5515. März
an Trac Users
Hi,

Plugin is loading.
I have shared the screenshot for reference.
img1 is of Trac 0.12
img2 is of Trac 1.6
img1.png
img2.png

RjOllos

ungelesen,
16.03.2024, 10:44:2216. März
an Trac Users
On Friday, March 15, 2024 at 3:24:55 AM UTC-7 mayur...@gmail.com wrote:
Hi,

Plugin is loading.
I have shared the screenshot for reference.
img1 is of Trac 0.12
img2 is of Trac 1.6

Looks like the plugin is functional, it's just not rendering HTML correctly.

Could you confirm the simple non-HTML examples on the WikiTableMacro page work correctly, such as:
{{{#!SQLScalar
SELECT COUNT(id) AS "Number of Tickets"
FROM ticket
}}}

Also, could you please file an issue? 

RjOllos

ungelesen,
18.03.2024, 14:32:2118. März
an Trac Users

mayur logan

ungelesen,
20.03.2024, 06:39:4420. März
an Trac Users
This code is working fine.
Facing issue when html is added.
Attached screenshot for reference

result.png

mayur logan

ungelesen,
29.04.2024, 05:50:0729. Apr.
an Trac Users
Hi,

Any update on this issue.

Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten