Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Properties on Perspective are not serialized / saved to folder #1165

Closed
OlavRab opened this issue Dec 13, 2023 · 2 comments
Closed
Labels
bug Anything that is supposed to work, but doesn't.
Milestone

Comments

@OlavRab
Copy link

OlavRab commented Dec 13, 2023

Describe the bug
Extended properties on perspectives are not being serialized in the database.json file!

To Reproduce
Steps to reproduce the behavior:

  1. Create a model (I have a compatibility level 1567 model)

  2. Add a couple of tables from a powerquery source

  3. Add a perspective, make a couple of tables visible in the perspective

  4. Add an extended property to the perspective
    image

  5. Save the model to a folder with the following serialization settings:
    image

Expected behavior
Normally, I would expect the ExtendedProperty and its value to be serialized into the database.json file as part of the TabularEditor_Perspectives Property. Once I re-open the model, the Property that I added, should be visible once again.

Observed Behavior
What actually happens is that the property doesn't get picked up and saved/serialized at all (note the screenshot from the database.json file). As you can see, Annotations added to the perspective are saved.
image

Once I re-open the model after saving it to folder, the ExtendedProperty is gone, the annotation is still there

Application specifics

  • Tabular Editor 2.X version: [e.g. 2.21.1]
  • Semantic Engine used: PowerBI Premium per User
  • Model Compatibility Level:1567
@OlavRab OlavRab added the bug Anything that is supposed to work, but doesn't. label Dec 13, 2023
@otykier otykier added this to the 2.22.0 milestone Jan 19, 2024
otykier added a commit that referenced this issue Jan 19, 2024
@otykier
Copy link
Collaborator

otykier commented Jan 19, 2024

This is now fixed in 2.22.0. Thanks for reporting!

@otykier otykier closed this as completed Jan 19, 2024
@otykier
Copy link
Collaborator

otykier commented Feb 20, 2024

For TE3 users, this is now fixed in 3.14.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Anything that is supposed to work, but doesn't.
Projects
None yet
Development

No branches or pull requests

2 participants