I will try to make this short and simple. Here is the scenario:
I did not take a screenshot of this but con3 was not the only one that was sometimes being skipped. con2 and con4 were skipped as well.
This behavior is consistent on both the OnSelect of the Gallery, and an OnSelect of the controls inside the gallery. This is not just restricted to the variables I set in place in here. Those were just used for this example to easily showcase the issue. I had times were the navigate Function has been skipped, the Notify, and even some of the other variables that are supposed to provide the records for some of my forms. No errors are being triggered or recorded either. Haven't done a full-on test to narrow down why this is happening but I did want to report it to see if anyone else is getting this issue.
Solved! Go to Solution.
Quick Update
It seems the issue has now been fixed. Thank you for some of you that reported reporting similar issues or suggestions. I haven't pushed out a special fix to address the problem, so I assume this was a bug that was fixed by the Power Apps developers. You should try testing your app again to see if the issue was fixed @CPalaloga
For me is pretty similar, I just set a global variable and Navigate to a different Screen.
Set(SWLoading,true); //splash screen
Set(CSPV12ConfigurationScreen,"1"); //global variable 1
Set(STRTestLine,ThisItem.Index);//global variable 2
Navigate(CSPV12TemplateStraightness,ScreenTransition.None);
First time, the variable is set and it navigates to the Screen. Go back and try a new line of the gallery.
Second time, the variable needs to be reset, but the software crashes and it just restarts the application.
Monitoring the application doesn't give any insight on the error.
I changed from global variable, Set, to a collection with one value and the system still crashes.
What is even stranger is that this function have been running for the last 6 months, since yesterday, and nobody touched this simple function.
Hi. First of all you should not place any code after Navigate()...it is very likely that this code won't be executed as you Navigated to another screen.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
There is no code after Navigate. The code is in the new page where navigate will take you.
@CPalaloga Could you provide some more details? You have provided 3 Screenshots.
1. On the first Screenshot, after Navigate() you call UpdateContext({Con4.....
2. The other screenshots do show a Gallery. On which screen are these Galleries? Employee Details?
@CPalaloga What do you mean by crashes? How do you Navigate Back? With Code or do you use the Back button of the browser?
@CPalaloga Sorry, that comment was ment for the original author.
What do you mean by crashes? How do you Navigate Back? With Code or do you use the Back button of the browser?
The application uses a navigation back with value global being reset.
We have not reached that since the crash is happening earlier.
Value Page (Gallery with rows of data) >>Navigate to Validation page
During this transition we execute the above functions.
The software crashes and restarts before it reached the Validation page. No error displayed, not even when the software is connected to monitor
@CPalaloga What Browser are you using. Have you tried re-publishing your app? Clear Browser Cache? Does the issue occur on different Browsers / different PCs?
Is there any Code in the OnVisible property of the CSPV12TemplateStraightness Screen?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
204 | |
97 | |
60 | |
51 | |
47 |
User | Count |
---|---|
255 | |
158 | |
87 | |
79 | |
59 |