Listview display error

Hello,

I recently imported a module my instance to a customer's sandbox instance using the Module Loader.

After import, I used module builder to make various changes to it.

I saved my work and deployed the module.  I see the module in studio and everything looks fine.

Finally I made the module visible in the Display Modules and Subpanels applet.

But, when I click on the tab to see my empty listview, I get this error instead:

HTTP: 500 Internal Server Error

An exception occurred while executing 'SELECT ccnwo_project_reports.id, ccnwo_project_reports.date_modified ccnwo_project_reports__date_modified FROM ccnwo_project_reports WHERE ccnwo_project_reports.deleted = ? ORDER BY ccnwo_project_reports.date_modified DESC, ccnwo_project_reports.id DESC LIMIT 21' with params [0]: Table 'db_somesite.ccnwo_project_reports' doesn't exist

Can anyone help me to understand why it would say that the table doesn't exist?  Is this some sort of rights issue?

The instance version is 10.0.4.

Thanks.

Bryan Hunt

Parents Reply Children
  • Andre,

    Wow, I think you've got it.  I ran the repair and it did see that the table was missing and it did generate some creation SQL.  Before I go further, let me ask a question:

    When I import a module like that, is the table not automatically generated in the database?  Is it just metadata that is imported that describes the table/fields and the table must be created separately?  Or was their some sort of error during import?

    In any case, unfortunately the sql execution failed with a Database failure. Please refer to sugarcrm.log for details message.  I don't see any entries in the log about the failure.  What should I try next?

    Thanks much for the assist.

    Bryan Hunt

  • Andre,

    Thanks again for the information.

    Any ideas on how I can proceed with the failed sql code?  Is there a place where I can execute the sql code a bit at a time until I determine where the error is?

    Bryan