Flyspray

This is the Bug Tracking System for the Flyspray project. This is not a demo!

2021-04-23: Flyspray 1.0-rc10 released See https://github.com/Flyspray/flyspray/releases

If you are upgrading from older version, please wait for 1.0-rc11.

2021-11-23: New user registration and password forgotten currently not working on bugs.flyspray.org due email server problems. peterdd

ID Category Task Type Severity Summary Status Progress Assigned To Due In Version Opened Last Edited
 2658 Backend/CoreBug ReportLow CKEditor cannot show icon for a code snippet section Closed
100%
111.04.202211.04.2022 Task Description

The reason why that image is not shown

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf data:image/gif;base64,R0lGODlhAQABAPABAP… blockiert ("img-src").

and the current CSP of Flyspray does not allow inline image data:

img-src 'self'

Possible solutions:

  • prefered: Configure/change CKEditor to deliver such icons as static normal image files and not as inline data. Research why the data inline approach was chosen.
  • Otherwise adjust the CSP rule to allow image inline data for the CKEditor part.
2657EmailBug ReportCriticalcurrently new registration emails are not received by u...Assigned
0%
Floelejudas_iscariote24.11.202124.11.2021 Task Description

Regardless if a gmail.com or other address (tested with my gmail and also other email address)

So this is probably a mail server problem. I try to reach server admin.

I can see my “unfinished registrations” tests in the admin→checks area, but received no emails (waited and checking spam folders too)

2656Backend/CoreFeature RequestLowkeep link parameters for new task if not yet logged inNew
0%
24.11.202124.11.2021 Task Description

When there is a link to the new task action from another site to a Flyspray installation and the user is not yet logged in, there is a redirect to the Flyspray start page losing the GET parameters.

Example:

https://bugs.flyspray.org/index.php?do=newtask&project=1&item_summary=blablabla%product_category=1

Or short example (nicer urls using .htaccess rules)

https://bugs.flyspray.org.de/newtask/proj1?item_summary=blablabla&product_category=1

After login the user should see the form with the original link parameters (if the user is allowed to and parameters are valid)

Currently the user must navigate to the correct project (if there are several) and the parameters from the origin link are lost.

 2655 User InterfaceBug ReportLow Clicking on "Overview" in a Project with no open ticket ...Closed
100%
111.11.202116.11.2021 Task Description

PHP: 8.0.12
MariaDB
Fylspray 1.0-rc10

If a Project doesn’t have open tickets and you click on the overview Button, you get the following error:

Unhandled exception: round(): Argument #1 ($num) must be of type int|float, string given
This should never happen, please inform Flyspray Developers.
If you are an Administrator of this Flyspray installation you might enable temporarly! DEBUG_EXCEPTION in constants.inc.php for more details.

The Error occurs only, if there is no open ticket.

PS: I thought having reported this problem earlier an got a bug fix. But I’m not sure anymore.

2654Backend/CoreTODOMediumPHP8.1 compatibilityNew
0%
19.10.202119.10.2021 Task Description

[ ] ADOdb xmlschema03 issues
[ ] other warnings/notices

 2652 Backend/CoreBug ReportMedium Invalid argument supplied for foreach() in /var/www/htm ...Closed
100%
1.0-rc111227.08.202114.04.2022 Task Description

I have the last version rc10

When I try to update/delete a item from a list in “Categories” I have this message in the top of the page:

http://XXXXX/index.php?do=pm&area=cat&project=2

Warning: Invalid argument supplied for foreach() in /var/www/html/includes/modify.inc.php on line 2215

When I try to update/delete a item from a list in “Versions” I have this message in the top of the page:

http://XXXX/index.php?do=pm&area=version&project=2

Warning: Invalid argument supplied for foreach() in /var/www/html/includes/modify.inc.php on line 2119 

http://XXXX/index.php?do=admin&area=cat

Warning: Invalid argument supplied for foreach() in /var/www/html/includes/modify.inc.php on line 2215
 2651 Installer and UpgraderBug ReportMedium Problem during the 1st installation Closed
