Solved

Cannot open a lobby in IFS 10 Aurena - Cannot read property 'ConditionalFormatting' of null


Environment: Preview Environments Portal 

Test plan: 

  • Log into IFS 10 Enterprise Explorer 
  • Create a lobby element and add it to an existing lobby. Verify that it is working as expected in the EE. 
  • Now go to Aurena and try to open that lobby. 
  • I am getting the below error. Does anyone know why I am getting this error. Any help is much appreciated. 

Url (parameters excluded) = https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/lobby/c4e8c8d3-a0b3-4e93-a9f0-7da210294c68

Error stack:
Cannot read property 'ConditionalFormatting' of null
TypeError: Cannot read property 'ConditionalFormatting' of null
    at e.getResults (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:13948794)
    at e.getResultArray (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:14275441)
    at e.processResultData (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:14275296)
    at e.set resultSet [as resultSet] (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:14272762)
    at Rr (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:6405775)
    at dr (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:6401099)
    at ni (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:6423897)
    at Z0 (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:15314174)
    at er (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:6398540)
    at $n (https://prena-ojezesu7t.ifsdemoworld.com:48080/main/ifsapplications/web/main.68b625db21a08b5d1f5c.js:1:6397262)

General:
Date = 2021-05-05T17:27:58.813Z
Client version = 10.10.110.0
Browser name = Chrome
User agent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
 

icon

Best answer by anmise 6 May 2021, 05:01

View original

This topic has been closed for comments

5 replies

Userlevel 7
Badge +19

Hi @madlad ,

Are you using a list element?

If so, can you check whether you have used any formatting for mapped columns to add font colors and styles. If that is the case, shall you remove the formatting and verify whether you can view the element in Aurena client.

Thank you @Minoshini Fonseka for your reply. 

I was not using any formatting. I copied my element from an already existing element called “Project Team Member My Activities”. 

I tried removing the icon columns and the error went away. So I guess icon columns is what was causing the issue? Do you know how these icon columns work? It’s not a problem even if you don’t. :wink:

 

 

Userlevel 7

Thank you @Minoshini Fonseka for your reply. 

I was not using any formatting. I copied my element from an already existing element called “Project Team Member My Activities”. 

I tried removing the icon columns and the error went away. So I guess icon columns is what was causing the issue? Do you know how these icon columns work? It’s not a problem even if you don’t. :wink:

 

 

When you add an icon you need to map it to a rule for formatting. This is done in the element designer under the Formatting header.

In the Mapped Column drop down, you select your Icon column (you can also do this to format other values, Icons is just one example) and then you setup your conditions to format the icon.

Below I’ve said that if the State column = Released I want a Green circle icon and if state column <> (!=) Released then I want it to be a Red X

The result is this

 

I could create condition formatting for the column State as well.
 

 

And it would then look like this

 

@anmise Thank you very much for that explanation. After doing what you’ve mentioned above, the error went away. And now I know how to use icons. :man_dancing_tone3: Brilliant! 

 

 

Userlevel 7

@anmise Thank you very much for that explanation. After doing what you’ve mentioned above, the error went away. And now I know how to use icons. :man_dancing_tone3: Brilliant! 

 

 

Wonderful! Well done @madlad !