Results 1 to 3 of 3

Thread: Issues with import and custom module relations

  1. #1
    jgrimaldos is offline Sugar Community Member
    Join Date
    Nov 2009
    Posts
    26

    Default Issues with import and custom module relations

    Hi, I'm trying to import some records and I'm getting an error regarding the relate fields.

    Let me elaborate:

    I created a custom module and added a relate field to Accounts to the custom module (let's cale it Zones)

    Now, when importing Accounts I get an error on line 447, file ImportSanitize.

    NOTICE: [8] Undefined index: rname on line 447 in file /home/web_account/public_html/sugarcrm/modules/Import/ImportFieldSanitize.php
    As soon as I select Don't Map on my Zones relate filed, the import passes with flying colors.

    Mind you, I'm using the same file that I get when I load my account module and select export... so, the issue is not on the construction of the CVS file.

    Thanks for the help.

  2. #2
    s4e
    s4e is offline Member
    Join Date
    Nov 2009
    Posts
    8

    Default Re: Issues with import and custom module relations

    I'm having a similar problem when trying to import notes and attachments. I do have some custom fields, but none of them are relate fields. When I go to run my import, I get the same 'undefined index' error. The line number seems to correspond to part of a block of code that apparently was added to fix bug 27046. Maybe in doing so it broke something else?

  3. #3
    s4e
    s4e is offline Member
    Join Date
    Nov 2009
    Posts
    8

    Default Re: Issues with import and custom module relations

    I think I figured out my problem. I was trying to map a field to the 'Created By' field but the values that I was importing weren't always the name of a User in Sugar.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to import relations?
    By Chris80 in forum Help
    Replies: 1
    Last Post: 2009-07-07, 07:17 AM
  2. Custom Module issues...again
    By jonnywatson in forum Help
    Replies: 4
    Last Post: 2008-09-23, 07:16 AM
  3. Custom Module issues
    By jonnywatson in forum Help
    Replies: 3
    Last Post: 2008-07-14, 12:09 PM
  4. Custom Fields Import Issues
    By hoaphan in forum Help
    Replies: 0
    Last Post: 2008-04-14, 12:03 PM
  5. Import issues - email field and custom fields
    By catherinejt in forum Help
    Replies: 1
    Last Post: 2007-10-11, 08:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •