Appcenter: Distributing an app to the Play Store fails because of a commit longer than 500 characters

Created on 12 Mar 2019  路  2Comments  路  Source: microsoft/appcenter

What App Center service does this affect?

Publishing my Android App to the Play Store.

Describe the bug

{
  "mandatory_update": false,
  "release_notes": "Profile edit page (#435)\n\n* Add react-native-image-pickers\r\n\r\n* Add react-native-background-upload\r\n\r\n* Add: :sparkles: ProfileEditionScreen component and tests\r\n\r\n* Fix settings routes\r\n\r\n* Fix SProgresBar coverage\r\n\r\n* Add tests\r\n\r\n* Remove useless files\r\n\r\n* Remove useless files\r\n\r\n* :memo: Add dependencies\r\n\r\n* Add Uploader HOC\r\n\r\n* Start to connect profile and edition\r\n\r\n* Add navigato to ProfileEdition\r\n\r\n* Mod: :fire: Avoid diff too big\r\n\r\n* Mod: :bug: Handle error when no initial profile picture\r\n\r\n* Fix: :bug: forgot text when no initial profile picture\r\n\r\n* Fix: :label: Proper flow typing\r\n\r\n* Fix: :recycle: Preserve order\r\n\r\n* Fix: :camera_flash: Update snapshots\r\n\r\n* Mod: :wrench: Fiddling with camera options\r\n\r\n* Cln: :fire: No need to prefetch image, will be loaded automatically\r\n\r\n* Upd: :sparkles: Allow photo upload on ProfileDashboard\r\n\r\n* Mod: :recycle: Re-order imports\r\n\r\n* Upd: :camera_flash: Snapshot\r\n\r\n* Mod: :lipstick: Hide loading once new URL has been loaded\r\n\r\n* Fix: :ok_hand: MOULTIFIX EVERYWHERE\r\n\r\n* Mod: :white_check_mark: Split tests\r\n\r\n* Upd: :white_check_mark: Check for upload complete callback\r\n\r\n* Upd: :camera_flash: Snapshot\r\n\r\n* Fix: :ok_hand: Review from @cadesalaberry\r\n\r\n* Fix: :ok_hand: Second review from @cadesalaberry",
  "destinations": [
    {
      "id": "56963aca-d269-47d4-bd1d-REDACTED",
      "name": "Alpha",
      "message": "Failed to publish to store. Error: Release Notes should contain min 0 to max 500 characters.",
      "code": "bad_request"
    }
  ],
  "code": "partially_succeeded",
  "message": "Failed to publish to store. Error: Release Notes should contain min 0 to max 500 characters."
}

To Reproduce
Steps to reproduce the behavior:

  1. Go to an android application git repo
  2. Setup building, signing, and distributing to Android Play Store on a branch
  3. Create a comit message with more than 500 characters
  4. Push
  5. See error

Expected behavior
The release note placeholder specifically states:

Let your users know what's new! If you want to always use your latest commit message, simply leave this as it is.

I would expect two things:

  • The 500 char limitation should be mentionned in the placeholder (noting that it only affects Android Play Store)
  • The publication module should truncate the release message to 500 char to make sure it does not fail

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: All
  • Browser All
  • Version All

Smartphone (please complete the following information):

  • Device: All
  • OS: All
  • Browser All
  • Version All

Additional context
Add any other context about the problem here.

bug

Most helpful comment

Hi, the issue has been fixed. And you can again and we are now truncating release notes if the field is left blank.

All 2 comments

Hi, I am facing the same issue.

Hi, the issue has been fixed. And you can again and we are now truncating release notes if the field is left blank.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DouglasMarq picture DouglasMarq  路  4Comments

patrickdoodyIRL picture patrickdoodyIRL  路  3Comments

Oddj0b picture Oddj0b  路  3Comments

comply365dev picture comply365dev  路  4Comments

KSemenenko picture KSemenenko  路  3Comments