100%
peterdd1.0-rc118117.08.202117.08.2021 Task Description

Hello,

After checking the prerequisites of flyspray I start the installation.
I download the last version (this is a FIRST installation on my server), I extract the files in my WEB root, I execute compose to download the VENDOR and I go to my url where I have an error, here it is :

Unhandled exception: fclose(): Argument #1 ($stream) must be of type resource, bool given
This should never happen, please inform Flyspray Developers.

If you are an Administrator of this Flyspray installation you might enable temporarly! DEBUG_EXCEPTION in constants.inc.php for more details.

I am blocked from now on in spite of some attempt of research personally which does not lead to anything.

Sincerely, Leo.

Translated with www.DeepL.com/Translator (free version)

2650NotificationsFeature RequestLownotification content or fields dependent of user permis...New
0%
113.08.202113.08.2021 Task Description

From mailing list:

Hello,

I could not find if this was already posted before. We have this basic profile where customers only can create new tasks and receive some notifications when the status or details change. The idea is that they do not see the comments, we want to use them for internal communication.
The think is that we just realized that they can not see the comments when they login but they receive them as notifications by email!

We want this notification for the admin users involved in the task but not for the customers. Is there a way to correct this behavior?

Thanks,
Manu

2649Installer and UpgraderFeature RequestLowDocker Container: is there a way to hook into the setup...Unconfirmed
0%
1011.08.202127.08.2021 Task Description

Hi, in my free time of the last few days I begun developping a Docker container: https://github.com/blu-base/flyspray-docker. I derived it from a nextcloud docker container… For now, I limited my focus on an apache/debian buster container. I’d be happy to contribute the project to the official placeholder when it is ready.

Anyhow, in the entrypoint script, I use some environment variables to create the flyspray.conf.php from scratch. and would now need to populate the database. I understand i have to use the respective xml scheme as the setup/index.php does.


I am not experienced with php and database applications and would like to ask you for advice how to proceed efficiently.

Since the current setup is indented to be interactive in the browser, i would need to use a cli tool or a purposely-build php script to do the same task on the command line/on container startup. But this seems to me this would be code duplication and introduce more maintenance work.

  • Is it possible to hook into only some of the functions of the setup/index.php?
  • What could be the next best approach to populate the db on first start?
  • Would it be a viable solution in trying to further modularize the setup - allowing to run parts on cli, like nextcloud’s occ tool?
 2646 User InterfaceBug ReportMedium Unhandled Exception in Overview if no open ticket Closed
100%
peterdd1.0-rc113101.08.202102.08.2021 Task Description

Clicking on the tab “Overview” produces an unhandled exception, if there is no open ticket.
The unhandled exception occurs when selecting a project with no open tickets, but it occurs also, if all projects are selected and in one project there is no open ticket.

Unhandled exception: round(): Argument #1 ($num) must be of type int|float, string given
This should never happen, please inform Flyspray Developers.

If you are an Administrator of this Flyspray installation you might enable temporarly! DEBUG_EXCEPTION in constants.inc.php for more details.

array(1) {

[0]=>
array(2) {
  ["function"]=>
  string(26) "flyspray_exception_handler"
  ["args"]=>
  array(1) {
    [0]=>
    object(TypeError)#9 (7) {
      ["message":protected]=>
      string(67) "round(): Argument #1 ($num) must be of type int|float, string given"
      ["string":"Error":private]=>
      string(0) ""
      ["code":protected]=>
      int(0)
      ["file":protected]=>
      string(92) "/home/httpd/vhosts/XXXXt/XXXXX/XXX-flyspray/scripts/toplevel.php"
      ["line":protected]=>
      int(60)
      ["trace":"Error":private]=>
      array(2) {
        [0]=>
        array(4) {
          ["file"]=>
          string(92) "/home/httpd/vhosts/XXXXXXX/XXXXX/zbmv-XXXXX/scripts/toplevel.php"
          ["line"]=>
          int(60)
          ["function"]=>
          string(5) "round"
          ["args"]=>
          array(2) {
            [0]=>
            string(0) ""
            [1]=>
            int(0)
          }
        }
        [1]=>
        array(4) {
          ["file"]=>
          string(81) "/home/httpd/vhosts/XXXXXXXX/zbmv.XXXXX/zbmv-XXXXX/index.php"
          ["line"]=>
          int(239)
          ["args"]=>
          array(1) {
            [0]=>
            string(92) "/home/httpd/vhosts/XXXXXX/zbmv.XXXXXX/zbmv-XXXXX/scripts/toplevel.php"
          }
          ["function"]=>
          string(12) "require_once"
        }
      }
      ["previous":"Error":private]=>
      NULL
    }
  }
}

}

Unhandled exception: round(): Argument #1 ($num) must be of type int|float, string given
This should never happen, please inform Flyspray Developers.

If you are an Administrator of this Flyspray installation you might enable temporarly! DEBUG_EXCEPTION in constants.inc.php for more details.

 2645 Backend/CoreBug ReportLow Bug in estimated_time - class.effort.php Closed
100%
1.0-rc1108.07.202102.08.2021 Task Description

From the Mailing List:

Hello,

I’v found the following bug in rc10:

flyspray-1.0-rc10

/includes/class.effort.php

Line 261:

$minutes = floor(($seconds - ($hours * 3600)) / 60);

should be:

$minutes = floor(($seconds - ($days * $factor) - ($hours * 3600)) / 60);

Can you add the patch in the next version?

Best regards,
Mario Stiffel

2644Backend/CoreFeature RequestMediummark specific task as spam and punish user account who ...New
0%
08.07.202108.07.2021 Task Description

For users with administrative permissions, a moderation UI for spam tasks could be useful.

For other normal users a “mark as spam”-button (similiar to voting for a task) could help moderators to identify spam tasks.

  1. Modify the spam task: Move to a hidden “Trash” project, replace summary and description with a default spam summary text end empty description.
  2. The decision which kind of punishment of the account who created the spam depends on several things:
    • Is it a previously normal used account who got captured by a bad guy and suddenly started spamming?
    • Is it a fresh bot created account who tried creating many spam task to promote bad websites or do search ranking manipulation?
    • Is it a sneaky smart account who waits for the opportunity to offload spam in a subtile manner?

I think this is not so easy to automate without producing false positives, especially for a project without commercial interest and funding and no huge meta informations like Google or similiar data collecting corporation who have the ability to identify spam waves across the internet.

2643Backend/CoreInformationLowUnable to delete a wrong TaskUnconfirmed
0%
407.07.202108.07.2021 Task Description

Today I received a Spam into my Flyspray, I wanted to ban the user and to delete the task, to my surprise I didn’t see an option to -delete- a created task, so I don’t want to keep this spammy content into my DB or even worse, publically viewable to other users / or google (which will impact in seo and also make their spamming successful forever), I just wanted to simply remove the task entirely from the DB

So my only option was to restore the 2-days before database backup in order to remove it, then I upgraded to the last git checkout but I didn’t see that option existing

I think flyspray needs to have that option included

Thank you

 2642 Backend/CoreBug ReportCritical PHP Deprecated: Required parameter Closed
100%
01.07.202106.08.2021 Task Description

Before install FlySpray, remove “setup” folder, index.php:

PHP Deprecated: Required parameter $wikiName follows optional parameter $name in C:\WWW\flyspray10rc10\plugins\dokuwiki\inc\parser\xhtml.php on line 575
PHP Deprecated: Required parameter $wikiUri follows optional parameter $name in C:\WWW\flyspray10rc10\plugins\dokuwiki\inc\parser\xhtml.php on line 575
PHP Deprecated: Required parameter $wikiName follows optional parameter $title in C:\WWW\flyspray10rc10\plugins\dokuwiki\inc\parser\renderer.php on line 174
PHP Deprecated: Required parameter $wikiUri follows optional parameter $title in C:\WWW\flyspray10rc10\plugins\dokuwiki\inc\parser\renderer.php on line 174
PHP Deprecated: Required parameter $initialPos follows optional parameter $mode in C:\WWW\flyspray10rc10\plugins\dokuwiki\inc\parser\lexer.php on line 441
PHP Deprecated: Required parameter $matchPos follows optional parameter $mode in C:\WWW\flyspray10rc10\plugins\dokuwiki\inc\parser\lexer.php on line 441

2639JavascriptBug ReportMediumUnable to "deny" a pending requestResearching
0%
peterdd712.05.202113.06.2021 Task Description

My project has 37 pending requests. Each has a set of Accept / Deny buttons next to it.

If I click on Deny, a textbox pops up for me to enter “Reason for denial” but the entire page immediately regreshes/reloads back to the task list before I have a chance to enter the reason and submit it.

I can always “Accept” the request implicitly by going to the appropriate task and closing/re-opening it, but there’s no way to “deny” something without going through this UI path.

 2638 User InterfaceTODOLow Add tag helper also for the add new task form Closed
100%
peterdd1.0-rc1110.05.202112.05.2021 Task Description

Now that the edit task page has the tag helper it is logic to add the tag helper also to the add new task form.

2637Installer and UpgraderBug ReportHighFailure to upgrade 1.0-rc9 to 1.0-rc10 (postgresql 12.6...Assigned
50%
peterdd1.0-rc11729.04.202105.05.2021 Task Description

I administer a small personal (<1K ticket) 1.0-rc9 instance running on a Fedora 32 host (php 7.4.16, postgresql 12.6) Following the upgrade instructions (ie transfer attachments, avatars, flyspray.conf.php) the setup/upgrade tool loads, and prompts me to upgrade.

Unfortunately, the upgrade fails spectacularly, with a reported SQL error that belies what’s actually wrong. Here’s a snippet from the postgresql logs where the upgrade is failing:

2021-04-28 10:33:07.190 EDT [2032049] ERROR: column “attachment_id” of relation “flyspray_attachments” already exists
2021-04-28 10:33:07.190 EDT [2032049] STATEMENT: ALTER TABLE flyspray_attachments ADD COLUMN attachment_id SERIAL
2021-04-28 10:33:07.194 EDT [2032049] ERROR: current transaction is aborted, commands ignored until end of transaction block
2021-04-28 10:33:07.194 EDT [2032049] STATEMENT: ALTER TABLE flyspray_attachments ADD COLUMN task_id INTEGER
[…and everything else fails because the transaction aborted…]

It appears that the upgrade script is blindly trying to create columns that already exist in the -rc9 database, and postgresql is treating this as a failure. Because the entire upgrade happens within one transaction, this means the entire upgrade fails at the outset and won’t ever succeed.

The way past this specific problem is to make these ALTER TABLE operations conditional (eg “ALTER TABLE flyspray_attachments ADD COLUMN IF NOT EXISTS task_id INTEGER”).

2636Installer and UpgraderBug ReportHighFailure to upgrade 1.0-rc9 to 1.0-rc10 (mariadb 10.4.18...Assigned
50%
peterdd1.0-rc11729.04.202123.07.2021 Task Description

I administer a moderate-sized (~14K ticket) 1.0-rc9 instance running on a Fedora 32 host (php 7.4.16, mariadb 10.4.18) Following the upgrade instructions (ie transfer attachments, avatars, flyspray.conf.php) the setup/upgrade tool loads, and prompts me to upgrade.

It churns a while before refreshing the screen, claiming a successful 1.0-rc10 upgrade. However, the upgrade seems to not actually “stick”, because clicking on the “return” button I’m dropped back into the upgrader, which is once again claiming I’m running 1.0-rc9 and prompting me to perform the -rc10 upgrade.

According to Flyspray’s admin ‘checks’ tab:

* PHP 7.4.16
* MariaDB 10.4.18
* default_charset: utf8mb4
* default_collation: utf8mb4_unicode_ci
* All tables are ‘InnoDB’

There are no errors logged that I can find, but the upgrade is clearly not working. If I revert to the -rc9 php files, everything continues along as if nothing was done.

Any suggestions?

2635User InterfaceFeature RequestMediumimprove usability of add/remove tags to/from tasksPlanned
70%
1.013.04.202123.04.2021 Task Description

Integrate the selectpure javascript to the new task and edit task form.

By default there is a text field where tag names are separated by ‘;’ character.

Selectpure could instead show the tags with their visual layout with a little ‘x’ inside on the right side for removing a tag and autocomplete when typing a tag name to show existing tags from the flyspray_list_tag-table as possible selections.

Instead implemented a CSS and raw javascript solution with a single taghelper.js without any dependancies.

A button beside the tag input text field toggles a list of available tags for the current task, depending on the project and settings.

Still TODO

  • styling of added tags
  • highlight tags that would be removed when the task will be saved.
  • highlight tags that would be added when the task will be saved.
  • highlight tags that are attached to the task in the available taglist.
  • highlight tags that are added to the task in the available taglist.
  • optimize layout for this feature.
 2633 Installer and UpgraderBug ReportLow To install a of official release, i detected a redirect ...Closed
100%
322.03.202105.04.2021 Task Description

If you are reporting a bug please provide as much information as possible to help understand and reproduce the problem:

To install and complete the setup, i deleted the directory setup and file flyspray.conf.php, the web is redirect to setup/index.html always

Did you installed an official release or did you used an inoffical docker?!

Installed an official release

database type and version, php version and OS version/linux distribution flavour, global or project settings you used that could be relevant for reproducing the problem

Nginx mysql MariaDB “10.3.27-MariaDB-0+deb10u1 Debian 10” php7.3

Steps done to create the problem:

Expected behavior:

Experienced behavior:

 2632 NotificationsBug ReportLow notification error when more than one replyto addresses ...Closed
100%
peterdd1.0-rc1012.03.202112.03.2021 Task Description

If someone figures more than one notify_reply email addresses in project settings, notifications are not sent and error is shown.

It needs to be passed as array to swiftmailers setReplyTo() if the settings is a string containing ‘,’ separated email addresses.

 2631 Backend/CoreInformationLow ljljklj Closed
100%
11.03.202111.03.2021 Task Description

lhlkjlkjlkj

 2630 Database QueriesBug ReportMedium cache table for dokuwiki not filled after editing task  ...Closed
100%
1.0-rc1011.03.202111.03.2021 Task Description

Since ADOdb 5.21 their replace()-fuction also quotes the table name.

We did this before in our thin database wrapper around ADOdb. This resulted in double quoting the table and the query fails, not updating the cache table of parsed dokuwiki content.

As ADOdb 5.21 currently not checks if the $table parameter is yet quoted, lets only ADOdb replace() quote the table name.

2629Backend/CoreBug ReportLowactivating history tab sends same request 2 timesNew
0%
11.03.202111.03.2021 Task Description

There should be only one request to

js/callbacks/gethistory.php when activating the History tab

The request is made:

  • on mousedown event
  • on click event

So holding down the tab sends the first request and releasing sends the second request.

 2628 Text RenderingBug ReportLow class.flyspray.php __construct(): Trying to access arra ...Closed
100%
peterdd410.03.202112.03.2021 Task Description

FS version: 1.0-rc10 (master branch 3a459a7)
PHP version: 7.4.15
database: mysql
php.ini: error_reporting = E_ALL | E_STRICT
fix.inc.php: ini_set(’display_errors’, 1);

Steps done to create the problem:
- View a task
- Select the tab “History”

Experienced behavior:
- PHP Warnings in top of history

Notice: Trying to access array offset on value of type int in …/flyspray/includes/class.flyspray.php on line 97
Warning: Cannot modify header information - headers already sent by (output started at …/flyspray/includes/class.flyspray.php:97) in …/flyspray/includes/class.csp.php on line 76
Warning: Cannot modify header information - headers already sent by (output started at …/flyspray/includes/class.flyspray.php:97) in …/flyspray/includes/class.csp.php on line 80
Warning: Cannot modify header information - headers already sent by (output started at …/flyspray/includes/class.flyspray.php:97) in …/flyspray/includes/class.csp.php on line 82

A possible fix is attached as patch.

2627Backend/CoreBug ReportLowcheckLogin: Trying to access array offset on value of t...Unconfirmed
0%
509.03.202111.03.2021
2626Backend/CoreBug ReportCriticalCreate a new build, last stable is 0.9.9.7 (2012-05-28)...Unconfirmed
0%
527.02.202105.05.2021
2625User InterfaceTODOLowavoid password manager popups in admin prefs areaNew
0%
peterdd110.02.202110.02.2021
 2624 Backend/CoreBug ReportHigh fatal error with PHP8 and syntax_plugin html (ckeditor) Closed
100%
peterdd1.0-rc1010.02.202102.03.2021
2623EmailBug ReportMediumCompletely unexpected exception on email errorsUnconfirmed
0%
01.02.202115.03.2021
 2622 Installer and UpgraderBug ReportHigh setup/upgrade.php complaining about ../flyspray.conf.ph ...Closed
100%
218.01.202118.01.2021
 2621 Backend/CoreBug ReportMedium php notice/warning when reopening in some circumstances Closed
100%
peterdd1.0-rc1027.11.202022.04.2021
2620Backend/CoreTODOMediumPHP8 compatibilityNew
50%
peterdd226.11.202017.08.2021
2617Backend/CoreFeature RequestLowPreview button not at the good placeMaybe
0%
226.09.202026.09.2020
 2616 Backend/CoreBug ReportMedium There is a problem after a http/https link on a line wi ...Closed
100%
1025.09.202004.04.2021
 2615 Backend/CoreInformationCritical Change http://flyspray.org/ to https://flyspray.org/ on ...Closed
100%
125.09.202027.09.2020
2614EmailBug ReportCriticalConnection timed out #110Unconfirmed
0%
16.09.202016.09.2020
2613Public RelationsInformationVery LowEmail ist SignupUnconfirmed
0%
116.09.202016.09.2020
 2612 User InterfaceInformationMedium Restrict some projects to users Closed
100%
119.08.202005.05.2021
2610User InterfaceFeature RequestLowEffort pop-up timerNew
20%
207.05.202024.08.2020
2609User InterfaceFeature RequestLowAdd an Effort Description fieldPlanned
50%
1.0-rc115107.05.202001.04.2022
2608EmailBug ReportMediumNotification email sent although not requestedUnconfirmed
0%
105.05.202005.05.2020
 2607 AuthenticationBug ReportLow Whitespaces in email address field Closed
100%
peterdd1.0-rc1003.05.202007.04.2021
2606Database QueriesFeature RequestLowduedate column sort asc in tasklist should put unset du...New
0%
02.05.202002.05.2020
 2605 AuthenticationFeature RequestLow Confirmation code Closed
100%
peterdd101.05.202002.05.2020
2603Backend/CoreBug ReportVery Low Psi XMPP client (19-04-09)Waiting on Customer
0%
221.04.202025.09.2020
2602DocumentationFeature RequestLowhttps://github.com/flyspray/flyspray instead of https:/...Researching
0%
721.04.202013.04.2021
2601Public RelationsFeature RequestMediumhttp -> https missing redirection (19-04-09)Assigned
10%
Floelejudas_iscariote321.04.202025.09.2020
2600Backend/CoreInformationLowError #17 when selecting a projectUnconfirmed
0%
31.03.202031.03.2020
2599Backend/CoreInformationLowadd post request on new task creationUnconfirmed
0%
30.03.202012.04.2021
Showing tasks 1 - 50 of 2321 Page 1 of 47

Available keyboard shortcuts

Tasklist

Task Details

Task Editing