- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 08:05 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 06:40 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 05:00 PM
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;
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 05:01 PM
One more think to check is Script Include IMConstants: does it contain line:
IMConstants.IM_IDEA_M2M_TABLE = 'im_m2m_idea_category';
?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2023 06:56 AM
@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;
-
Check the Script Include 'IMConstants':
-
Ensure that the following line is present:
IMConstants.IM_IDEA_M2M_TABLE = 'im_m2m_idea_category';
-
---------------
Regards,
Rajesh Singh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2023 06:40 AM
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.