Irrigation web screen issue

Topics related to the new MainLobby Web Designer software for Android and iOS devices.
jwr
Senior Member
Senior Member
Posts: 134
Joined: Sat Oct 25, 2008 11:13 am
Contact:

Irrigation web screen issue

Postby jwr » Mon Dec 28, 2015 5:12 pm

Hey Dave,

I'm trying to work through an issue in the Irrigation web screens where I'm unable to display manual zones other than the first page on the sample iPhone 5 screens and the iPadMini screens. In the process I found a couple typos as well.

In the iPhone 5 screens the state variables for the presence of the previous and next arrows are using {{irrigation_running_zone_pages_{{clientname}}}} and I think they should be using {{irrigation_program_zone_pages_{{clientname}}}}. In my screens the arrows were never enabled without this change.

In the iPadMini screens the label variable for zone id field #9 is referencing zone id field #8. In my zone listing I see the zone ID 8 listed twice. Only the ID has the issue. The alias for field #9 displays correctly.

The log for the problem I can't figure out is listed below. For both the iPhone and iPadMini screens I get an "Object reference not set to an instance of an object" when the next arrow is pressed to go to page two. The second page of zones is never displayed.


12/28/2015 4:38:45 PM MLProcess Primary [1] (2) [Irrigation|BrowseProgramZones~{{irrigation_selected_program_{{clientname}}}}~First] from [w1921687536]
12/28/2015 4:38:45 PM MLProcess Primary [1]:Translated Irrigation|BrowseProgramZones~1~First
12/28/2015 4:38:50 PM MLProcess Primary [1] (1) [Macro|Irrigation|BrowseProgramZones~{{Irrigation_selected_program_{{clientname}}}}~Next!WebCmd|{{clientname}}~Refreshpage] from [w1921687536]
12/28/2015 4:38:50 PM MLProcess Primary [1]:Translated Macro|Irrigation|BrowseProgramZones~1~Next!WebCmd|w1921687536~Refreshpage
12/28/2015 4:38:50 PM MLProcess Primary [1] (2) [Irrigation|BrowseProgramZones~{{Irrigation_selected_program_{{clientname}}}}~Next] from [w1921687536]
12/28/2015 4:38:50 PM MLProcess Primary [1]:Translated Irrigation|BrowseProgramZones~1~Next
12/28/2015 4:38:50 PM MLProcess Primary [1] (2) [WebCmd|{{clientname}}~Refreshpage] from [w1921687536]
12/28/2015 4:38:50 PM MLProcess Primary [1]:Translated WebCmd|w1921687536~Refreshpage
12/28/2015 4:38:50 PM WebCmd w1921687536~Refreshpage
12/28/2015 4:38:50 PM WebCmd Error at WebCmd at line #8644 - Object reference not set to an instance of an object.

User avatar
CinemarDave
Site Admin
Site Admin
Posts: 10535
Joined: Fri Feb 07, 2003 8:56 am
Location: Planet Earth
Contact:

Re: Irrigation web screen issue

Postby CinemarDave » Mon Dec 28, 2015 9:32 pm

I thought I resolved those paging errors in the UI but they are still there. They will get resolved. The WebCmd message is the websockets server trying to send data to a connection that does not exist. Do any WebCmds work for you?

jwr
Senior Member
Senior Member
Posts: 134
Joined: Sat Oct 25, 2008 11:13 am
Contact:

Re: Irrigation web screen issue

Postby jwr » Mon Dec 28, 2015 10:09 pm

It does appear that all the WebCmd calls are failing with the same error. Is this a config mistake?

jwr
Senior Member
Senior Member
Posts: 134
Joined: Sat Oct 25, 2008 11:13 am
Contact:

Re: Irrigation web screen issue

Postby jwr » Mon Dec 28, 2015 10:22 pm

I restarted the MLServer and it started working again. With the changes I mentioned earlier, when the next button is pressed the irrigation run single zone displays the second page of zones, however the Refreshpage overwrites it with the first page again. Not sure how to get the Refreshpage to load the second page of zones.


Return to “MainLobby Web Designer (V5)”

Who is online

Users browsing this forum: No registered users and 1 guest