Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9344

Incorrect MimeTypeId value shown if the form is submitted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.04
    • Component/s: party
    • Labels:

      Description

      The 'Add Party Content' form shows incorrect Mime Type Id value if Submit button is clicked without uploading any content. (IncorrectMimeTypeId.png)

      1. IncorrectMimeTypeId.png
        34 kB
        Devanshu Vyas
      2. OFBIZ-9344.patch
        0.7 kB
        Humera Khan

        Activity

        Hide
        devanshu.vyas Devanshu Vyas added a comment -

        In reference to http://svn.apache.org/viewvc?rev=1081848&view=rev I understood that the Tika library automatically recognizes the mimeType of the uploaded content, and thus we do not need to specify or select in the upload. So I am removing the 'select' element from the 'Add Party Content' form.

        Show
        devanshu.vyas Devanshu Vyas added a comment - In reference to http://svn.apache.org/viewvc?rev=1081848&view=rev I understood that the Tika library automatically recognizes the mimeType of the uploaded content, and thus we do not need to specify or select in the upload. So I am removing the 'select' element from the 'Add Party Content' form.
        Hide
        arunpati Arun Patidar added a comment -

        Committed in Ofbiz framework trunk at revision 1801303

        Thanks Devanshu for your contribution.

        Show
        arunpati Arun Patidar added a comment - Committed in Ofbiz framework trunk at revision 1801303 Thanks Devanshu for your contribution.
        Hide
        mbrohl Michael Brohl added a comment -

        Needs backporting.

        Show
        mbrohl Michael Brohl added a comment - Needs backporting.
        Hide
        lalit.kushwah Lalit Kushwah added a comment -

        I verified the issue on 16.11 release. Same changes can fix the issue. Below are steps to verify:

        • Login to partymgr
        • Go to any party detail page
        • Add content from Content section

        Now, Mymetype filed has been removed that was not required.

        Show
        lalit.kushwah Lalit Kushwah added a comment - I verified the issue on 16.11 release. Same changes can fix the issue. Below are steps to verify: Login to partymgr Go to any party detail page Add content from Content section Now, Mymetype filed has been removed that was not required.
        Hide
        arunpati Arun Patidar added a comment -

        This has been backported to 16.11 at revision: 1802662.

        Thanks Lalit Kushwah for your contribution.

        Show
        arunpati Arun Patidar added a comment - This has been backported to 16.11 at revision: 1802662. Thanks Lalit Kushwah for your contribution.

          People

          • Assignee:
            arunpati Arun Patidar
            Reporter:
            devanshu.vyas Devanshu Vyas
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development