View Issue Details

IDProjectCategoryView StatusLast Update
0004664mantisbtotherpublic2005-04-18 10:42
Reporterthraxisp Assigned Tomasc  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSRH LinuxOS Version8.0 
Product Versiongit trunk 
Fixed in Version1.0.0a1 
Summary0004664: Can't upload project documents for "All Projects"
Description

There is a failure in the file add routine when it tries to fetch the 'filepath' associated with the project.

TagsNo tags attached.

Relationships

child of 0004937 closedvboctor Mantis 1.0.0a1 Release 

Activities

masc

masc

2004-12-09 02:43

reporter   ~0008551

Thraxisp, I'm interested to fix this issue. Which solution can we implement? I propose to add a new config var to store the path associated with 'All-projects'. What do you think?

thraxisp

thraxisp

2004-12-09 12:58

reporter   ~0008559

The simplest way would be to find a way to create a project record with a project_id of 0. I was originally thinking of extending the manage project window to do this. We could create the "All Projects" record in the database through an upgrade or install like we do with the first Admin user.

masc

masc

2004-12-18 07:59

reporter   ~0008722

I implemented the fix but in a different way. The use of a "dummy" project with id=0 to store the path seems to be more complicated.
I added a new variable in the config file $g_absolute_path_default_upload_folder to store the path for all_projects documentation.

I have redesigned the documentation management as follows:

  • possibility to add documentation visible in all projects (as for the news sections)
  • when all-projects is selected, list of all the documents of all the projects ordered by project_id and title (just the ones visible by the user)
  • when a single project is selected, list of all the project documents plus the all-projects documents (just the ones visible by the user)
  • access right for the all-projects documents based on the user global access right
  • access right for a sigle document based on the specific user access right for that project
  • possibility to update the data of a single document without the need to re-upload the file

This is a first step to enhance the documentation management feature. In case we can move the global vars in config into a dummy project in the future.