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

mysql: ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Upcoming Branch
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      Due to revision 1529838, the length of data type "email" was increased from 254 to 320. But It makes the ofbiz failed to create tables such as "PRODUCT_PROMO_CODE_EMAIL" which includes an email fields as its primary key.

      The database is mysql, innodb engine and utf8 charset. The error msg:
      ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes.

      I suggest to revert change of r1529838.

        Attachments

        1. OFBIZ-5426.patch
          18 kB
          Pawan Verma
        2. OFBIZ-5426.patch
          19 kB
          Pawan Verma
        3. OFBIZ-5426.patch
          23 kB
          Pawan Verma
        4. OFBIZ-5426.patch
          22 kB
          Pawan Verma
        5. OFBIZ-5426.patch
          7 kB
          Deepak Dixit

        Issue Links

          Activity

            People

            • Assignee:
              pawan Pawan Verma
              Reporter:
              utcb Leon

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                  Agile

                    Issue deployment