Installation along with Custom Fields

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mickey
Posts: 22
Joined: 06 Apr 2006, 05:04
Location: Cleveland, OH

Installation along with Custom Fields

Post by mickey »

Narcissus/Atomoid, I’ve a very basic question on Custom fields. If I want to deploy mantis system (version 1.0.1) with my changes on a different machine, custom fields I have added gets installed as well? Assuming, I can transfer my database (and User) info and use same user account? I’m yet to try it, but have this question since its critical all my changes work :? . Please give me some inputs.

Thanks a lot.
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Hi mickey:

All of the custom field settings are stored in the database. This does not include any custom functions that you have set for the custom fields (any code that you have set in the custom PHP files).

I'm a little confused about what you mean by "Assuming, I can transfer my database (and User) info and use same user account?". If you are installing Mantis on a new server but pointing it to the current database, you shouldn't have any problems. If you are installing Mantis on a new server and copying across the current database to the new server, this shouldn't be a problem, either. The only problem will be if you are installing Mantis on to a new server with a fresh database: in this case, you won't have access to the custom fields.

If you do want a fresh Mantis installation with a fresh database, while keeping your custom fields, I would guess that you could export your mantis_custom_field_table from your current database and import it in to your new database without problems. You would still need to link the custom fields to the various projects, though.


This does bring up an interesting point, though: maybe we should look into being able to export and import custom field settings from within the Mantis interface...
mickey
Posts: 22
Joined: 06 Apr 2006, 05:04
Location: Cleveland, OH

Post by mickey »

Thank you for explaining it so well. So, If I transfer my database and install mantis (with my newly added custom functions) on a remote system, it would work just like it does on my development system here. Since complete system(Mantis+Database) is transferred/installed, it would not require me to once again link custom fields to projects? Do I understand it correctly? Please excuse me for my ignorant questions:)
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Thats correct.
Post Reply