Opened 10 years ago

Last modified 10 years ago

#11899 closed defect

Use of deprecated Environment.get_db_ctx which has been removed in trac:r13064 — at Version 3

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Component: TracMigratePlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description (last modified by Jun Omae)

Remove uses of get_db_ctx and get_read_db method from the plugin. However, Environment.get_read_db will be removed in 1.3.1, according to trac:wiki:TracDev/ApiChanges/1.1.2#DatabaseAPIChanges.

Change History (3)

comment:1 Changed 10 years ago by Jun Omae

Description: modified (diff)

comment:2 Changed 10 years ago by Ryan J Ollos

Oddly the link trac:TracDev/ApiChanges/1.1.2#DatabaseAPIChanges seems to redirect back to trac:TracDev/ApiChanges. However it works if the realm is included: trac:wiki:TracDev/ApiChanges/1.1.2#DatabaseAPIChanges. Is that a bug or is that expected with a non-CamelCase page in the path?

comment:3 Changed 10 years ago by Jun Omae

Description: modified (diff)

It doesn't seem to be a bug. Wiki engine renders TracDev/ApiChanges linked to wiki page and /1.1.2#DatabaseAPIChanges as a plain text. So InterTrac feature with the text redirects TracDev/ApiChanges page.

However, that behavior is confusable when the entire of text is not a link....

Note: See TracTickets for help on using tickets.