Forum Discussion

zujhelyi's avatar
zujhelyi
Ideator III
1 year ago
Solved

CUI Table views not working

We have found a strange issue with the tool. We have found nothing in the available installation guides and support forums, and we would be very grateful if you could help us figure out the underlying issue here.
We have an installation of Aras Innovator 2024 (Build 14.0.25.40942) that was working for a while, but last week, it started to throw error messages whenever we open any table view (e.g. the Requirement table), or we use any user interface feature related to this view, e.g., change pagination size, select a requirement, etc. 
In each case, the error message relates to the favoriteLayoutData settings being not found. More specifically, the following message was emitted:
> The method 'cui_common_layouts_init' failed. favoriteLayoutData.settings is undefined Client Side Error
We have tried to reset the user preferences and try it out with another user, different browsers, and cleaning up locally stored cookies, but the issue persisted. We have also checked the server logs but have not found anything that might be helpful.
The issue breaks the user interface quite severely, making it basically unusable, but have no idea where to look for possible causes.
  • [View:/community/cfs-file/__key/communityserver-discussions-components-files/8/Release-2024-Hotfix.zip:320:240]
    Hi All,

    Sorry about the confusion regarding the hotfix. I've uploaded it here for future reference. I do recommend using Release 2025 if feasible, as this issue is resolved in the upgraded version.

    Thanks,

    AJ

43 Replies

  • asebastian's avatar
    asebastian
    Community Manager

    Hello All,

    Sorry for the delay. There is a hotfix for this issue available on the bottom of our downloads page: https://aras.com/en/download . This should resolve the issue in Release 2024

    • JM6509's avatar
      JM6509
      Ideator I

      Hello,

      Is there a fix for Community Edition users? I am using community edition as a trial and have a fresh installation, but am seeing this issue which is really limiting the usefulness of the tool.

      • angela's avatar
        angela
        Catalyst II

        JM6509 Is this a recent question or were your post just deleted by the spam filter? Which version do you try to use?

    • Jennifer_Caputo's avatar
      Jennifer_Caputo
      Ideator III

      asebastian  I've been seeing this same error in our version of Innovator 30.  I was able to resolve it for myself by clearing my preferences and have had to do this for everyone else who has seen it also. 

      I see that the eligibility of this patch says it's for Inn 25 but when angela  first mentioned it, she said it was for Inn 31. 

      Could this fix be applied to Inn 30 as well? Is this a better solution than clearing everyone's preferences one by one?

      • asebastian's avatar
        asebastian
        Community Manager

        Hi Jen,

        The patch is designed for Release 31+, as Build 14.0.25.40942. I can ask the developers of the hotfix if it would also fix the issues you're seeing in R30. You could compare the method cui_common_default_layout_init.xml with the version included in the hotfix, but I would be careful about applying it without first taking a backup in case there are issues.

    • Florent_Petiot's avatar
      Florent_Petiot
      Ideator II

      Aras answered that to me today: worth being tested:

       That patch was intended for Innovator Release 25, and the ‘cui_common_layouts_init’ method has changes between Innovator 25 and Innovator 32. Before pursuing the hotfix further, please do the following as a test:

       

      1. Open “cui_common_layouts_init’ method for editing
      2. Add the following lines of code under line 4:

       

      //Resolution for SI-064987 "Opening Aras Grid throws an error: "The method 'cui_common_layouts_init' failed."

      if(!favoriteLayoutData.settings) return;

       

       

  • Is there an answer to resolve this problem? I have received this message many times when I select an item. 

  • angela's avatar
    angela
    Catalyst II

    Do you get only this error message or multiple ones?
    Do you get the error message for other ItemTypes too, like Part?
    Have you modified anything CUI related?

    In general it´s a client side issue, you can also check the browser debugger for any potential additional hitns.

    Innovator renders the view (buttons, table, etc.), one element fails which can lead to a cascade of error messages. According to your error message there might be a problem with the favorites. Do you use custom saved searches or favorites? 

    • zujhelyi's avatar
      zujhelyi
      Ideator III

      > Do you get only this error message or multiple ones?

      At any given time, we received a single message like this, but we received the message again if we clicked on basically anything in the table view.


      > Do you get the error message for other ItemTypes too, like Part?

      The same happens with all CUI tables.


      > Have you modified anything CUI related?

      I don't think so. We are evaluating the capabilities of Aras and filled a few requirements with the API, but did not alter the default settings (as far as I know).

      > In general it´s a client side issue, you can also check the browser debugger for any potential additional hitns.

      We tried this, but don't have any context information to make this cost-effective. Any hints about what to watch for would be greatly appreciated.

      > Innovator renders the view (buttons, table, etc.), one element fails which can lead to a cascade of error messages. According to your error message there might be a problem with the favorites. Do you use custom saved searches or favorites? 

      I have initialized a new favorite configuration without any real, but it was removed later as we have seen it is not what we were looking for at the time, while the issue persisted.

      • angela's avatar
        angela
        Catalyst II

        These kind of errors there can have many root causes.

        According to the error message this element fails.

        But it doesn´t have to be the truth. The error message can sometimes be misleading. Do you get other messages too?

        At least you can check the favorites:

        Go to "TOC Editor" and add the Favorites ItemType to the TOC. Check out the table. Maybe there is something unusual. I am not sure if it´s wise to delete Favorites manually in Release 2024. In the past they had a dependency to SavedSearches.