Skip to content

Table Info: Don't return to the saved position for non-AL defined indices#6782

Merged
PhDuck merged 9 commits intomainfrom
bugs/622744/DatabaseIndexFixNonMetadataIndicesPositionBug
Feb 25, 2026
Merged

Table Info: Don't return to the saved position for non-AL defined indices#6782
PhDuck merged 9 commits intomainfrom
bugs/622744/DatabaseIndexFixNonMetadataIndicesPositionBug

Conversation

@PhDuck
Copy link
Contributor

@PhDuck PhDuck commented Feb 23, 2026

Problem:
When an non-AL defined index is disabled (turned off) it doesn't exist anymore (neither in Database Index VT or Key VT), so it will no longer exist in the temp table, leading to an error.

Solution:
Don't attempt to return to the position for non-AL defined indices after disabling them. Instead the position will just be the first index.

This PR also adds another page which shows the index's fields and include fields.

Fixes AB#622744

Example:
{E16B2371-6914-41B5-846B-15FEE42DE281}

@PhDuck PhDuck changed the title Don't return to the original position for non-AL defined indices Table Info: Don't return to the saved position for non-AL defined indices Feb 23, 2026
@PhDuck PhDuck requested a review from BardurKnudsen February 23, 2026 21:02
@github-actions github-actions bot added this to the Version 28.0 milestone Feb 23, 2026
@PhDuck PhDuck marked this pull request as ready for review February 24, 2026 10:24
@PhDuck PhDuck requested a review from a team as a code owner February 24, 2026 10:24
BardurKnudsen
BardurKnudsen previously approved these changes Feb 24, 2026
@PhDuck PhDuck requested a review from a team as a code owner February 24, 2026 23:18
Copy link
Contributor

@ehenriksen9 ehenriksen9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good small comments

@PhDuck PhDuck enabled auto-merge (squash) February 25, 2026 16:51
@PhDuck PhDuck merged commit e9a1ce5 into main Feb 25, 2026
48 checks passed
@PhDuck PhDuck deleted the bugs/622744/DatabaseIndexFixNonMetadataIndicesPositionBug branch February 25, 2026 22:43
PhDuck added a commit that referenced this pull request Feb 25, 2026
…ices (#6782)

Problem:
When an non-AL defined index is disabled (turned off) it doesn't exist
anymore (neither in Database Index VT or Key VT), so it will no longer
exist in the temp table, leading to an error.

Solution:
Don't attempt to return to the position for non-AL defined indices after
disabling them. Instead the position will just be the first index.

This PR also adds another page which shows the index's fields and
include fields.

Fixes
[AB#622744](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/622744)

Example:
<img width="1914" height="1258"
alt="{E16B2371-6914-41B5-846B-15FEE42DE281}"
src="https://github.com/user-attachments/assets/b15c1081-be85-47ad-8db3-36fccb4e541d"
/>

---------

Co-authored-by: Mads Gram <magram@microsoft.com>
PhDuck added a commit that referenced this pull request Feb 25, 2026
…ices (#6782)

Problem:
When an non-AL defined index is disabled (turned off) it doesn't exist
anymore (neither in Database Index VT or Key VT), so it will no longer
exist in the temp table, leading to an error.

Solution:
Don't attempt to return to the position for non-AL defined indices after
disabling them. Instead the position will just be the first index.

This PR also adds another page which shows the index's fields and
include fields.

Fixes
[AB#622744](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/622744)

Example:
<img width="1914" height="1258"
alt="{E16B2371-6914-41B5-846B-15FEE42DE281}"
src="https://github.com/user-attachments/assets/b15c1081-be85-47ad-8db3-36fccb4e541d"
/>

---------

Co-authored-by: Mads Gram <magram@microsoft.com>
PhDuck added a commit that referenced this pull request Feb 25, 2026
…ices (#6782)

Problem:
When an non-AL defined index is disabled (turned off) it doesn't exist
anymore (neither in Database Index VT or Key VT), so it will no longer
exist in the temp table, leading to an error.

Solution:
Don't attempt to return to the position for non-AL defined indices after
disabling them. Instead the position will just be the first index.

This PR also adds another page which shows the index's fields and
include fields.

Fixes
[AB#622744](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/622744)

Example:
<img width="1914" height="1258"
alt="{E16B2371-6914-41B5-846B-15FEE42DE281}"
src="https://github.com/user-attachments/assets/b15c1081-be85-47ad-8db3-36fccb4e541d"
/>

---------

Co-authored-by: Mads Gram <magram@microsoft.com>
Copy link
Contributor

@BardurKnudsen BardurKnudsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants