powercat-creator-kit icon indicating copy to clipboard operation
powercat-creator-kit copied to clipboard

[BUG]: Sorting is not working

Open schngupta opened this issue 1 year ago • 11 comments

Describe the bug When I open my Canvas app or Creator Kit Reference App they showed me warning message is "Disable component behavior property return type check is on because one or more component behavior properties, event or action, have mismatched return types." due to that reason I anticipate sorting is stopped working for all columns except number columns.

To Reproduce Steps to reproduce the behavior:

  1. Edit latest creator kit reference app in PowerApps Studio
  2. go to DetailsList control
  3. try to sort any of the column
  4. nothing works

Expected behavior Sorting should work if that is set as sortable column Screenshots image

AB#2686

schngupta avatar Mar 27 '24 22:03 schngupta

I repro this also in the CoE Starter Kit.

Jenefer-Monroe avatar Mar 29 '24 02:03 Jenefer-Monroe

same bug repros in modern grid control

Jenefer-Monroe avatar Apr 01 '24 12:04 Jenefer-Monroe

Same issue with the latest release of the Creator Kit. I tried enabling the feature "enhanced component properties": the warning message is gone but sorting still doesn't work.

Lou-i3 avatar Apr 02 '24 12:04 Lou-i3

For me in a canvas app & SQL source the numeric columns can be sorted, but not the string columns.

lbuijtelaar avatar Apr 02 '24 17:04 lbuijtelaar

To repro with the sample apps you have to open them in edit mode. Thats why some people dont see the bug, if they only open in the player and never in studio. Then once you save its broken in player as well.

Jenefer-Monroe avatar Apr 03 '24 10:04 Jenefer-Monroe

I have the same issue when the powerapp release version changed from v 3.24032.23 to v3.23032.26 on 22 Mar 2024 afternoon.

seebeelim avatar Apr 04 '24 02:04 seebeelim

Thank you everyone. We do have an internal escalation posted for this. Please keep new information / findings coming here as they will help.

Jenefer-Monroe avatar Apr 04 '24 15:04 Jenefer-Monroe

I have the same issue.

Suddenly text/number column can't be sorted even if it's sortable true.

Choice and lookup columns are working fine

markgomez00 avatar Apr 05 '24 09:04 markgomez00

issue is understood by dev, can't back out the change due to other reasons but they are actively working on a fix hopefully in the next week.

Jenefer-Monroe avatar Apr 08 '24 13:04 Jenefer-Monroe

It seems, sorting is still working in the old published app but not in Power Apps editor mode.

AkshayBobade03 avatar Apr 10 '24 09:04 AkshayBobade03

correct. until you save and publish things are fine. But once you save and publish you are broken.

Jenefer-Monroe avatar Apr 10 '24 13:04 Jenefer-Monroe

Thank you @cshiflett, I have let the dev know that it impacts the new control as well. Fingers are crossed that this fix rolls early this week, I'll let you all know ASAP

Jenefer-Monroe avatar Apr 15 '24 15:04 Jenefer-Monroe

Same issue in custom page, authoring version 3.24042.21

miberr avatar Apr 18 '24 20:04 miberr

This is resolved for my test cases now. YEAH! Note that you do need to open the app in edit mode to fix (just like you had to open in edit mode to break).

Jenefer-Monroe avatar Apr 22 '24 22:04 Jenefer-Monroe

Great. Thanks Jenefer. I would like to check which release version of PowerApp? I'm using 3.24042.24 and managed to get the sorting working on default columns. Whereas it gave an error when we are using "AddColumn" column where it would gave a warning message on top "The specified column "columnname" does not exist or in an invalid sort column type.

SeeBeeDev avatar Apr 22 '24 23:04 SeeBeeDev

It is now working after re-publishing the page on my environment. Thanks @Jenefer-Monroe

markgomez00 avatar Apr 23 '24 00:04 markgomez00

Great. Thanks Jenefer. I would like to check which release version of PowerApp? I'm using 3.24042.24 and managed to get the sorting working on default columns. Whereas it gave an error when we are using "AddColumn" column where it would gave a warning message on top "The specified column "columnname" does not exist or in an invalid sort column type.

I’m afraid I’m not a creator kit owner and so can’t answer more questions, I was just impacted by this bug for the CoE Starter Kit I would suggest you post a new issue and hopefully someone from creator Kit can assist

Jenefer-Monroe avatar Apr 23 '24 02:04 Jenefer-Monroe

Great. Thanks Jenefer. I would like to check which release version of PowerApp? I'm using 3.24042.24 and managed to get the sorting working on default columns. Whereas it gave an error when we are using "AddColumn" column where it would gave a warning message on top "The specified column "columnname" does not exist or in an invalid sort column type.

@SeeBeeDev please open a separate thread for this issue and we can help debug there

denise-msft avatar May 01 '24 21:05 denise-msft