microsoft / powercat-creator-kit

This toolkit helps create well-designed Power App experiences on the web & mobile. It contains a component library; PCF controls and other utilities that increase developer productivity.
MIT License
312 stars 51 forks source link

[BUG]: DetailsList not showing any data when published #492

Closed lwak94 closed 2 weeks ago

lwak94 commented 2 weeks ago

I am using the DetailsList component with a collection. Until now everything worked well, unfortunately since an update the app is not showing any data when published. In Power App Studio the list component is still working, but after a publish and play of the live version, no data is shown.

When rolling back to the last version (from August 2024), the app still works.

Just opening the app in power apps studio and publish (without any changes) the app will not show any data. I think that has to do with the authoring version.

To Reproduce

  1. Go to open app in edit -> "Power Apps Studio"
  2. Click on Save
  3. Publish App
  4. Play App
  5. Enter Search term
  6. Navigate to Result Screen

Expected behavior After the collection gets data, the app navigates automatically to the result screen. Here the data from the collection must be visible. (Navigation still takes place, which means data is in collection)

Additional context

Tested authoring versions (non working):

Additionally tested with studio version studio-version=v3.24052.30.298708436

Checked data via monitor -> Data is loaded correctly.

MaheshSripada commented 2 weeks ago

Hi @lwak94,

We appreciate you bringing this to our attention.

Unfortunately, I have tried to reproduce this issue in our environment by using collection with Search function in Formulas and App.Start, then using this collection in the details list by changing the studio version to above, But could not reproduce it.

To better understand the problem, can you provide

1) The formula used for the collection. 2) Where are you updating / setting this collection (App Start or Named Formulas or On Visible of screen) 3) If any errors in the Monitor

This will help us resolve the issue more efficiently.

lwak94 commented 2 weeks ago

Hi,

Thanks for your help!

I was able to fix it by myself. It was indeed no bug within the powercat component. MSFT just changed the behavior of empty textinput-fields - this was the issue! An "Brakout" with !IsBlank(Textinput.value) did the job 🙂

So we can close this bug.

Thanks anyways and sorry for the inconvenience!

Mit freundlichen Grüßen | Best regards​​​​ Lorenzo Wakunda Technology Consultant Microsoft Dynamics 365 [HSO]https://www.hso.com/de/ M +49 160 98006585<tel:+49%20160%2098006585> T +49 7031 4903-0


From: MaheshSripada @.> Sent: Tuesday, September 10, 2024 13:07 To: microsoft/powercat-creator-kit @.> Cc: Lorenzo Wakunda @.>; Mention @.> Subject: Re: [microsoft/powercat-creator-kit] [BUG]: DetailsList not showing any data when published (Issue #492)

Hi @lwak94https://github.com/lwak94,

We appreciate you bringing this to our attention.

Unfortunately, I have tried to reproduce this issue in our environment by using collection with Search function in Formulas and App.Start, then using this collection in the details list by changing the studio version to above, But could not reproduce it.

Could you please provide more details about the issue? Specifically, we need [insert specific information needed, e.g., logs, screenshots, steps to reproduce]." To better understand the problem, can you provide

  1. The formula used for the collection.
  2. Where are you updating / setting this collection (App Start or Named Formulas or On Visible of screen)
  3. If any errors in the Monitor

This will help us resolve the issue more efficiently.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/powercat-creator-kit/issues/492#issuecomment-2340360775, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLER7UDBRMPL7NAX5KSZXO3ZV3HIBAVCNFSM6AAAAABN4LHWRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGM3DANZXGU. You are receiving this because you were mentioned.Message ID: @.***>

MaheshSripada commented 2 weeks ago

We appreciate your kind words. If you need anything else, don’t hesitate to reach out. Closing this ticket as confirmed by you.