cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MDK: OpenDocument crashed when opening a pdf for the first time

damienwyzeon
Explorer
0 Likes
682

hello MDK experts,

i am facing an issue trying to use openDocument action with a pdf. 

Symptom : after a reset of my app, the very first occurrence of openDocument action crashes the app. reopening the app, the openDocument action is working fine. 

versions : Mobile Svcs 24.11.2 / iOS 18.3.1

app: built a simplified demo app to isolate this behavior: 

on the main page : one single button 

"OnPress": "/mdktest/Actions/openDummyPDF.action"

and the action is an OpenDocument pointing to a public url from w3.org. 

{
	"_Type": "Action.Type.OpenDocument",
	"ActionResult": {
		"_Name": "openDummyPDF"
	},
	"OnFailure": "/mdktest/Actions/FailurePdfload.action",
	"Path": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
	"MimeType": "application/pdf"
}

 

pattern of error : opening the app in mobile svcs for the first time > click on the button > crash
reopening the app, click on button > pdf is displayed fine. 
reset of the app > close mobile Svcs > onboarding of the app > click button > crash again.. etc . 

Has anyone already experienced similar issue with OpenDocument? 
Am I missing something here? any suggestion of workaround?

I am tempted to think this is an MDK bug with OpenDocument action. so I ll raise an incident to SAP support for this one. but in case someone faced the same problem, any thought is appreciated!

thanks

Damien 

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Likes

I see you have opened a support ticket for this issue.  We will respond on the support ticket.

damienwyzeon
Explorer
0 Likes
thank you for your answer Bill. I ll wait for the next release of MDK 24.11.3 where this one should be fixed! thanks.
damienwyzeon
Explorer
0 Likes
just migrated to 24.11.3 which has been released today. and this issue is fixed. thank you Bill & team!

Answers (0)