Idea Portal List doesn't show any Idea

Dario_C
Mega Sage

Hi guys,

Hi guys

I'm working on Idea Portal, during the test I got this error (you can see the screenshot) from there on my ideas portal home page I can't see any ideas, M2M categories are mapping well, it looks like the widget that handles the display is broken.

 

Any suggestion ? Thank you 

1 ACCEPTED SOLUTION

Dario_C
Mega Sage

Dear  @-O-  and @Rajesh_Singh  thank your for your help and answer, 

i have checked the script include and the mapping of 'im_m2m_idea_category' and all seems fine.

Anyway,  i have fixed the issue, deleting the old form and recreating it again and associating it with my categories. The absurd thing is that while doing this the same issue occurred. To fix it I had to delete all my old ideas from the table. I don't know why it gave this problem.

View solution in original post

4 REPLIES 4

-O-
Kilo Patron
Kilo Patron

Do you perhaps have records in table im_m2m_idea_category that don't have data in columns category_id, category_table, or both?

Does method initialize of Script Include IMIdeaCategory contain line

		this.idea_category_table = IMConstants.IM_IDEA_M2M_TABLE;

?

-O-
Kilo Patron
Kilo Patron

One more think to check is Script Include IMConstants: does it contain line:

IMConstants.IM_IDEA_M2M_TABLE = 'im_m2m_idea_category';

?

Rajesh_Singh
Kilo Sage
Kilo Sage

@Dario_C  - it appears that there might be an issue with the data in the 'im_m2m_idea_category' table or the configuration of Script Includes. 

  • Check if there are any records with missing or incorrect data in the 'category_id' or 'category_table' columns, and correct them if necessary.

Check the Script Include 'IMIdeaCategory':

  • In the 'initialize' method, ensure that the following line is present:

    this.idea_category_table = IMConstants.IM_IDEA_M2M_TABLE;

     

  1. Check the Script Include 'IMConstants':

    • Ensure that the following line is present:

      IMConstants.IM_IDEA_M2M_TABLE = 'im_m2m_idea_category';

       

 

 

If you found my response helpful or applicable, please consider marking it as correct or helpful to assist others who may be seeking the same information.

---------------
Regards,
Rajesh Singh

Dario_C
Mega Sage

Dear  @-O-  and @Rajesh_Singh  thank your for your help and answer, 

i have checked the script include and the mapping of 'im_m2m_idea_category' and all seems fine.

Anyway,  i have fixed the issue, deleting the old form and recreating it again and associating it with my categories. The absurd thing is that while doing this the same issue occurred. To fix it I had to delete all my old ideas from the table. I don't know why it gave this problem.