Title: Unable to set `overwriteFile` to `false` · Issue #34 · imagekit-developer/imagekit-java · GitHub
Open Graph Title: Unable to set `overwriteFile` to `false` · Issue #34 · imagekit-developer/imagekit-java
X Title: Unable to set `overwriteFile` to `false` · Issue #34 · imagekit-developer/imagekit-java
Description: I think there's a bug in this part: imagekit-java/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java Line 58 in 48e94f1 builder.addFormDataPart("overwriteFile", "true"); We can't set overwriteFile to false, and the de...
Open Graph Description: I think there's a bug in this part: imagekit-java/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java Line 58 in 48e94f1 builder.addFormDataPart("overwriteFile", "true"); We can'...
X Description: I think there's a bug in this part: imagekit-java/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java Line 58 in 48e94f1 builder.addFormDataPart("overwriteFile", &q...
Opengraph URL: https://github.com/imagekit-developer/imagekit-java/issues/34
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to set `overwriteFile` to `false`","articleBody":"I think there's a bug in this part:\r\n\r\nhttps://github.com/imagekit-developer/imagekit-java/blob/48e94f18a0e83c6d914d90d9143c3ceb40574715/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java#L58\r\n\r\nWe can't set `overwriteFile` to `false`, and the default value of `overwriteFile` is `true`.\r\n\r\n\u003cimg width=\"696\" alt=\"image\" src=\"https://github.com/user-attachments/assets/d363fc68-fd11-4bea-9a1d-e7244c7aaedd\"\u003e\r\n\r\nTherefore, there's no way to set `overwriteFile` to `false`. \r\n\r\nFYI, `useUniqueFilename` has a different and correct logic. It seems other flags also have buggy logic around this part i.e. can't set to `false` and the default isn't `false`.\r\n\r\nThank you.\r\n","author":{"url":"https://github.com/tanin47","@type":"Person","name":"tanin47"},"datePublished":"2024-11-21T19:32:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/34/imagekit-java/issues/34"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:779ce051-d89a-5def-cfff-00a984ecf334 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C992:143CBB:9989C5:D3899E:698EFD0B |
| html-safe-nonce | d9c768c63b3445ed262a12b983af140f91caaf556025b5be13b5b61340ce49c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTkyOjE0M0NCQjo5OTg5QzU6RDM4OTlFOjY5OEVGRDBCIiwidmlzaXRvcl9pZCI6IjY4OTQyODI3NTk0NDA2MjkwMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 47eb49137adc716d2020b8540bde2df42c20c3c87131678cb7f66637a27574c9 |
| hovercard-subject-tag | issue:2680666209 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/imagekit-developer/imagekit-java/34/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ef9a4e23e79d5c105f68a16354cba482ac5ae7d4f678b41fce1c886bf5c9cee/imagekit-developer/imagekit-java/issues/34 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ef9a4e23e79d5c105f68a16354cba482ac5ae7d4f678b41fce1c886bf5c9cee/imagekit-developer/imagekit-java/issues/34 |
| og:image:alt | I think there's a bug in this part: imagekit-java/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java Line 58 in 48e94f1 builder.addFormDataPart("overwriteFile", "true"); We can'... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tanin47 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| turbo-cache-control | no-preview |
| go-import | github.com/imagekit-developer/imagekit-java git https://github.com/imagekit-developer/imagekit-java.git |
| octolytics-dimension-user_id | 22879925 |
| octolytics-dimension-user_login | imagekit-developer |
| octolytics-dimension-repository_id | 247482558 |
| octolytics-dimension-repository_nwo | imagekit-developer/imagekit-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 247482558 |
| octolytics-dimension-repository_network_root_nwo | imagekit-developer/imagekit-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 29d97d94d5b31f96c01179273264722362f058e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width