Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19576

Fix map access in method ConversionActionBean#isMimeTypeExportableToPDF

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.2
    • Fix Version/s: 7.10-HF10, 8.3
    • Component/s: Seam / JSF UI

      Description

      code should be

              // Check if there is any saved ConverterCheckResult for the desired
              // MIME type.
              if (pdfConverterForTypes.containsKey(mimetype)) {
                  return pdfConverterForTypes.get(mimetype).isAvailable();
              }
      

      instead of

              // Check if there is any saved ConverterCheckResult for the desired
              // MIME type.
              if (pdfConverterForTypes.containsValue(mimetype)) {
                  return pdfConverterForTypes.get(mimetype).isAvailable();
              }
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h