Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-204

Android: fix Note / Markdown preview

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Android 1.0
    • Component/s: None
    • Tags:
    • Sprint:
      nxfit 8.4.3, nxfit 8.4.5, nxfit 8.4.4
    • Story Points:
      5

      Description

      The Markdown component, used for the thumbnail of a Note document in the document view and for the preview of a text file currently crashes with

      YellowBox.js:67 Possible Unhandled Promise Rejection (id: 46):
      Could not open URL 'data:text/html; charset=utf-8,<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="initial-scale=1, maximum-scale=1"><title></title><style type="text/css">body {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;}b, strong {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}h1, h2, h3, h4, h5, h6 {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}</style></head><body><p>poor content</p></body></html><!-- 24 -->': No Activity found to handle Intent { act=android.intent.action.VIEW dat=data:text/html; charset=utf-8,<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="initial-scale=1, maximum-scale=1"><title></title><style type="text/css">body {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;}b, strong {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}h1, h2, h3, h4, h5, h6 {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}</style></head><body><p>poor content</p></body></html><!-- 24 --> flg=0x10000000 }
      Error: Could not open URL 'data:text/html; charset=utf-8,<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="initial-scale=1, maximum-scale=1"><title></title><style type="text/css">body {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;}b, strong {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}h1, h2, h3, h4, h5, h6 {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}</style></head><body><p>poor content</p></body></html><!-- 24 -->': No Activity found to handle Intent { act=android.intent.action.VIEW dat=data:text/html; charset=utf-8,<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="initial-scale=1, maximum-scale=1"><title></title><style type="text/css">body {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;}b, strong {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}h1, h2, h3, h4, h5, h6 {font-family: Roboto, '-apple-system', Helvetica Neue, Arial;font-weight: bold;}</style></head><body><p>poor content</p></body></html><!-- 24 --> flg=0x10000000 }
          at createErrorFromErrorData (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7288:11)
          at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7239:11
          at MessageQueue.__invokeCallback (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:7102:10)
          at http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6977:8
          at guard (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6916:1)
          at MessageQueue.invokeCallbackAndReturnFlushedQueue (http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false:6976:1)
          at onmessage (http://localhost:8081/debuggerWorker.js:39:56)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: