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

Copy/Pase functionality broken #23

Open
nocin opened this issue Nov 22, 2023 · 6 comments
Open

Copy/Pase functionality broken #23

nocin opened this issue Nov 22, 2023 · 6 comments

Comments

@nocin
Copy link

nocin commented Nov 22, 2023

Hi @schiwekM,

I am looking for a sample application that has a working copy/paste functionality on a list. I have two Fiori Element applications, where the button is visible but is always throwing a Failed to drill-down into exception. Now, when testing this sample, it is throwing the same error. Is this a general error with Fiori Elements or is there any missing annotation?

grafik

grafik

Log-dbg.js:499 2023-11-22 16:54:59.752500 Failed to drill-down into (ID=d419b9d9-897e-4e1f-9a7d-6a16e3c8f776,IsActiveEntity=true)/DataFieldForIntentBasedNavigation::FeatureShowcaseChildEntity2::manage::RequiresContext, invalid segment: DataFieldForIntentBasedNavigation::FeatureShowcaseChildEntity2::manage::RequiresContext - /srv1/RootEntities?$count=true&$select=HasActiveEntity,HasDraftEntity,ID,IsActiveEntity,childEntity2_ID,createdAt,createdBy,criticality_code,deletePossible,dimensions,fieldWithCriticality,fieldWithPrice,fieldWithURL,fieldWithURLtext,fieldWithUoM,forecastValue,imageUrl,integerValue,isoCurrency_code,modifiedAt,modifiedBy,starsValue,stringProperty,targetValue,uom_code,validFrom,validTo&$orderby=stringProperty&$filter=(IsActiveEntity%20eq%20false%20or%20SiblingEntity/IsActiveEntity%20eq%20null)%20and%20(criticality_code%20ge%200%20and%20criticality_code%20le%202)%20and%20(criticality_code%20ge%200%20and%20criticality_code%20le%202)&$expand=DraftAdministrativeData($select=DraftUUID,InProcessByUser,LastChangedByUser),childEntity2($select=ID,stringProperty),contact($select=ID,name) sap.ui.model.odata.v4.lib._Cache

I would be very interested in an error correction!

BR,
Nico

@gregorwolf
Copy link
Contributor

Hi @nocin ,

I would guess this issue occurs since 1.120.x. As this repository is also only consuming SAPUI5 you should file an incident via https://me.sap.com/servicessupport.

Best Regards
Gregor

@nocin
Copy link
Author

nocin commented Nov 27, 2023

Hi @gregorwolf,

as I never got it working, I am not sure if it is an issue with the current UI5 version or just not setup correctly?
Did you ever saw the copy functionality working somewhere?

BR,
Nico

@Joao247
Copy link

Joao247 commented Dec 21, 2023

Hi @nocin I have the same issue as you. Have you been able to fix this?

@nocin
Copy link
Author

nocin commented Dec 21, 2023

Hi @Joao247,

unfortunately not. But I didn't have time to investigate this further.

@Joao247
Copy link

Joao247 commented Dec 21, 2023

Thank you for the response @nocin
I followed this tutorial https://blogs.sap.com/2023/05/15/developing-cap-based-fiori-appdraft-enabled-with-node.js-and-vscode/
and the copy button works here. not sure what the problem is on our apps. maybe the way entitys are defined.

@dinurp
Copy link

dinurp commented Dec 24, 2023

The error is logged for some columns that are not copied. The rest of the columns do get copied. In this sample the issue is with two columns: IBN (shopping cart Icon), and changeProgress (Progress Indicator). If you exclude these columns (using settings), no error is logged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants