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 ErrorError message
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.
Parents
  • 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? 

  • > 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.

  • I have checked the config file, and it contains these two clientRegistry entries as is (and has other ones as well). The only thing I have changed in this file is extend the list allowed redirectUris related to our infrastructure.

  • In your first post you said it worked for a while. How long is "for a while"? The oauth.config mentions certificates. Innovator certs can expire (but you would get different error messages). Expiring certificates definitely can make trouble, but they lead to totally different error messages. Release 2024 isn´t even old enough to be affected.

    Other general ideas of low chance of being any help:

    - Do you use browser extension that block JS?
    - Are the browser more or less up-to-date (old browsers would have trouble with certain JS code). 

  • For a few months after installation, it stopped working. I found an issue related to default layouts that fixed it for about a week; since then, it has been broken. We have no idea what went wrong.

    I tried to turn off all browser extensions to avoid issues, and I was using multiple, up-to-date browsers, e.g., the latest Chrome, the latest Firefox, and the latest Firefox ESR, and the problem persisted in all of them (in the case of Chrome, the error message was worded a bit differently, but it was basically the same).

  • Which identity / user do you use for your tests? 

    Is there really nothing in the browser console? 

    In this debugging view, erase all existing notifications so you have a clean view to start with. Then leave the window open and open your search grid. Maybe you get something:

  • Sorry for the slow response here, I did not receive a notifiation of this comment. I looked at the console as you have mentioned, and I did not seem anything that seems relevant to me, but I am pasting the results in (with anonimizing the server ip address from the logs):

    Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. itemsGrid.html
    Source map error: request failed with status 404
    Resource URL: http://«ip.addr»/InnovatorServer/Client/X-salt=std_14.0.25.40942-X/javascript/include.aspx?classes=ArasModules
    Source Map URL: core.js.map

    Source map error: request failed with status 404
    Resource URL: http://«ip.addr»/InnovatorServer/Client/X-salt=std_14.0.25.40942-X/javascript/include.aspx?classes=ScriptSet6
    Source Map URL: searchConverter.js.map

    Source map error: No sources are declared in this source map.
    Resource URL: http://«ip.addr»/InnovatorServer/Client/X-salt=std_14.0.25.40942-X/jsBundles/components.es.js
    Source Map URL: components.es.js.map

    The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it. spinner.html
    Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. spinner.html
    Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help https://xhr.spec.whatwg.org/#sync-warning _i18nMixin.js:20:12
  • Unfortunately, I don't see anything useful there either.

    I notice X-salt=std which tells me that you never intentionally modified the codetree. Incognito mode would by pass the cache value anyway.

    Is it possible that somebody played around with the codetree files in the installation folder? 

  • I don't think so, especially that I have replaced the entire codetree when reinstalling Innovator. The files should be as the installer created them.

  • "Reinstalling" would have been my next tip.... 

    I see that there are already two people who clicked the "I have this question too" button. This is unusual for the short amount of time this thread exists. 

       

    Have you seen the same issue in Release 2024 or similar? Even if you cannot provide a solution, it would be great if you can give us some short feedback if you are already familiar with this bug. 

    I just hope Aras hasn´t introduced some kind of of EOL mechanic to Release 2024 from the start.  

  • I'm facing that issue too. One thing to check: some methods (in Aras32 at least) have Templates, and they are missing for me; it seems that this is what causes the issue:

  • I used Release 2023 for my tests, in this version the templates aren´t used yet. I my current environment I cannot test current I14 versions and I refuse to install Release 2024.

    BUT: I used my connections to ask them if there are any hotfixes on the FTP. And there are! 

    Hotfix-064888.25.zip for Release 31 fixes "cui_common_default_layout_init"

    Description:

    I-064888
    The Error dialog is displayed in the Search Tab after updating the ItemType with saved preferences

    Can somebody check?

Reply
  • I used Release 2023 for my tests, in this version the templates aren´t used yet. I my current environment I cannot test current I14 versions and I refuse to install Release 2024.

    BUT: I used my connections to ask them if there are any hotfixes on the FTP. And there are! 

    Hotfix-064888.25.zip for Release 31 fixes "cui_common_default_layout_init"

    Description:

    I-064888
    The Error dialog is displayed in the Search Tab after updating the ItemType with saved preferences

    Can somebody check?

Children