Jump to content

Extension talk:IssueTracker2

About this board

71.31.61.159 (talkcontribs)

Getting the following error message:

Too few arguments to function SpecialListUsers::__construct(), 0 passed in /var/www/html/mediawiki-1.36.1/extensions/IssueTracker2/Actions/IssueTrackerActionAdd.php on line 121 and exactly 3 expected

Line 121 is: $specialListUsers = new SpecialListUsers();

Code is:

/** @see SpecialListusers **/

                require_once( $IP."/includes/specials/SpecialListUsers.php") ;

                $specialListUsers = new SpecialListUsers();

                $users = new UsersPager($specialListUsers->getContext());

                if (! $users->mQueryDone) {

                  $users->doQuery();

                }

                $users->mResult->rewind();

Reply to "List Users error"
Mengfong96 (talkcontribs)

Hi, I am confirmed that I am using the download link that provided in IssueTracker2 page, but why when I check in my Special:Version page, it is written IssueTracker instead of IssueTracker2, is there any misunderstanding about this? Because there is a issue that need to change "DB_SLAVE" to "DB_REPLICA" in IssueTrackerModel.php, after that it display properly, but when I try to add an entry, it shows empty page.

Reply to "Issue Tracker 1?"

duplicated entries

13
Jakeriper1 (talkcontribs)

any idea why new entries are being duplicated in the database? the db has two rows for each entry i create through the wiki

Erick.corona (talkcontribs)

can you send a screenshot ?

Jakeriper1 (talkcontribs)

i would if i knew how to reproduce the bug. it happened right on the first entry, after installing the extension. it made two entries in the database, with different id's.

then it happened again when i created the third or forth issues. seems random.

but it creates two DB entries with differnet id's, and when viewing the issue list, they both show up, as if they where two different issues.

Erick.corona (talkcontribs)

can you reproduce the problem on the site http://wiki.epi-lyon.fr/index.php/Points_ouverts The user is utest / testtest

Jakeriper1 (talkcontribs)

i don't think i can reproduce it, no.

i don't remember doing anything strange apart from adding a new entry

but the db entries duplicated again ill send more info, maybe it'll help idk

thanks

172.87.156.210 (talkcontribs)
Erick.corona (talkcontribs)

With which version of MediaWiki do you work?

172.58.102.155 (talkcontribs)

I am using version 1.28.0

Jakeriper1 (talkcontribs)

1.29.1

Jamespharvey20 (talkcontribs)

I just installed IssueTracker 2.0 for my first time. I'm using MediaWiki 1.32.0. php 7.3.1. Any time I submit a new bug, it inserts it 3 times into the database. When I submit, httpd/access_log shows POST to index.php, then GET from index.php?title=<title>&bt_action=list. But, mysql/queries.log shows 3 separate INSERT's. Part of queries.log here: https://termbin.com/7p42 -- you will see there are other queries between. I haven't gotten it to add one without duplicating 3 times yet.

86.121.196.74 (talkcontribs)

I just installed IssueTracker on MediaWiki. I had no problems adding new issues at first, but after issue #13 it enteres 3 times into the database any new issue. Any ideea how to fix this problem?

129.62.151.155 (talkcontribs)

I have the same issue; it adds a duplicate entry for every insert. Is there any known fix?

131.219.9.6 (talkcontribs)

I found a work around by specifying a unique project name when including the tracker on a page. It looks like having multiple trackers with the same project name, or using a blank project name was tripping me up.

Reply to "duplicated entries"
There are no older topics