diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -310,12 +310,19 @@ public class RenameDialog extends JDialog { contentPane.add(buttonPane, BorderLayout.PAGE_END); setTitle(NLS.str("popup.rename")); - pack(); + if (!mainWindow.getSettings().loadWindowPos(this)) { setSize(800, 80); + } + // always pack (ignore saved windows sizes) + pack(); setLocationRelativeTo(nu...
fix(gui): fix rename dialog pack
null
skylot/jadx
Apache License 2.0
Java
@@ -28,18 +28,22 @@ public class ClassifyReturn extends GenericModel { @SerializedName("model_version") private String modelVersion; private List<Element> elements; - private List<Tables> tables; - @SerializedName("document_structure") - private DocStructure documentStructure; - private List<Parties> parties; @Serializ...
fix(Compare and Comply): Add correct getter for contract types and additional props
null
watson-developer-cloud/java-sdk
Apache License 2.0
Java
var scVersionInt = scVersion.MajorMinorUpdateInt; - var topology = GetTopology(args.Product.Revision); + var topology = GetTopology(args); if (topology == Topology.Undefined) { - Log.Warn($"SC topology was not recognized. Revision: {args.Product.Revision}"); + Log.Warn($"Topology was not recognized."); return; } } } - ...
fix: uninstall tasks are not added when on env delete (closes
null
sitecore/sitecore-instance-manager
MIT License
C#
@@ -22,11 +22,11 @@ import ( "time" "github.com/gin-gonic/gin" - _ "github.com/go-sql-driver/mysql" "yunion.io/x/log" "yunion.io/x/pkg/util/prometheus" "yunion.io/x/pkg/utils" + _ "yunion.io/x/sqlchemy/backends" compute_api "yunion.io/x/onecloud/pkg/apis/scheduler" "yunion.io/x/onecloud/pkg/cloudcommon"
fix: update scheduler using new sqlchemy
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -4,7 +4,14 @@ import { createTestLogger } from './test-helpers'; describe('Checks if memory leaks', () => { function round(client: PrismHttp) { - return client.get('/todos', { headers: { 'x-todos-publish': '2021-09-21T09:48:48.108Z' } }); + return client.post( + '/todos?overwrite=yes', + { + name: 'some name', + com...
fix: use proper client call in memory leak tests
null
stoplightio/prism
Apache License 2.0
TypeScript
@@ -148,7 +148,7 @@ const Measurements = (props) => { updateValue={props.updateMeasurement} /> ))} - {props.optional.map((m) => ( + {props.optional && props.optional.map((m) => ( <FormFieldMeasurement key={m} name={m}
fix(workbench): Type-check optionalMeasurements. Closes
null
freesewing/freesewing
MIT License
JavaScript
@@ -6,7 +6,7 @@ import EventWizardMixin from 'open-event-frontend/mixins/event-wizard'; @classic export default class AttendeeController extends Controller.extend(EventWizardMixin) { async saveForms(data) { - await Promise.all((data.customForms ? data.customForms.toArray() : []).map(customForm => customForm.save())); +...
fix: read custom prop of undefined attendee step
null
fossasia/open-event-frontend
Apache License 2.0
JavaScript
@@ -173,9 +173,11 @@ class CSSPositionedLayout { ) { // Default to no constraints. (0 - infinite) BoxConstraints childConstraints = const BoxConstraints(); - Size trySize = parent.contentConstraints.biggest; - Size parentSize = trySize.isInfinite ? parent.contentConstraints.smallest : trySize; - + // Scrolling element ...
fix: positioned element size wrong
null
openkraken/kraken
Apache License 2.0
Dart
@@ -19,7 +19,7 @@ beforeEach(() => { })) }) -describe('Components : Race : Header Hero', () => { +describe('Components : Race : National Chart', () => { it('renders correctly', () => { const tree = renderer.create(<NationalChart />).toJSON() expect(tree).toMatchSnapshot()
fix(tests): national chart test name
null
covid19tracking/website
Apache License 2.0
JavaScript
@@ -8039,7 +8039,7 @@ ACTOR Future<Void> popChangeFeedMutationsActor(Reference<DatabaseContext> db, Ke } } catch (Error& e) { if (e.code() != error_code_unknown_change_feed && e.code() != error_code_wrong_shard_server && - e.code() != error_code_all_alternatives_failed) { + e.code() != error_code_all_alternatives_faile...
fix: poppingChangeFeeds did not properly handle broken promise errors
null
apple/foundationdb
Apache License 2.0
C++
@@ -107,27 +107,9 @@ protected: } } - static void add_output_var_all2all(CollectiveComm* opr) { - mgb_assert(opr->nr_devices() >= 2); - auto pname = get_param_name(opr->param()); - // sublinear would setup opr->config if inputs.size() is 1, - // bypass this situation - mgb_assert( - !opr->config().has_comp_node_set() |...
fix(mgb/opr-mm): use comp_node of config as default in CollectiveComm
null
megengine/megengine
Apache License 2.0
C++
@@ -1165,6 +1165,7 @@ private void terminateParticipant(Participant participant, Reason reason, String message) { + BridgeSession bridgeSession; synchronized (participantLock) { Jid contactAddress = participant.getMucJid(); @@ -1184,7 +1185,7 @@ private void terminateParticipant(Participant participant, // Cancel any t...
fix: Expires the octo participants
null
jitsi/jicofo
Apache License 2.0
Java
@@ -107,7 +107,11 @@ export class TransformImpl extends View<TransformImpl.EventArgs> { render() { this.renderHandles() + + if (this.view) { this.view.addClass(Private.NODE_CLS) + } + Dom.addClass(this.container, this.containerClassName) Dom.toggleClass( this.container, @@ -153,7 +157,9 @@ export class TransformImpl ex...
fix: add defense for view in transform plugin
null
antvis/x6
MIT License
TypeScript
*/ package org.hisp.dhis.db.migration.v36; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; +import java.sql.*; -import org.flywaydb.core.api.migration.BaseJavaMigration; -import org.flywaydb.core.api.migration.Context; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +im...
fix: owner uid refer to userinfo table
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -107,7 +107,7 @@ interface EngineOptions { * might be used for sticky-session. Defaults to not sending any cookie. * @default false */ - cookie: CookieSerializeOptions | boolean; + cookie: (CookieSerializeOptions & { name: string }) | boolean; /** * the options that will be forwarded to the cors module */
fix(typings): add name field to cookie option
null
socketio/socket.io
MIT License
TypeScript
@@ -141,12 +141,22 @@ public class NotificationPendingIntent { Intent launchActivityIntent = context.getPackageManager().getLaunchIntentForPackage(context.getPackageName()); + // Get launchActivity value from payload String launchActivity = null; if (pressActionModel != null) { launchActivity = pressActionModel.getLaun...
fix(android): launch activity intent for custom launchActivity
null
invertase/notifee
Apache License 2.0
Java
@@ -12,7 +12,7 @@ context('Form', () => { cy.get('#page-query-report input[data-fieldname="doctype"]').as('input-test'); cy.get('@input-test').focus().type('Role', { delay: 100 }); cy.get('.menu-btn-group .btn').click(); - cy.get('.grey-link:contains("Add Column")').click(); + cy.get('.grey-link:contains("Add Column")'...
fix(test): Wait for the report to load before clicking add columns
null
frappe/frappe
MIT License
JavaScript
@@ -112,14 +112,6 @@ final class WalletConfigurationStore { } func removeConfiguration(_ configuration: WalletConfiguration) { - guard let url = FileManager.default.walletDirectory else { return } - - do { - try FileManager.default.removeItem(at: url) - } catch { - Logger.error(error.localizedDescription) - } - configu...
fix: don't remove walletDirectory
null
ln-zap/zap-ios
MIT License
Swift
package org.activiti.cloud.services.organization.jpa.audit; +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.when; + +import org.activiti.api.runtime.shared.security.SecurityManager; import org.activiti.cloud.services.organization.jpa.config.OrganizationJpaApplication; impor...
fix(AuditorAwareIT): added mock SecurityManager for current user id
null
activiti/activiti-cloud
Apache License 2.0
Java
@@ -100,9 +100,13 @@ import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNestedNonNullP import static com.appsmith.server.acl.AclPermission.ASSIGN_PERMISSION_GROUPS; import static com.appsmith.server.acl.AclPermission.MANAGE_INSTANCE_CONFIGURATION; import static com.appsmith.server.acl.AclPermission.MANAG...
fix: Super user updated from docker.env on every restart
null
appsmithorg/appsmith
Apache License 2.0
Java
@@ -588,11 +588,6 @@ namespace WalkingTec.Mvvm.Core } } } - else if (pro.PropertyType.GetTypeInfo().IsSubclassOf(typeof(TopBasePoco))) - { - pro.SetValue(Entity, null); - } - } #endregion
fix: update crudvm
null
dotnetcore/wtm
MIT License
C#
@@ -539,7 +539,7 @@ class _SummaryCardState extends State<SummaryCard> { ), child: Row( mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, children: <Widget>[ attributeIcon, Expanded(child: Text(attributeDisplayTitle)),
fix: text alignment in attribute chips
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -94,10 +94,10 @@ func (s *sysctlDep) Ensure(_ common.Package, ensure common.Package) error { %s = %s %s = %s `, - string(common.IpForward), ensure.Config[string(common.IpForward)], - string(common.NonLocalBind), ensure.Config[string(common.NonLocalBind)], - string(common.BridgeNfCallIptables), ensure.Config[string(c...
fix: write syntactically correct sysctl config file
null
caos/orbos
Apache License 2.0
Go
@@ -4,6 +4,9 @@ open class BottomDrawerPlugin: DrawerPlugin { private var maxHeight: CGFloat { return overlayViewFrame.height/2 } + + private var minHeightToShow: CGFloat { + return overlayViewFrame.height * 0.25 } open var height: CGFloat { @@ -14,39 +17,69 @@ open class BottomDrawerPlugin: DrawerPlugin { return .bott...
fix: add constraints to make the drawer consistent with overlay's view size and position
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -19,7 +19,11 @@ Page::Page(Profile *profile, Site *site, const QList<Site*> &sites, SearchQuery // Add site-level automatically added tags if (m_query.gallery == nullptr) { - m_query.tags += m_site->setting("added_tags").toString().split(" ", Qt::SkipEmptyParts); + for (const QString &addedTag : m_site->setting("add...
fix: tags added multiple times in batch downloads (fix
null
bionus/imgbrd-grabber
Apache License 2.0
C++
@@ -224,8 +224,8 @@ def fetch_latest_backups(with_files=True, recent=3): odb.get_backup(older_than=recent, ignore_files=not with_files) return { - "database": odb.backup_path_files, - "public": odb.backup_path_db, + "database": odb.backup_path_db, + "public": odb.backup_path_files, "private": odb.backup_path_private_fi...
fix: proper sequence of backups
null
frappe/frappe
MIT License
Python
@@ -24,6 +24,7 @@ import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.impl.client.BasicCredentialsProvider; +import org.elasticsearch.client.HttpAsyncResponseConsumerFactory; import org.elasticsearch.client.RestClient; i...
fix(es8): configure the same response buffer limit for the es8 client..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -37,6 +37,7 @@ public class IoTDB implements IDatabase { "CREATE TIMESERIES %s WITH DATATYPE=%s,ENCODING=%s,COMPRESSOR=%s"; private static final String SET_STORAGE_GROUP_SQL = "SET STORAGE GROUP TO %s"; private Connection connection; + private static final String ALREADY_KEYWORD = "already exist"; public IoTDB() { @...
fix(IoTDB): ignore storage group and timeseries already exist error when register schema
null
thulab/iot-benchmark
Apache License 2.0
Java
@@ -56,12 +56,10 @@ class SigIntWatcher(object): try: self.child = os.fork() except AttributeError: # platforms that don't have os.fork - pass - except RuntimeError: - pass # prevent "not holding the import lock" on some systems. - if self.child == 0: - return - else: + self.child = 0 + except RuntimeError: # prevent "...
fix: Exscript.util.sigint may raise exception
null
knipknap/exscript
MIT License
Python
@@ -132,7 +132,8 @@ namespace WalkingTec.Mvvm.Core var parentNode = exp.Arguments[0] as MethodCallExpression; if (parentNode == null || (parentNode.Method.Name.ToLower() != "orderby" && parentNode.Method.Name.ToLower() != "orderbydescending")) { - if(parentNode == null){ + if (parentNode == null) + { return exp.Argumen...
fix: fix the bug that dynamic sort with fetch all data
null
dotnetcore/wtm
MIT License
C#
@@ -233,9 +233,9 @@ const ShareActivity = SparkPlugin.extend({ verb: `share`, object: { objectType: `content`, - displayName: this.displayName, - content: this.content, - mentions: this.mentions, + displayName: (this.object && this.object.displayName) ? this.object.displayName : ``, + content: (this.object && this.obje...
fix(v7.1-textwithimage): displays text when posted with image upload
null
webex/webex-js-sdk
MIT License
JavaScript
@php + $notifications = $this->getDatabaseNotifications(); $unreadNotificationsCount = $this->getUnreadDatabaseNotificationsCount(); @endphp @endif <x-notifications::database.modal - :notifications="$this->getDatabaseNotifications()" + :notifications="$notifications" :unread-notifications-count="$unreadNotificationsCou...
fix: Database notifications dup query
null
laravel-filament/filament
MIT License
PHP
@@ -94,7 +94,7 @@ func (l *storeWriter) newKeysetID() (string, error) { // ensure ksID is not already used _, err := l.storage.Get(ksID) if err != nil { - if err == storage.ErrDataNotFound { + if errors.Is(err, storage.ErrDataNotFound) { break }
fix: assertion for ErrDataNotFound when checking if keyset ID is used
null
hyperledger/aries-framework-go
Apache License 2.0
Go
@@ -243,8 +243,10 @@ export function setAudioInputDeviceAndUpdateSettings(deviceId) { * @returns {Function} */ export function setAudioOutputDevice(deviceId) { - return function(dispatch) { - return setAudioOutputDeviceId(deviceId, dispatch); + return function(dispatch, getState) { + const deviceLabel = getDeviceLabelB...
fix(device-selection): Update redux when a new speaker is selected
null
jitsi/jitsi-meet
Apache License 2.0
JavaScript
@@ -50,7 +50,11 @@ using namespace DISPLIB; //============================================================================================================= ProgressView::ProgressView(bool bHorizontalMessage) +: AbstractView() +, m_pUi(new Ui::ProgressViewWidget) { + m_pUi->setupUi(this); + (bHorizontalMessage) ? setHor...
fix: create instance of abstract view and ui
null
mne-tools/mne-cpp
BSD 3-Clause New or Revised License
C++
@@ -41,9 +41,9 @@ class Course::Video::VideosController < Course::Video::Controller def destroy if @video.destroy - redirect_to course_videos_path(current_course), success: t('.success', title: @video.title) + redirect_to course_videos_path(current_course, tab: @video.tab), success: t('.success', title: @video.title) e...
fix(video controller): fix redirection after video deletion
null
coursemology/coursemology2
MIT License
Ruby
@@ -122,9 +122,9 @@ class CSSStyleDeclaration { _transitions = value; } - bool _shouldTransition(String property, String propertyValue) { + bool _shouldTransition(String property, String prevValue, String nextValue) { // When begin propertyValue is AUTO, skip animation and trigger style update directly. - if (propertyV...
fix: transition skip set AUTO property value
null
openkraken/kraken
Apache License 2.0
Dart
@@ -456,7 +456,7 @@ class Element extends Node break; } renderBoxModel.parentData = progressParentData; - renderParent.markNeedsLayout(); + renderBoxModel.markNeedsLayout(); }; definiteTransition?.addProgressListener(progressListener); @@ -485,7 +485,7 @@ class Element extends Node positionParentData.height = CSSLength...
fix: transition update renderObject wrong
null
openkraken/kraken
Apache License 2.0
Dart
@@ -64,19 +64,17 @@ extension Executor { } /// Calling this method will immediately execute a task, blocking the current thread until the task is - /// finished + /// finished. /// - /// This is an inefficient default implementation made to avoid having a breaking change in the code. It + /// Note: this default impleme...
fix: make default executeSync reentrant
null
bendingspoons/katana-swift
MIT License
Swift
@@ -436,7 +436,8 @@ frappe.ui.form.Dashboard = Class.extend({ type: 'heatmap', start: new Date(moment().subtract(1, 'year').toDate()), count_label: "interactions", - discreteDomains: 0, + discreteDomains: 1, + radius: 3, data: {}, });
fix: Make heat map squares rounded
null
frappe/frappe
MIT License
JavaScript
@@ -913,8 +913,9 @@ dns64_adjust_ptr(struct module_qstate* qstate, struct module_qstate* super) sizeof(struct dns_msg)))) return; super->return_msg->qinfo = super->qinfo; - super->return_msg->rep = reply_info_copy(qstate->return_msg->rep, NULL, - super->region); + if (!(super->return_msg->rep = reply_info_copy(qstate->...
fix: dereferencing a null pointer
null
nlnetlabs/unbound
BSD 3-Clause New or Revised License
C
@@ -291,13 +291,42 @@ class CardsDataProvider extends ChangeNotifier { _cardStates!.keys.where((card) => _cardStates![card]!).toList()); } - showAllStaffCards() { - // load in cardOrder and cardStates from the user profile - _cardOrder = _userDataProvider!.userProfileModel!.cardOrder!.cast<String>(); - _cardStates = + ...
fix(cards-order): add code to take care of no cardOrder or cardStates case
null
ucsd/campus-mobile
MIT License
Dart
@@ -269,7 +269,7 @@ impl MainWin { impl MainWin { pub fn handle_msg(main_win: Rc<RefCell<MainWin>>, msg: CoreMsg) { - trace!("handle msg"); + trace!("{}: {:?}", gettext("Handling CoreMsg"), msg); match msg { CoreMsg::NewViewReply { file_name, value } => { MainWin::new_view_response(&main_win, file_name, &value)
fix(main_win): better CoreMsg trace msgs
null
cogitri/tau
MIT License
Rust
@@ -890,6 +890,21 @@ func (mock *MockGitProvider) UpdateRelease(_param0 string, _param1 string, _para return ret0 } +func (mock *MockGitProvider) UpdateReleaseStatus(_param0 string, _param1 string, _param2 string, _param3 *gits.GitRelease) error { + if mock == nil { + panic("mock must not be nil. Use myMock := NewMockG...
fix: added generated mocks
null
jenkins-x/jx
Apache License 2.0
Go
@@ -83,6 +83,8 @@ export const TableCardPropTypes = { columns: PropTypes.arrayOf( PropTypes.shape({ dataSourceId: PropTypes.string.isRequired, + /** optional width, default is no enforced max width. for example 150px */ + width: PropTypes.string, label: PropTypes.string.isRequired, priority: PropTypes.number, renderer:...
fix(tablecard): add width to proptypes
null
carbon-design-system/carbon-addons-iot-react
Apache License 2.0
JavaScript
@@ -24,7 +24,9 @@ export function isObject(item: any): item is object { } export function isClassInstance(item: any): boolean { - return isObject(item) && item.constructor.name !== 'Object'; + // Even if item is an object, it might not have a constructor as in the + // case when it is a null-prototype object, i.e. crea...
fix(common): Handle edge case in serializing null prototype objects
null
vendure-ecommerce/vendure
MIT License
TypeScript
@@ -147,6 +147,9 @@ public abstract class BaseResourceSearchRequest<R> extends SearchIndexResourceRe // or the permitted resources are bundles which give access to all resources within it (recursively) bool.should(ResourceDocument.Expressions.bundleIds(exactResourceIds)); bool.should(ResourceDocument.Expressions.bundle...
fix(auth): allow backward compatibility with older authorization systems
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
/* - * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg + * Copyright 2011-2021 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,7 +74,7 @@ public final class TextPredicate extends...
fix: properly revert back to the previous state in TextPredicate..
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -13,7 +13,10 @@ export function register(context: LanguageServiceRuntimeContext) { context, uri, position, - (position, sourceMap) => sourceMap.toGeneratedPositions(position, data => !!data.references), + (position, sourceMap) => sourceMap.toGeneratedPositions(position, + // note https://github.com/johnsoncodehk/vol...
fix: intrinsic tag highlight should only includes open and close tag
null
johnsoncodehk/volar
MIT License
TypeScript
@@ -975,13 +975,23 @@ public class FrontendUtils { protected static FrontendVersion getVersion(String tool, List<String> versionCommand) throws UnknownVersionException { + String output; try { - String output = executeCommand(versionCommand); - return new FrontendVersion(parseVersionString(output)); - } catch (IOExcept...
fix: output version string when version parsing fails
null
vaadin/flow
Apache License 2.0
Java
@@ -10,7 +10,7 @@ func TestValidateCPUPeriod(t *testing.T) { period int64 wantErr bool }{ - {name: "test1", period: 0, wantErr: true}, + {name: "test1", period: 0, wantErr: false}, {name: "test2", period: 999, wantErr: true}, {name: "test3", period: 1001, wantErr: false}, {name: "test4", period: 1000001, wantErr: true}...
fix: unit test bug
null
alibaba/pouch
Apache License 2.0
Go
@@ -81,6 +81,12 @@ public class MoveNotesToOtherVoiceAction : INeedInjection } targetSentence.AddNote(note); + // Set lyrics if none yet (otherwise, there is a warning because of missing lyrics) + if (note.Text.IsNullOrEmpty()) + { + note.SetText(" "); + } + changedSentences.Add(targetSentence); if (oldSentence != null...
fix: lots of warning because of missing lyrics when moving notes to player
null
ultrastar-deluxe/play
MIT License
C#
@@ -327,7 +327,11 @@ type postBucketRequest struct { func (b postBucketRequest) Validate() error { if !b.Bucket.OrgID.Valid() { - return fmt.Errorf("bucket requires an organization") + return &influxdb.Error{ + Code: influxdb.EInvalid, + Msg: "bucket requires an organization", + } + } return nil } @@ -335,7 +339,10 @@ ...
fix(http): post bucket validation
null
influxdata/influxdb
MIT License
Go
// @flow +/* eslint flowtype-errors/show-errors: warn */ const compact = false; const space = " "; @@ -135,7 +136,7 @@ function printModuleImportDescr(n: ImportDescr, depth: number): string { return out; } -function printModuleImport(n: ModuleImport, depth: number): string { +function printModuleImport(n: ModuleImport ...
fix: disable type checking on this file
null
xtuc/webassemblyjs
MIT License
JavaScript
@@ -8,15 +8,6 @@ start_pattern = re.compile(r"_{1,2}\([f\"'`]{1,3}") f_string_pattern = re.compile(r"_\(f[\"']") starts_with_f_pattern = re.compile(r"_\(f") -# _('this is valid') -# _('{0} {1}') -# _("{0} {1}") -# _(f"invalid") -# _(fieldname) -# _("{0} valid") -# _('asdf asdf') -# _("valid {0}") - # skip first argumen...
fix: Remove test strings and early return
null
frappe/frappe
MIT License
Python
@@ -61,7 +61,7 @@ module.exports = function (extdir, c, callback) { // Context can also be accessed as a singleton within Strider as // common.context. var context = { - serverName: appConfig.strider_server_name, + serverName: appConfig.server_name, config: appConfig, enablePty: config.enablePty, emitter: common.emitte...
fix: context server name was undefined
null
strider-cd/strider
MIT License
JavaScript
-<?php +<!-- /** * Copyright 2020 Google LLC. * // [START cloudrun_helloworld_service] // [START run_helloworld_service] +--> +<?php $name = getenv('NAME', true) ?: 'World'; echo sprintf('Hello %s!', $name);
fix: extracted docs page for Cloud Run
null
googlecloudplatform/php-docs-samples
Apache License 2.0
PHP
@@ -38,31 +38,8 @@ type Authorizer struct { // Authorize returns an influxdb.Authorization if c can be verified; otherwise, an error. // influxdb.ErrCredentialsUnauthorized will be returned if the credentials are invalid. func (v *Authorizer) Authorize(ctx context.Context, c influxdb.CredentialsV1) (auth *influxdb.Auth...
fix: PR feedback to move defer logic to its own function for clarity
null
influxdata/influxdb
MIT License
Go
@@ -18,9 +18,11 @@ class SkillListingModel: ISkillListingModel { lateinit var authResponseCallGroups: Call<ListGroupsResponse> lateinit var authResponseCallSkills: Call<ListSkillsResponse> + var clientBuilder: ClientBuilder = ClientBuilder() + override fun fetchGroups(listener: ISkillListingModel.onFetchGroupsFinishedL...
fix: Skills loading speed increased
null
fossasia/susi_android
Apache License 2.0
Kotlin
@@ -66,24 +66,29 @@ class GasNowScalingStrategy(BlockGasStrategy): for each subsequent transaction is increased by multiplying the previous gas price by `increment`, or increasing to the current `initial_speed` gas price, whichever is higher. No repricing occurs if the new gas price would exceed - the current "rapid" p...
fix: updates to gasnow strategies
null
eth-brownie/brownie
MIT License
Python
@@ -98,6 +98,7 @@ ENUM_END2(replication::hotkey_type::type, hotkey_type) ENUM_BEGIN2(replication::detect_action::type, detect_action, replication::detect_action::START) ENUM_REG(replication::detect_action::START) ENUM_REG(replication::detect_action::STOP) +ENUM_REG(replication::detect_action::QUERY) ENUM_END2(replicati...
fix(hotkey): add replication_enums of `detect_action::QUERY`
null
apache/incubator-pegasus
Apache License 2.0
C
@@ -403,7 +403,7 @@ namespace Discord.WebSocket /// the snowflake identifier; <c>null</c> if the user is not found. /// </returns> public async ValueTask<IUser> GetUserAsync(ulong id, RequestOptions options = null) - => await ClientHelper.GetUserAsync(this, id, options).ConfigureAwait(false); + => await ((IDiscordClien...
fix: Use IDiscordClient.GetUserAsync impl in DiscordSocketClient
null
discord-net/discord.net
MIT License
C#
@@ -44,7 +44,7 @@ def import_dynamodb_items_to_es(table_name, aws_secret, aws_access, aws_region, ddb_table_name = table_name table = dynamodb.Table(ddb_table_name) logger.info('table: %s', table) - ddb_keys_name = [a['AttributeName'] for a in table.attribute_definitions] + ddb_keys_name = [a['AttributeName'] for a in ...
fix(graphql-elasticsearch-transformer): fix script to use keyschema
null
aws-amplify/amplify-cli
Apache License 2.0
Python
@@ -17,6 +17,7 @@ export const assetAttributesRegistryFixture = async () => { const { assetAttributesRegistryAdmin, sandBeneficiary, + sandAdmin, } = await getNamedAccounts(); const users = await getUnnamedAccounts(); const user0 = users[0]; @@ -36,6 +37,11 @@ export const assetAttributesRegistryFixture = async () => {...
fix: deposit via child to sandAdmin for asset attribute test fix
null
thesandboxgame/sandbox-smart-contracts
MIT License
TypeScript
@@ -850,9 +850,11 @@ on_dispatch(struct discord_gateway *gw) cxt->on_event = on_event; if (gw->blocking_event_handler && gw->blocking_event_handler(cxt)) { + free(cxt->data.start); free(cxt); - return; + return; /* EARLY RETURN */ } + if (pthread_create(&cxt->tid, NULL, &dispatch_run, cxt)) ERR("Couldn't create thread"...
fix: missing free
null
cee-studio/orca
MIT License
C
@@ -68,7 +68,7 @@ impl<T: Config> Optimistic<T> { <T as Config>::AccountManager::deposit_immediately( &current_best_bid.executor, total_unreserve, - None, + current_best_bid.reward_asset_id, ) .expect("executors refunds for bids to always be valid post withdrawals") }
fix: use SFXBid::reward_asset_id field at bidding
null
t3rn/t3rn
Apache License 2.0
Rust
// can be found in the LICENSE file in the root directory of this source tree. package com.xiaomi.infra.pegasus.client; -import java.io.BufferedInputStream; -import java.io.ByteArrayInputStream; -import java.io.FileInputStream; -import java.io.InputStream; +import java.io.*; import java.util.Properties; import org.I0It...
fix: release streams resource while loading config
null
apache/incubator-pegasus
Apache License 2.0
Java
@@ -14,7 +14,7 @@ defmodule Extensions.Postgres.SubscriptionManager do @check_oids_interval 60_000 @queue_target 5_000 @pool_size 5 - @timeout 15_000 + @timeout 60_000 def start_link(opts) do GenServer.start_link(__MODULE__, opts)
fix: increase sub manager timeout to 60 seconds
null
supabase/realtime
Apache License 2.0
Elixir
@@ -126,7 +126,6 @@ export const hasManyThrough: HasManyThroughDecorator = ([relatedModel, throughMo export const beforeSave: HooksDecorator = () => { return function decorateAsHook (target, property) { target.boot() - console.log('adding hook') target.before('save', target[property].bind(target)) } }
fix: remove redundant console.log statement
null
adonisjs/lucid
MIT License
TypeScript
@@ -55,6 +55,10 @@ public class RdfLiteralHash { }else{ if( stmt.getDatatypeURI() != null && stmt.getDatatypeURI().trim().length() > 0){ langOrDatatype = stmt.getDatatypeURI(); + //Treat integer data type the same as int + //With Jena 3.16.0 all integer literals are stored as int + //TODO: remove workaround when bug is...
fix: workaround for jena bug. Treat integer and int equally while creating hash
null
vivo-project/vitro
BSD 3-Clause New or Revised License
Java
@@ -28,6 +28,9 @@ package org.hisp.dhis.dxf2.synch; * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +import java.io.IOException; +import java.util.Date; + import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.hisp.dhis.common.IdSchemes; @@ -59,15 +62,7 @@ impo...
fix: (2.34) Use correct URL for completeness sync
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -134,7 +134,7 @@ class CourseUser < ApplicationRecord scope :order_alphabetically, ->(direction = :asc) { order(name: direction) } scope :order_phantom_user, ->(direction = :desc) { order(phantom: direction) } - scope :active_in_past_7_days, -> { where('last_active_at > ?', 7.days.ago) } + scope :active_in_past_7_da...
fix(course user): fix course user scope bug
null
coursemology/coursemology2
MIT License
Ruby
@@ -142,10 +142,10 @@ class Select extends React.Component<SelectProps & InjectedOuiaProps, SelectStat }); } - if (prevProps.selections !== this.props.selections && this.state.typeaheadActiveChild) { - this.setState(prevState => ({ - typeaheadInputValue: prevState.typeaheadActiveChild.innerText - })); + if (prevProps.s...
fix(Select): Modifying selection outside now works
null
patternfly/patternfly-react
MIT License
TypeScript
@@ -1329,9 +1329,10 @@ public: std::string filename, int64_t pageCacheSizeBytes, Version remapCleanupWindow, - bool memoryOnly = false) + bool memoryOnly = false, + Promise<Void> errorPromise = {}) : desiredPageSize(desiredPageSize), filename(filename), pHeader(nullptr), pageCacheBytes(pageCacheSizeBytes), - memoryOnly...
fix: errors from the pager did not get forwarded to getError() from the disk
null
apple/foundationdb
Apache License 2.0
C++
const withCSS = require("@zeit/next-css"); -//const withImages = require("next-images"); +const withImages = require("next-images"); require("dotenv").config(); -module.exports = withCSS({ +module.exports = withImages( + withCSS({ // use routes.js useFileSystemPublicRoutes: false, - poweredByHeader: false + poweredByHe...
fix(build): dont embed static files
null
socialgouv/code-du-travail-numerique
Apache License 2.0
JavaScript
@@ -99,9 +99,9 @@ class TestAddressesAndContacts(unittest.TestCase): create_linked_contact(links_list) create_linked_address(links_list) report_data = get_data({"reference_doctype": "Test Custom Doctype"}) - for link in links_list: + for idx, link in enumerate(links_list): test_item = [link, 'test address line 1', 'tes...
fix: test cases using assertListEqual
null
frappe/frappe
MIT License
Python
@@ -430,7 +430,7 @@ export default class SimpleBar { } positionScrollbar(axis = 'y') { - const contentSize = this.scrollbarWidth ? this.contentEl[this.axis[axis].scrollSizeAttr] : this.contentEl[this.axis[axis].scrollSizeAttr] - this.minScrollbarWidth; + const contentSize = this.contentEl[this.axis[axis].scrollSizeAttr...
fix: scrollbar calculation for floating scrollbars
null
grsmto/simplebar
MIT License
JavaScript
# frozen_string_literal: true class GroupsController < ApplicationController - before_action :set_group, only: %i[show edit update destroy group_invite] + before_action :set_group, only: %i[show edit update destroy group_invite generate_token] before_action :authenticate_user! before_action :check_show_access, only: %i...
fix: Check authorization before generating group invite
null
circuitverse/circuitverse
MIT License
Ruby
#include <catch.hpp> +#include <acl/math/scalar_32.h> #include <acl/math/vector4_packing.h> #include <cstring> @@ -118,8 +119,8 @@ TEST_CASE("pack_vector4_32", "[math][vector4][packing]") uint32_t num_errors = 0; for (uint32_t value = 0; value < 256; ++value) { - const float value_signed = unpack_scalar_signed(value, 8...
fix(tests): clamp to avoid issues on x86 and GCC
null
nfrechette/acl
MIT License
C++
+package org.hisp.dhis.webapi.mvc.interceptor; + +/* + * Copyright (c) 2004-2020, University of Oslo + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * Redistributions of source code must...
fix: Adding user context interceptor to the request flow
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -115,6 +115,7 @@ namespace WalkingTec.Mvvm.Core.Extensions { foreach (var col in baseCol.BottomChildren) { + inner = false; if (col.ColumnType != GridColumnTypeEnum.Normal) { continue;
fix: #fix 425
null
dotnetcore/wtm
MIT License
C#
@@ -109,9 +109,11 @@ class TagAmiHandler( } /** - * This method is called to check if the state of the post-deploy action has changed + * Checks if the orchestration execution associated with the tag ami has completed. * - * Precondition: [oldState] metadata must contain: + * Precondition: the + * + * [oldState] metada...
fix(pr): add comments
null
spinnaker/keel
Apache License 2.0
Kotlin
@@ -403,7 +403,7 @@ export function __splitDate (str, mask, dateLocale, calendar, defaultModel) { } } - date.dateHash = date.year + '/' + pad(date.month) + '/' + pad(date.day) + date.dateHash = pad(date.year, 6) + '/' + pad(date.month) + '/' + pad(date.day) date.timeHash = pad(date.hour) + ':' + pad(date.minute) + ':' ...
fix(utils/date): allow for dateHash comparison with years having different number of digits
null
quasarframework/quasar
MIT License
JavaScript
@@ -27,7 +27,9 @@ pub struct TcpPort { fmt_contents: HashMap<i32, String>, raw_contents: HashMap<i32, String>, width: usize, + #[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))] tcp_entry: Vec<TcpNetEntry>, + #[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))] tcp6...
fix: Fix build failure for macOS
null
dalance/procs
MIT License
Rust
@@ -98,7 +98,7 @@ func (self *GuestDetachScalingGroupTask) OnDetachLoadbalancerComplete(ctx contex } self.Params.Set("guest_name", jsonutils.NewString(guest.GetName())) self.SetStage("OnDeleteGuestComplete", nil) - if err := guest.StartDeleteGuestTask(ctx, self.UserCred, self.Id, true, true, true); err != nil { + if er...
fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -59,7 +59,8 @@ class CSSBackgroundSize { rootFontSize: rootFontSize, fontSize: fontSize ); - return length; + // Negative value is invalid. + return length != null && length >=0 ? length : null; } else if (CSSLength.isPercentage(value) || value == AUTO) { // Percentage value should be parsed on the paint phase cause...
fix: negative value of background-size is invalid
null
openkraken/kraken
Apache License 2.0
Dart
@@ -585,7 +585,7 @@ public class DefaultK8sNode implements K8sNode { @Override public String intgBridgeName() { if (mode == PASSTHROUGH) { - return INTEGRATION_BRIDGE + "-" + uniqueString(5); + return INTEGRATION_BRIDGE + "-" + uniqueString(4); } else { return INTEGRATION_BRIDGE; } @@ -612,7 +612,7 @@ public class Defa...
fix: shorten the hostname unique string length from five to four
null
opennetworkinglab/onos
Apache License 2.0
Java
@@ -66,7 +66,6 @@ public class SuggestRestService extends AbstractRestService { .setLimit(params.getLimit()) .setLocales(Strings.isNullOrEmpty(params.getAcceptLanguage()) ? acceptLanguage : params.getAcceptLanguage()) .setPreferredDisplay(params.getPreferredDisplay()) - .setMinOccurrenceCount(params.getMinOccurrenceCou...
fix: set minOccurrenceCount only once
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -75,7 +75,7 @@ class MooseFS(PosixFS): if target.startswith('/'): cur_dir = target else: - cur_dir = os.path.join(os.path.dirname(root), target) + cur_dir = os.path.join(os.path.dirname(cur_dir), target) proxy = self._find_proxy(cur_dir) if os.path.exists(cur_dir): return cur_dir, proxy
fix: fix the bug in walk dir
null
douban/dpark
BSD 3-Clause New or Revised License
Python
@@ -22,18 +22,34 @@ function encode (obj) { } function formatPublicPath (path) { - if (!path || path.startsWith('http')) { + if (!path) { return path } - if (!path.startsWith('/')) { - path = `/${path}` - } + if (!path.endsWith('/')) { path = `${path}/` } + + if (path.startsWith('http://') || path.startsWith('https://'...
fix(app): publicPath set with http will not work
null
quasarframework/quasar
MIT License
JavaScript
@@ -50,7 +50,9 @@ export const Table = <R,>(props: Props<R>) => ( </thead> <tbody> {props.rows.map((row) => ( - <tr key={props.rowKey(row)} children={renderTd(row)} /> + <tr key={props.rowKey(row)}> + {props.columns.map(renderTd(row))} + </tr> ))} </tbody> </table>
fix(core): Fix table cannot render due to "function is not children"
null
thien-do/moai
MIT License
TypeScript
@@ -78,7 +78,7 @@ char* realpath_ex(const char *path, char *buff) if(*path=='~' && (home = getenv("HOME"))) { char s[PATH_MAX]; - return realpath(strcat(strcpy(s, home), path+1), buff); + return realpath(strcat(strncpy(s, home, sizeof(s)), path+1), buff); } else {
fix(userspace/libsinsp): bound string copy size
null
draios/sysdig
Apache License 2.0
C++
@@ -17,7 +17,7 @@ class MediaControlViewTests: QuickSpec { let mediaControlView: MediaControlView = .fromNib() let view = UIView() - mediaControlView.addSubview(view, panel: .top, position: .left) + mediaControlView.addSubview(view, in: .top, at: .left) expect(mediaControlView.topLeft.subviews).to(contain(view)) } @@ -...
fix: media control view tests
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -87,8 +87,9 @@ public class FlutterFirebaseMessagingPlugin extends BroadcastReceiver @Override public void onDetachedFromEngine(@NonNull FlutterPluginBinding binding) { - LocalBroadcastManager.getInstance(ContextHolder.getApplicationContext()) - .unregisterReceiver(this); + if (binding.getApplicationContext() != nul...
fix(firebase_messaging): Fix crash on Android in onDetachedFromEngine
null
firebaseextended/flutterfire
BSD 3-Clause New or Revised License
Java
@@ -1453,7 +1453,7 @@ bool SuperMediaPlayer::DoCheckBufferPass() if ((mBufferingFlag || mFirstBufferFlag) && !mSet->bDisableBufferManager) { if ((cur_buffer_duration > HighBufferDur && (!HAVE_VIDEO || videoDecoderFull || APP_BACKGROUND == mAppStatus)) || mEof) { // if still in seek, wait for seek status be changed. - i...
fix(supermediaplayer): stop loading when eof
null
alibaba/cicadaplayer
MIT License
C++
@@ -11,7 +11,7 @@ export function merge(existing: Partial<FunctionParameters>, other: Partial<Func return oldVal; } if (_.isArray(oldVal)) { - return _.uniqBy(oldVal.concat(newVal), _.isEqual); + return _.uniqWith(oldVal.concat(newVal), _.isEqual); } }; return _.mergeWith(existing, other, mergeFunc);
fix: use _.uniqWith instead of _.uniqBy to remove duplicates
null
aws-amplify/amplify-cli
Apache License 2.0
TypeScript
@@ -49,10 +49,8 @@ public class TaskCopyFrontendFiles implements FallibleCommand { /** * Scans the jar files given defined by {@code resourcesToScan}. * - * @param targetDirectory - * target directory for the discovered files - * @param resourcesToScan - * folders and jar files to scan. + * @param options + * build opt...
fix: file separator used should be the same
null
vaadin/flow
Apache License 2.0
Java
@@ -2424,18 +2424,15 @@ macro_rules! hlist { hlist!($first) }; // Forwarding of trailing comma variants --> - } -macro_rules! hlist_pat { - {} => { _ }; - { $head:pat, $($tail:tt), +} => { HCons{ head: $head, tail: hlist_pat!($($tail),*) } }; - { $head:pat } => { HCons { head: $head, tail: _ } }; - - // <-- Forward tra...
fix: Don't forward tuple parsers to frunk to prevent a performance loss
null
marwes/combine
MIT License
Rust
@@ -123,7 +123,7 @@ class Plugins // Get default plugin settings content $defaultPluginSettingsFileContent = filesystem()->file($defaultPluginSettingsFile)->get(); - $defaultPluginSettings = flextype('serializers')->yaml()->decode($defaultPluginSettingsFileContent); + $defaultPluginSettings = empty($defaultPluginSettin...
fix(plugins): fix issue with empty manifest and settings yaml files in plugins
null
flextype/flextype
MIT License
PHP
@@ -167,7 +167,7 @@ QList<HtmlNode> HtmlNode::find(const QString &css) const // Parse CSS selectors auto *list = lxb_css_selectors_parse(parser, reinterpret_cast<const lxb_char_t *>(css.toStdString().c_str()), css.length()); if (parser->status != LXB_STATUS_OK) { - log(QStringLiteral("Error parsing CSS selectors: %1.")...
fix: wrong error code logged when failing to parse CSS selectors
null
bionus/imgbrd-grabber
Apache License 2.0
C++