-
Notifications
You must be signed in to change notification settings - Fork 61
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
[UIST] Field Sort Priority adjustment to larger value #641
Conversation
This reverts commit df70200.
Hi Viktoria, it seems like you reverted your commits. The diff between your fork and this repository is empty, as you can see in the "Files changed" tab in this PR. Can you please try to commit your changes again? |
HI, I commited changes again, but check failed. Can I fix they somehow? |
You can ignore these two check failures for now, they are related to checking if the change is compatible. I am not sure whether your change is compatible (see our wiki) but I will clarify this with my colleagues. I will come back to you soon. |
Hi, is your object type already used externally (except of ADT)? Our main concern is when importing an AFF object with 5 decimals into a system which is still on the old change (with 3 decimals) our transformation will break, as it cannot write a number with 5 decimals into a field with only 3 decimals. But if it is only used in ADT, it should be fine. |
Hi, UIST Object type is used for import/export of objects in abapGit. When is trying to push Object with 5 decimals into 3 decimals (defined in older system), the error log is display (e.g. The number 9999.99999 of field "sortPriority" has too many decimals. 3 decimals allowed) and UIST Object not imported into system. Content can be adapted on Git repository and import via abapGit restarted. |
Hi, thank you for answering all my questions. I have consulted my colleagues, and we came to the following conclusion: In general, such a change would not be compatible, as you have already described:
In this case, our preferred way would be to increase the format version, so the importing system (old system without the change) would recognize that the object has a newer version than it currently understands. As your specific object is currently only used in the cloud (as UIST has no on-prem release yet), we can accept the change without increasing the format version. |
schema generation now running, thanks to open-abap/open-abap-core#893 |
Okay, some updates regarding the failing Github Action The assertion mentioned in the error log occurs because of some implementation in open-abap-core calculating the max length of a packed number. This error was fixed with open-abap/open-abap-core#893.
During this investigation we stumbled across the max value definition for packed numbers: If you now want to increase the decimal part of the number to 5 decimals, it would also be possible to set the packed number to In contrast, So this is now up to you to decide @ViktoriaFreidel: We would recommend to reduce the length of sort_priority to |
Hi, we will change sort_priority to `length 5 decimals 5 as suggested. Thank you for clarifying. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you.
No description provided.