View Issue Details

IDProjectCategoryView StatusLast Update
0010296mantisbtpreferencespublic2019-01-11 02:59
Reporternobswolf Assigned Tocproensa  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.0a3 
Summary0010296: single project is not selected
Description

if there is only one project in a new tracker, there is no way to select it directly

that confuses some tools like the CSV-import

solution-idea: select the first project that is created even if there is no report so far

Steps To Reproduce

create a new tracker

create a single project

import issues via CSV

Additional Information

workaround:

create a dummy report and delete it after the import

TagsNo tags attached.

Relationships

related to 0014268 closedcproensa "Report Issue" is missing if the user has access to only private projects, but has not selected a project from the dropdown. 
related to 0009826 closeddregad Single project user should default to the project, not All Projects 

Activities

jreese

jreese

2009-04-07 16:20

reporter   ~0021419

Paul, this is a consequence of the change you made, so I'm giving you the honors of fixing it. :)

grangeway

grangeway

2009-05-24 07:32

reporter   ~0021897

What's this about?

We don't have a csv import functionality in core.

There is a xml import plugin - does this also handle csv?

nobswolf

nobswolf

2009-06-09 03:36

reporter   ~0022062

I use Csv_import 1.1.0 "import CSV file"; Author: Udo Sommer

I guess other modules have the same trouble if the "no current project"-issue is handled "too late" in Mantis 1.2.

My suggestion is: the method that returns the current project returns the default project if no project is selected; so it never returns "no current project". I'd say that is a good fallback behaviour and fits into a normal workflow.

cproensa

cproensa

2019-01-01 07:53

developer   ~0061126

Last edited: 2019-01-01 07:53

Solved with related 0009826
If some plugin can't work with "all projects" and needs a specific project, it should implement a validation and force a project selection.
For example, see how the standard report action redirects to login_select_proj_page.php.