Migrated and New Custom Fields

jodyfr

Joined: 2005-01-04
Posts: 5
Posted: Wed, 2007-11-21 02:03

[updated]

Gallery version: 2.2.3
PHP version: 4.3.9
Webserver: Apache/2.0.52
Database: MySql 4.1.20

Custom Field Migration Issues:
Custom fields that I migrated from G1 to G2.2.3 are accessible only for the migrated G1 albums/items, not for new items created in G2. The migrated fields are not visible in the gallery's Custom Fields admin, either.

On the other hand, new G2 custom fields are not accessible for the migrated G1 items. When I create a new album and place a new item in it, I can see and edit the new G2 custom fields.

My biggest question is: To use the old G1 custom fields for new items, do I need to re-add all the custom fields in admin? I've been afraid that adding custom fields with the same names as the migrated ones will...mess something up. Please let me know if it's OK to recreate the fields with the same names.

I hope that all makes sense. Thanks in advance for your patience and help.

Jody F.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-11-22 13:20

> The migrated fields are not visible in the gallery's Custom Fields admin, either.

custom fields are either global or per-album / per-item.
i guess that the import process creates per-album / per-item custom fields and not global ones.

> To use the old G1 custom fields for new items, do I need to re-add all the custom fields in admin?

i don't know the customfields module very well, but i guess so. i guess there's no process to change a per-album customfield to become a global one.

> Please let me know if it's OK to recreate the fields with the same names.

anything the g2 user interface allows shouldn't mess up anything.
if you request an illegal action at all, g2 should show a warning / error but nothing should be messed up.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
jodyfr

Joined: 2005-01-04
Posts: 5
Posted: Thu, 2007-11-22 15:13

Thanks! Custom fields migrated on a per-item basis explains everything. I just added the migrated field names globally with no problems.

It would be helpful if new custom fields could be applied to the old migrated items, but that's a minor thing. I guess if anybody plans to migrate a gallery, they should first make sure that G1 has all the custom fields they're going to need. :) Thanks again for your help.

- Jody F.