diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -19,6 +19,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; +import java.util.Map; import java.util.Set; import java.util.TreeSet; import org.gradle.api.Project; @@ -90,9 +91,9 @@ public class GradleProjectModelBuilder implements ToolingModelBuilder { Lis...
fix: Duplicates Tasks for multiple level projects
null
microsoft/vscode-gradle
MIT License
Java
@@ -120,15 +120,42 @@ fn serialize_ingester_query_request( ) -> Result<proto::IngesterQueryRequest, Error> { match request.clone().try_into() { Ok(proto) => Ok(proto), - Err(e) if (e.field == "exprs") && (e.description.contains("recursion limit reached")) => { + Err(e) => { + match SerializeFailureReason::extract_from_...
fix: avoid user error for unsupported querier<>ingester preds
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -20,6 +20,9 @@ import ( "encoding/json" "errors" "fmt" + "net/http" + "strings" + "github.com/emicklei/go-restful" "k8s.io/apiserver/pkg/authentication/user" log "k8s.io/klog" @@ -33,8 +36,6 @@ import ( "kubesphere.io/kubesphere/pkg/server/params" clientDevOps "kubesphere.io/kubesphere/pkg/simple/client/devops" "kub...
fix: pipeline sync annotations
null
kubesphere/kubesphere
Apache License 2.0
Go
package au.com.dius.pact.provider import au.com.dius.pact.core.model.BrokerUrlSource +import au.com.dius.pact.core.model.FileSource +import au.com.dius.pact.core.model.Interaction import au.com.dius.pact.core.model.PactSource import au.com.dius.pact.core.model.ProviderState import au.com.dius.pact.core.model.Request +i...
fix: backported fix from v4.2.x
null
pact-foundation/pact-jvm
Apache License 2.0
Kotlin
@@ -145,7 +145,7 @@ def query(num_doc, target: dict): with f: f.search(query_generator(num_doc, target), shuffle=False, size=128, - output_fn=print_result, request_size=32, top_k=TOP_K) + on_done=print_result, request_size=32, top_k=TOP_K) def test_query():
fix: fix output_fn to on_done
null
jina-ai/examples
Apache License 2.0
Python
@@ -334,11 +334,11 @@ mod one2many_req { // Linking field updated but no child connected: works insta::assert_snapshot!( - run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { uniq: "u2" }) { count }}"#), + run_query!(&runner, r#"mutation { updateManyParent(where: { id: 2 }, data: { uniq: "u22" ...
fix: tests after occ and ref integrity changes
null
prisma/prisma-engines
Apache License 2.0
Rust
@@ -9,7 +9,6 @@ import { TableInstance, Row, Updater, - AnyGenerics, PartialGenerics, Renderable, UseRenderer, @@ -228,7 +227,7 @@ export const Grouping = { return isFunction(column.aggregationType) ? column.aggregationType : column.aggregationType === 'auto' - ? instance.getColumnAutoFilterFn(columnId) + ? instance.ge...
fix: getColumnAutoAggregationFn
null
tannerlinsley/react-table
MIT License
TypeScript
@@ -188,7 +188,7 @@ export default class FormItem extends Intact { // so we put off validating it setTimeout(() => { this.validate() - }, 50); + }, 100); // if (this.$nextTick) { // this.$nextTick(this.validate); // } else {
fix(FormItem): delay 100ms to validate,
null
ksc-fe/kpc
MIT License
JavaScript
#!/bin/bash ######################################################################### # Build your SD card image based on: -# raspios_arm64-2020-08-24 -# https://downloads.raspberrypi.org/raspios_arm64/images/raspios_arm64-2021-04-09/ -# SHA256: a30a3650c3ef22a69f6f025760c6b04611a5992961a8c2cd44468f1c429d68bb +# 2021-1...
fix(deps): Bumps base image to bullseye
null
rootzoll/raspiblitz
MIT License
Shell
@@ -143,9 +143,12 @@ class ConnectionManager: """ mediation_mgr = MediationManager(self._session) + # Mediation Record can still be None after this operation if no + # mediation id passed and no default + mediation_record = await self.mediation_record_if_id( + mediation_id or await mediation_mgr.get_default_mediator() ...
fix: unawaited responder send in mediation req auto send
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
@@ -132,6 +132,10 @@ public class Banner extends AdBase implements GenericAd { } if (wvParentView != null && wvParentView != parentView) { + if (getParentView(parentView) != null) { + parentView.removeAllViews(); + removeFromParentView(parentView); + } wvParentView.removeView(webView); LinearLayout content = (LinearLay...
fix(cordova): prevent addBannerView error on Android
null
admob-plus/admob-plus
MIT License
Java
@@ -1301,6 +1301,9 @@ private StanzaError onSessionAcceptInternal( return StanzaError.from(StanzaError.Condition.bad_request, e.getMessage()).build(); } + + if (!sourcesAccepted.isEmpty()) + { logger.info("Accepted initial sources from " + participantId + ": " + sourcesAccepted); getColibriSessionManager().updatePartic...
fix: Do not process empty accepted sources
null
jitsi/jicofo
Apache License 2.0
Java
@@ -33,7 +33,7 @@ extension URL { // MARK: Help static var helpToKnowName: URL { - .init(string: "https://docs.flipperzero.one/basics/settings#eJsLP")! + .init(string: "https://docs.flipperzero.one/basics/settings#rRnAy")! } static var helpToTurnOnBluetooth: URL {
fix(Urls): Fixed helpToKnowName Url
null
flipperdevices/flipper-ios-app
MIT License
Swift
@@ -269,7 +269,7 @@ func (b *ElastigroupModelBuilder) Build(c *fi.ModelBuilderContext) error { if ig.Spec.MaxSize != nil { maxSize = *ig.Spec.MaxSize } else if ig.Spec.Role == kops.InstanceGroupRoleNode { - maxSize = 10 + maxSize = 2 } group.MinSize = fi.Int64(int64(minSize))
fix: max size defaults to 2
null
kubernetes/kops
Apache License 2.0
Go
@@ -130,7 +130,7 @@ module.exports = function assignVals(o) { docs[i].populated(_path, o.justOne ? originalIds[0] : originalIds, o.allOptions); // If virtual populate and doc is already init-ed, need to walk through // the actual doc to set rather than setting `_doc` directly - mpath.set(_path, valueToSet, docs[i], set...
fix: better way to fix up populate virtuals with $ without modifying mpath re:
null
automattic/mongoose
MIT License
JavaScript
@@ -1327,18 +1327,14 @@ impl<T: Config> Module<T> { }) .collect::<Vec<(_, _)>>(); - if vaults_with_issuable_tokens.is_empty() { - Err(Error::<T>::NoVaultWithIssuableTokens.into()) - } else { vaults_with_issuable_tokens.sort_by(|a, b| b.1.cmp(&a.1)); Ok(vaults_with_issuable_tokens) } - } /// Get all vaults with non-zero...
fix(list-redeemable-vaults): fix build errors and replace error with returning empty vector
null
interlay/interbtc
Apache License 2.0
Rust
@@ -101,9 +101,11 @@ def train_batches(config_path: str): if train_config['metric_optimization'] == 'maximize': def improved(score, best): return score > best + best = float('-inf') elif train_config['metric_optimization'] == 'minimize': def improved(score, best): return score < best + best = float('inf') else: raise C...
fix: correct starting best values for metric optimization
null
deeppavlov/deeppavlov
Apache License 2.0
Python
@@ -79,7 +79,7 @@ public class LastNTest MeetUIUtils.waitForRemoteVideo(driver1, participant3EndpointId, true); // At this point, mute video of p3 and others should be receiving p4's video. - participant3.getToolbar().clickVideoMuteButton(); + MeetUIUtils.muteVideoAndCheck(participant3, participant1); MeetUIUtils.waitF...
fix: use MeetUIUtils.muteVideoAndCheck instead of clickVideoMuteButton
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java
@@ -171,8 +171,8 @@ class Trainer(AbstractTrainer): total_loss = losses.item() if total_loss is None else total_loss + losses.item() self._check_nan(loss) - torch.nn.utils.clip_grad_norm_(self.model.parameters(), self.grad_clip) loss.backward() + torch.nn.utils.clip_grad_norm_(self.model.parameters(), self.grad_clip) s...
fix: bugs in grad clip
null
rucaibox/textbox
MIT License
Python
@@ -46,7 +46,6 @@ public final class CodeArea extends AbstractCodeArea { CodeLinkGenerator codeLinkGenerator = new CodeLinkGenerator(this); setLinkGenerator(codeLinkGenerator); addMouseListener(new MouseAdapter() { - @SuppressWarnings("deprecation") @Override public void mouseClicked(MouseEvent e) { if (e.getClickCount...
fix(gui): update korean translation (PR
null
skylot/jadx
Apache License 2.0
Java
export default { - state: { - auth: {} - }, + state: {}, reducers: { setAuth (state, payload) {
fix: auth template types
null
alibaba/ice
MIT License
TypeScript
@@ -308,7 +308,7 @@ ACTOR Future<Void> logRouterPeekMessages( LogRouterData* self, TLogPeekRequest r TLogPeekReply reply; reply.maxKnownVersion = self->version.get(); reply.messages = messages.toStringRef(); - reply.popped = self->minPopped.get(); + reply.popped = self->minPopped.get() >= self->startVersion ? self->min...
fix: we do not know that the minimum popped version on the log router is a known committed version until it has advanced
null
apple/foundationdb
Apache License 2.0
C++
@@ -98,7 +98,11 @@ export const TabsState = observer(function TabsState<T = Record<string, any>>({ const tabExists = displayed.some(tabInfo => tabInfo.key === dynamic.selectedId); if (displayed.length && !tabExists) { + if (displayed.some(tabInfo => tabInfo.key === selectedId)) { state.selectedId = selectedId; + } else...
fix(core-ui): default tab selection
null
dbeaver/cloudbeaver
Apache License 2.0
TypeScript
@@ -17,6 +17,7 @@ package gc import ( "fmt" "os" + "strconv" "time" "github.com/garyburd/redigo/redis" @@ -29,7 +30,6 @@ import ( "github.com/goharbor/harbor/src/jobservice/logger" "github.com/goharbor/harbor/src/pkg/types" "github.com/goharbor/harbor/src/registryctl/client" - "strconv" ) const ( @@ -38,6 +38,7 @@ cons...
fix(gc,quota): clean blob size cache in redis when gc
null
goharbor/harbor
Apache License 2.0
Go
@@ -332,7 +332,7 @@ namespace modules { } /** - * Subthread runner that emit update events to refresh <animation-charging> + * Subthread runner that emits update events to refresh <animation-charging> * or <animation-discharging> in case they are used. Note, that it is ok to * use a single thread, because the two anima...
fix(battery): check current state to decide which framerate to use
null
polybar/polybar
MIT License
C++
@@ -22,7 +22,7 @@ export const normalizeS2: VecOpSVO<number> = ( sa = 1 ) => { !out && (out = v); - const m = magS2(v); + const m = magS2(v, ia, sa); return m >= EPS ? mulNS2(out, v, n / m, io, ia, so, sa) : out !== v @@ -48,7 +48,7 @@ export const normalizeS3: VecOpSVO<number> = ( sa = 1 ) => { !out && (out = v); - co...
fix(vectors): fix normalizeS2/3/4
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -29,7 +29,7 @@ TEST_ALL_FAILED_COUNT=$((TEST_ERRORS_COUNT + TEST_FAILURES_COUNT)) SUMMARY="**TEST_PROFILE**: ${TEST_PROFILE}\n**TEST_CASE:** ${TEST_CASE}\n**TOTAL:** ${TEST_COUNT}\n**PASS:** $((TEST_COUNT - TEST_ALL_FAILED_COUNT - TEST_SKIPPED_COUNT))\n**FAIL:** ${TEST_ALL_FAILED_COUNT}\n**SKIP:** ${TEST_SKIPPED_COU...
fix: fix for skipped tests
null
strimzi/strimzi-kafka-operator
Apache License 2.0
Shell
@@ -35,12 +35,17 @@ const Home: NextPage = () => { const params = new URLSearchParams(queryParams) if (router.query?.next?.includes('https://vercel.com')) { router.push(`/vercel/integrate?${params.toString()}`) - } - if (router.query?.next?.includes('new-project')) { + } else if (router.query?.next?.includes('new-proje...
fix: support redirect to generic links after login
null
supabase/supabase
Apache License 2.0
TypeScript
@@ -725,8 +725,9 @@ impl Rooms { .users .iter() .filter_map(|r| r.ok()) - .filter(|user_id| self.is_joined(&user_id, &pdu.room_id).unwrap_or(false)) + .filter(|user_id| user_id.server_name() == db.globals.server_name()) .filter(|user_id| !db.users.is_deactivated(user_id).unwrap_or(false)) + .filter(|user_id| self.is_jo...
fix: don't apply push rules for users of other homeservers
null
timokoesters/conduit
Apache License 2.0
Rust
@@ -58,10 +58,19 @@ function findModulesInDir(dir, keyword) { function installModule(name, version, onData, onErr, onClose) { debug("installing: " + name + " " + version); - const npm = spawn("npm", ["install", name]); + var npm; + if (process.platform=='win32') + npm = spawn('cmd', ['/c', "npm install " + name]); + el...
fix: app store not working on windows
null
signalk/signalk-server
Apache License 2.0
JavaScript
@@ -77,8 +77,10 @@ class AwsDeployFunction { if (roleResource.Type !== 'AWS::IAM::Role') { throw new Error('Provided resource is not IAM Role.'); } - const roleProperties = roleResource.Properties; + if (!roleProperties.RoleName) { + throw new this.serverless.classes.Error('Role resource missing RoleName property'); + ...
fix(AWS IAM): Report missing `RoleName` on custom role
null
serverless/serverless
MIT License
JavaScript
@@ -161,6 +161,7 @@ public static PacketMap getPacketsFci(ByteArrayBuffer fciBuffer) int packetsInChunk = Math.min(getPacketCount(buf, pscOff), packetsRemaining); + // TODO: do not loop for RLE NR chunks. // Read deltas for all packets in the chunk. for (int i = 0; i < packetsInChunk; i++) { @@ -539,6 +540,7 @@ public ...
fix: Uses small delta for a delta of 63ms
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -415,6 +415,8 @@ public class OpportunityDatasetController implements HttpController { private void verifyBaseNamesSame (List<FileItem> fileItems) { String firstBaseName = null; for (FileItem fileItem : fileItems) { + // Ignore .shp.xml files + if (FilenameUtils.getExtension(fileItem.getName()).equals(".xml")) conti...
fix(grid): ignore .shp.xml files
null
conveyal/r5
MIT License
Java
@@ -9,7 +9,7 @@ const { module.exports = function (api, options) { api.afterBuild(async ({ queue, config }) => { - const { outDir: base, pathPrefix } = config + const { outDir: base, pathPrefix, publicPath } = config const pages = queue.filter(page => { return micromatch(page.path, options.paths).length @@ -27,10 +27,1...
fix(critical): use publicPath as path prefix
null
gridsome/gridsome
MIT License
JavaScript
@@ -63,7 +63,7 @@ function _env_relay_host function _relayhost_sasl { if [[ ! -f /tmp/docker-mailserver/postfix-sasl-password.cf ]] \ - && [[ -z ${RELAY_USER} ]] || [[ -z ${RELAY_PASSWORD} ]] + && [[ -z ${RELAY_USER} || -z ${RELAY_PASSWORD} ]] then _log 'warn' "Missing relay-host mapped credentials provided via ENV, or...
fix: Ensure relay host properly handles credentials check
null
docker-mailserver/docker-mailserver
MIT License
Shell
@@ -18,9 +18,6 @@ limitations under the License. */ #pragma once -#ifdef MUSL_OPTIMIZED -#include <bits/alltypes.h> -#endif #ifdef __cplusplus extern "C" { @@ -61,6 +58,9 @@ struct iovec; // // Core types // +#ifndef __APPLE__ +#include <time.h> +#endif #include "uthash.h" #include "../common/sysdig_types.h" #include "...
fix(userspace/libscap): do not include , directly include time.h
null
draios/sysdig
Apache License 2.0
C
@@ -33,18 +33,18 @@ import org.junit.rules.RuleChain; public class LicenseKeyAuthTest { protected ProvidedProcessEngineRule engineRule = new ProvidedProcessEngineRule(); - public ProcessEngineTestRule testRule = new ProcessEngineTestRule(engineRule); - public final ExpectedException exceptionRule = ExpectedException.no...
fix(test): cleanup admin users in license key auth test
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
@@ -80,7 +80,7 @@ class TaskParams: class Task(abc.ABC): """Task; the main execution unit in atomic-reactor.""" - plugins: PluginsDef = NotImplemented + plugins_def: PluginsDef = NotImplemented def __init__(self, params: TaskParams): """Initialize a Task."""
fix: rename Task.plugins -> plugins_def
null
containerbuildsystem/atomic-reactor
BSD 3-Clause New or Revised License
Python
@@ -375,6 +375,11 @@ public abstract class AbstractTrackedEntityInstanceService daoEntityInstance.setUid( CodeGenerator.isValidUid( dtoEntityInstance.getTrackedEntityInstance() ) ? dtoEntityInstance.getTrackedEntityInstance() : CodeGenerator.generateUid() ); + String storedBy = !StringUtils.isEmpty( dtoEntityInstance.g...
fix: Add storedBy for AbstractTrackedEntityInstanceService.addTrackedEntityInstance()
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -167,8 +167,8 @@ class SimulationParams(schema.SimulationData): def __init__(self, region): return super(SimulationParams, self).__init__( \ simulation_time_range = DateRange( \ - datetime.strptime(FIT_CASE_DATA[region]['tMin'] if region in FIT_CASE_DATA else "2020-03-01", '%Y-%m-%d'), - datetime.strptime("2020-09-0...
fix: changed python datetime -> python date on export
null
neherlab/covid19_scenarios
MIT License
Python
@@ -97,15 +97,44 @@ public class BostonInRoutingFareCalculator extends InRoutingFareCalculator { } @Override - public boolean canTransferPrivilegeDominate(TransferAllowance other) { - return super.canTransferPrivilegeDominate(other) && ( - // neither or both TransferPrivileges are coming from Express bus - (INNER_EXPRE...
fix(boston): correctly handle that subway and local bus transfer allowances are not the same
null
conveyal/r5
MIT License
Java
@@ -455,16 +455,15 @@ class CSSSizing { bool isStretch = false; CSSStyleDeclaration style = current.style; CSSStyleDeclaration childStyle = child.style; - RenderBoxModel childRenderBoxModel = child.getRenderBoxModel(); - - bool isFlex = childRenderBoxModel is RenderFlexLayout; + RenderBoxModel renderBoxModel = current....
fix: child renderBoxModel
null
openkraken/kraken
Apache License 2.0
Dart
@@ -29,7 +29,7 @@ class DatabaseQuery(object): self.reference_doctype = None def execute(self, fields=None, filters=None, or_filters=None, - docstatus=None, group_by=None, order_by="default_ordering", limit_start=False, + docstatus=None, group_by=None, order_by="KEEP_DEFAULT_ORDERING", limit_start=False, limit_page_len...
fix: fixed default ordering in execute
null
frappe/frappe
MIT License
Python
@@ -61,17 +61,17 @@ func Verify(cs *frontend.ConstraintSystem, sig Signature, msg frontend.Variable, //hramConstant := hash.Sum(data...) hramConstant := hash.Sum() - // lhs = cofactor*SB + // lhs = [S]G cofactor := pubKey.Curve.Cofactor.Uint64() lhs := twistededwards.Point{} - - // rhs = [S]G lhs.ScalarMulFixedBase(cs,...
fix(eddsa): addition of isOnCurve check
null
consensys/gnark
Apache License 2.0
Go
import json import logging from collections import defaultdict -from typing import Any, Dict, Iterable, List, Optional, Tuple, Union +from typing import Any, Dict, Iterable, List, Optional, Set, Tuple, Union import pydantic @@ -185,7 +185,7 @@ class SnowflakeSource(SQLAlchemySource): def __init__(self, config, ctx): su...
fix(ingest): snowflake - handle external S3 bucket lineage for "External Tables"
null
linkedin/datahub
Apache License 2.0
Python
@@ -95,7 +95,6 @@ async function renderContent<T extends MetadataBearing>( content: wrapTable(tab, content) } } else if (isFunctionContent(content)) { - console.error('!!!!R', content, await content.content(tab, bearer)) const actualContent: ScalarResource | ScalarContent = await content.content(tab, bearer) if (!isSca...
fix(packages/core): remove debugging from mmr/show
null
ibm/kui
Apache License 2.0
TypeScript
@@ -143,7 +143,7 @@ class WebTorrent extends EventEmitter { 'user-agent': `WebTorrent/${VERSION} (https://webtorrent.io)` } }, (err, ipSet) => { - if (err) return this.error(`Failed to load blocklist: ${err.message}`) + if (err) return console.error(`Failed to load blocklist: ${err.message}`) this.blocked = ipSet ready...
fix: log error when failing to load blocklist ip set
null
webtorrent/webtorrent
MIT License
JavaScript
@@ -17,6 +17,7 @@ export * from './components/Filter'; export * from './components/Form'; export * from './components/Grid'; export * from './components/HintBlock'; +export * from './components/HorizontalNav'; export * from './components/Icon'; export * from './components/InfoTip'; export * from './components/InlineEdi...
fix(HorizontalNav): Horizontal nav is not exported for build
null
patternfly/patternfly-react
MIT License
JavaScript
@@ -39,7 +39,6 @@ class Scroll extends PureComponent { this.handleTouchStart = this.handleTouchStart.bind(this) this.handleTouchMove = this.handleTouchMove.bind(this) this.setStartPoint = this.setStartPoint.bind(this) - this.handleInnerScroll = this.handleInnerScroll.bind(this) } componentDidMount() { @@ -216,18 +215,6...
fix(table): Input in fixed-Table scroll error
null
sheinsight/shineout
MIT License
JavaScript
@@ -93,7 +93,7 @@ PROP_SETTER(Window, colorScheme)(QjsContext *ctx, JSValue this_val, int argc, JS PROP_GETTER(Window, __location__)(QjsContext *ctx, JSValue this_val, int argc, JSValue *argv) { auto *window = static_cast<WindowInstance *>(JS_GetOpaque(this_val, 1)); if (window == nullptr) return JS_UNDEFINED; - return...
fix: fix location leaks
null
openkraken/kraken
Apache License 2.0
C++
@@ -20,7 +20,7 @@ const INDEX_HTML_PATH = const ICON_PATH = process.platform === 'win32' ? path.join(staticPath, 'assets', 'icons', 'win', 'icon.ico') - : path.join(staticPath, 'assets', 'icons', 'icon.png'); + : path.join(staticPath, 'assets', 'icons', 'iconTemplate.png'); const ICON_DOCK_PATH = process.platform === '...
fix: Rename to use template icon file with _Template postfix on macOS
null
openethereum/fether
BSD 3-Clause New or Revised License
JavaScript
@@ -2,7 +2,7 @@ import 'src/assets/css/slick.min.css' import type { IUserPP } from 'src/models/user_pp.models' import type { IUploadedFileMeta } from 'src/stores/storage' -import { Box, Image, Text, Flex, Heading } from 'theme-ui' +import { Box, Image, Text, Flex, Heading, Card } from 'theme-ui' import DefaultMemberIma...
fix: mobile layout of member profile
null
onearmy/community-platform
MIT License
TypeScript
@@ -1460,12 +1460,17 @@ fn binary_expr_comparison() { ], src: &src, } - test_infer_err! { + // TODO(algow): re-introduce equality constraints for binary comparison operators + // https://github.com/influxdata/flux/issues/2466 + test_infer! { env: map![ "a" => "forall [] float", "b" => "forall [] int", ], src: &src, + e...
fix(libflux): type inference tests for binary comparison operators
null
influxdata/flux
MIT License
Rust
@@ -338,6 +338,7 @@ impl MatchingRule { trace!("rule_type: {}, attributes: {}", rule_type, attributes); let attributes = match attributes { Value::Object(values) => values, + Value::Null => Map::default(), _ => { error!("Matching rule attributes {} are not valid", attributes); return Err(anyhow!("Matching rule attribut...
fix: Some matching rules do not have associated configuration
null
pact-foundation/pact-reference
MIT License
Rust
@@ -72,7 +72,7 @@ impl ValueSource { let _ = reader.must_ignore_byte(b',')?; } - self.parse_single_row(reader, col_size, &mut desers, &session_type) + self.parse_next_row(reader, col_size, &mut desers, &session_type) .await?; rows += 1; } @@ -90,7 +90,7 @@ impl ValueSource { } /// Parse single row value, like ('111', 2...
fix: make code clear
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -367,11 +367,7 @@ public static void SetEntityParent(ParcelScene scene, string childEntityId, stri Assert.IsNotNull(result, "class-id mismatch!"); - scene.SharedComponentUpdate(uniqueId, JsonUtility.ToJson(new DCL.Models.SharedComponentUpdateMessage - { - id = uniqueId, - json = JsonUtility.ToJson(model) - })); + sc...
fix: GLTFImporter Tests
null
decentraland/explorer
Apache License 2.0
C#
@@ -22,7 +22,7 @@ namespace NBitcoin.Protocol MSG_WITNESS_TX = MSG_TX | MSG_WITNESS_FLAG, MSG_FILTERED_WITNESS_BLOCK = MSG_FILTERED_BLOCK | MSG_WITNESS_FLAG } - public class InventoryVector : Payload, IBitcoinSerializable + public class InventoryVector : IBitcoinSerializable { uint type; uint256 hash = uint256.Zero; @@...
fix: InventoryVector do not inherit from Payload
null
metacosa/nbitcoin
MIT License
C#
@@ -336,7 +336,7 @@ defmodule Timex.Parse.DateTime.Parser do reset |> Timex.shift(weeks: value) :weekday -> - current_dow = Timex.Date.day_of_week(date.year, date.month, date.day, :monday) + current_dow = Timex.Date.day_of_week(date, :monday) if current_dow == value do date
fix: incorrect use of backported api
null
bitwalker/timex
MIT License
Elixir
@@ -15,6 +15,8 @@ import ( migrate "github.com/crusttech/crust/crm/db" "github.com/crusttech/crust/crm/rest" + crmService "github.com/crusttech/crust/crm/service" + systemService "github.com/crusttech/crust/system/service" "github.com/crusttech/crust/internal/auth" "github.com/crusttech/crust/internal/metrics" @@ -56,6...
fix(crm): defaultservice Init panic fix
null
cortezaproject/corteza-server
Apache License 2.0
Go
@@ -66,7 +66,7 @@ impl<DB: Database> SharedPool<DB> { #[inline] pub(super) fn try_acquire(&self) -> Option<Floating<'_, Live<DB>>> { // don't cut in line - if !self.waiters.is_empty() { + if self.options.fair && !self.waiters.is_empty() { return None; } Some(self.pop_idle()?.into_live())
fix: make `Pool::try_acquire()` fair only when `fair=true` in the options
null
launchbadge/sqlx
Apache License 2.0
Rust
@@ -171,6 +171,10 @@ def test_conv_bias(): run(10, 36, 8, 46, 26, 2, 2, 2, 1, 1, 2, True, "relu") +@pytest.mark.skipif( + get_device_count("gpu") > 0, + reason="does not support int8 when gpu compute capability less than 6.1", +) def test_conv_transpose2d(): rng = np.random.RandomState(seed=2021)
fix(imperative/python/test): add device judgment for the test case of conv-transpose2d-quantized
null
megengine/megengine
Apache License 2.0
Python
@@ -35,8 +35,15 @@ export default Vue.extend({ // focus button if it came from ENTER on form // prevent the new submit (already done) if (this.type === 'submit') { + const el = document.activeElement + if ( - (document.activeElement !== document.body && this.$el.contains(document.activeElement) === false) || + ( + el !...
fix(QBtn): Submit button not working correctly in Safari inside of a dialog
null
quasarframework/quasar
MIT License
JavaScript
@@ -1115,19 +1115,34 @@ pub enum InitError { /// [NoActiveDatabase] /// ^ /// | -/// (start)------------>[Known]<------------>[DatabaseObjectStoreLookupError] +/// | +/// (start)------------>[Known]------------->[DatabaseObjectStoreLookupError] +/// | | +/// +---------------------------o +/// | /// | /// V -/// [Databa...
fix: database state diagram
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -117,7 +117,7 @@ where impl Parsable for Vec<bool> { fn parse(raw_bytes: &[u8], position: usize) -> Result<(Vec<bool>, usize), Error> { - let byte = raw_bytes[position]; + let byte = raw_bytes.get(position).ok_or(Error::EOS)?; let mut flag_bits = Vec::new(); for i in 0..8 { let mask = 1 << i; @@ -365,11 +365,11 @@ f...
fix(bitcoin): fix various panics
null
interlay/interbtc
Apache License 2.0
Rust
@@ -337,7 +337,7 @@ impl MatchingRule { pub fn create(rule_type: &str, attributes: &Value) -> anyhow::Result<MatchingRule> { trace!("rule_type: {}, attributes: {}", rule_type, attributes); let attributes = match attributes { - Value::Object(values) => values, + Value::Object(values) => values.clone(), Value::Null => Ma...
fix: `match` arms have incompatible types
null
pact-foundation/pact-reference
MIT License
Rust
@@ -63,7 +63,7 @@ namespace i3_util { bool restack_above_root(connection& conn, const monitor_t& mon, const xcb_window_t win) { for (auto&& root : root_windows(conn, mon->name)) { const uint32_t value_mask = XCB_CONFIG_WINDOW_SIBLING | XCB_CONFIG_WINDOW_STACK_MODE; - const uint32_t value_list[2]{root, XCB_STACK_MODE_AB...
fix(i3): Put below root when restacking window
null
polybar/polybar
MIT License
C++
@@ -14,6 +14,7 @@ import * as Expensicons from '../Icon/Expensicons'; import Text from '../Text'; import * as styleConst from './styleConst'; import * as StyleUtils from '../../styles/StyleUtils'; +import CheckboxButton from '../Checkbox/CheckboxButton' class BaseTextInput extends Component { constructor(props) { @@ -2...
fix: secure textinput eye icon accesibility
null
expensify/expensify.cash
MIT License
JavaScript
kraken::DartMethodPointer funcPointer; // this is not thread safe std::atomic<bool> inited{false}; -std::unique_ptr<kraken::JSBridge> bridge; +kraken::JSBridge *bridge; void *getBridge() { - return bridge.get(); + return bridge; } void printError(const alibaba::jsa::JSError &error) { @@ -33,12 +33,14 @@ Screen screen; ...
fix: fix bridge unmount order
null
openkraken/kraken
Apache License 2.0
C++
@@ -550,7 +550,10 @@ public class DefaultUserService { UserCredentials userCredentials = userCredentialsStore.getUserCredentialsByUsername( username ); + if ( userCredentials != null ) + { userCredentials.getAllAuthorities(); + } return userCredentials; }
fix: NPE in userService.getUserCredentialsWithEagerFetchAuthorities
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -222,7 +222,7 @@ public final class DefaultAttachmentRegistry implements InternalAttachmentRegist synchronized (partialDownloads) { if (partialDownloads.contains(clientId, id)) { - throw new AlreadyExistsException("Download for attachment", id.toString()); + throw new BadRequestException("Download for attachment %s ...
fix(core): Use BadRequestException when a download has already started
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -1345,7 +1345,7 @@ func (manager *SGuestManager) validateCreateData( } input.DisableUsbKbd = imgProperties[imageapi.IMAGE_DISABLE_USB_KBD] == "true" - if vdi, ok := imgProperties[imageapi.IMAGE_VDI_PROTOCOL]; ok && len(vdi) > 0 { + if vdi, ok := imgProperties[imageapi.IMAGE_VDI_PROTOCOL]; ok && len(vdi) > 0 && len(i...
fix: guest vdi spec override image spec
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -149,6 +149,8 @@ public class RelationshipTrackerConverterService } // FROM + fromItem.setRelationship( toRelationship ); + if ( relationshipType.getFromConstraint().getRelationshipEntity().equals( TRACKED_ENTITY_INSTANCE ) ) { fromItem.setTrackedEntityInstance( preheat.getTrackedEntity( TrackerIdScheme.UID, @@ -166...
fix: added missing reference from RelationshipItem to Relationship, causing NPE later
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -570,7 +570,7 @@ class MethodChannelFirebaseAuth extends FirebaseAuthPlatform { verificationFailed(exception); } else if (name == 'Auth#phoneCodeSent') { final String verificationId = arguments['verificationId']; - final int forceResendingToken = arguments['forceResendingToken']; + final int? forceResendingToken = a...
fix(firebase_auth): authentication forceResendingToken int can be null on iOS
null
firebaseextended/flutterfire
BSD 3-Clause New or Revised License
Dart
@@ -111,7 +111,7 @@ struct Config { let urlString: String = { switch server { case .main: return "https://mainnet.infura.io/llyrtzQ3YhkdESt2Fzrk" - case .classic: return "https://web3.gastracker.io" + case .classic: return "https://ethereumclassic.network" case .callisto: return "https://callisto.network/" //TODO Add e...
fix: update RPC node used for Ethereum Classic
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -337,8 +337,11 @@ class PointCloud(object): return self._data.md5() def merge_vertices(self): + count=len(self.vertices) unique, inverse = grouping.unique_rows(self.vertices) self.vertices = self.vertices[unique] + if not self.colors is None and len(self.colors)==count: + self.colors=self.colors[unique] @property de...
fix: merge_vertices of PointCloud
null
mikedh/trimesh
MIT License
Python
@@ -196,7 +196,6 @@ namespace acl #ifdef ACL_COMPRESSION_OPTIMIZED - ACL_ASSERT(raw_clip_context.num_samples == num_samples, "Raw sample mismatch!"); ACL_ASSERT(raw_clip_context.num_segments == 1, "Raw context must contain a single segment!"); segment_context& raw_segment = raw_clip_context.segments[0]; bool has_consta...
fix(compression): handle loop wrap policy
null
nfrechette/acl
MIT License
C
@@ -14,11 +14,15 @@ export class HtmlReporter implements IReporter { public report(clones: IClone[], statistic: IStatistic): void { const reportFunction = compileFile(__dirname + '/../../html/report.pug'); - const formatsReports: any[] = statistic && statistic.formats ? Object.keys(statistic.formats).map(format => { + ...
fix(html reporter): fix empty statistic issue
null
kucherenko/jscpd
MIT License
TypeScript
@@ -151,7 +151,7 @@ public class SongVideoPlayer : MonoBehaviour, INeedInjection, IInjectionFinished return; } - videoPlayer.url = uri; + videoPlayer.url = GetVideoPlayerUri(uri); // The url is empty if loading the video failed. HasLoadedVideo = !string.IsNullOrEmpty(videoPlayer.url); // For now, only load the video. S...
fix: use VideoPlayer.url that Unity understands (fix issue with vp8/webm file on Android)
null
ultrastar-deluxe/play
MIT License
C#
@@ -1150,7 +1150,7 @@ namespace DSharpPlus.Net var bucket = this.Rest.GetBucket(RestRequestMethod.POST, route, new {channel_id, message_id}, out var path); var url = Utilities.GetApiUriFor(path); - var response = await this.DoRequestAsync(this.Discord, bucket, url, RestRequestMethod.POST, route); + var response = await...
fix(api): Add missing CA statements
null
dsharpplus/dsharpplus
MIT License
C#
-const { resolve, relative } = require('path'); +const { resolve, relative, extname } = require('path'); const { readFileSync } = require('fs-extra'); const ejs = require('ejs'); const adapter = require('../adapter'); @@ -53,10 +53,12 @@ function generateAppCSS(compilation, { target, command, rootDir }) { let content =...
fix(miniapp): wrong css file in assets
null
raxjs/rax-app
MIT License
JavaScript
@@ -2,13 +2,14 @@ import { State } from "../api"; import { Stream } from "../stream"; export function fromPromise<T>(src: Promise<T>) { - return new Stream<T>((o) => { + let canceled = false; + return new Stream<T>((stream) => { src.then((x) => { - if (o.getState() !== State.DONE) { - o.next(x); - o.done(); + if (!canc...
fix(rstream): update fromPromise() cancellation
null
thi-ng/umbrella
Apache License 2.0
TypeScript
@@ -459,12 +459,18 @@ export const convertToTemplate = (dashboardID: string) => async ( throw new Error(resp.data.message) } + let vars = [] + + // dumb bug + // https://github.com/paularmstrong/normalizr/issues/290 + if (resp.data.variables.length) { const normVars = normalize<Variable, VariableEntities, string>( - re...
fix: weird normalizr bug
null
influxdata/influxdb
MIT License
TypeScript
}, //Unusable plugins unusable() { - const plugins = Object.entries(this.plugins.enabled).filter(([key, value]) => (value == true) && (!this.supports(this.plugins.options.descriptions[key]))).map(([key]) => key) + const plugins = Object.entries(this.plugins.enabled).filter(([key, value]) => (value == true) && (!this.pl...
fix(app/web): unsupported plugins display notice
null
lowlighter/metrics
MIT License
JavaScript
<?php declare(strict_types=1); - namespace Swoft\Http\Server\Formatter; - -use function is_string; use ReflectionException; use Swoft\Bean\Annotation\Mapping\Bean; use Swoft\Bean\Exception\ContainerException; @@ -13,6 +10,9 @@ use Swoft\Http\Message\Contract\ResponseFormatterInterface; use Swoft\Http\Message\Response; ...
fix: maybe error on response html data
null
swoft-cloud/swoft-component
Apache License 2.0
PHP
@@ -92,7 +92,7 @@ func DefaultParams() Params { HeartbeatPeriodInBlocks: 50, MaxMissedBlocksPerWindow: utils.Threshold{Numerator: 5, Denominator: 100}, UnbondingLockingKeyRotationCount: 4, - ExternalMultisigThreshold: utils.Threshold{Numerator: 4, Denominator: 7}, + ExternalMultisigThreshold: utils.Threshold{Numerator:...
fix(tss): update external multisig threshold
null
axelarnetwork/axelar-core
Apache License 2.0
Go
@@ -204,7 +204,7 @@ declare module 'netlify-cms-core' { registerLocale: (locale: string, phrases: CmsLocalePhrases) => void; registerMediaLibrary: (mediaLibrary: CmsMediaLibrary, options?: CmsMediaLibraryOptions) => void; registerPreviewStyle: (filePath: string, options?: PreviewStyleOptions) => void; - registerPreview...
fix: add missing generic type to registerPreviewTemplate
null
netlify/netlify-cms
MIT License
TypeScript
@@ -27,7 +27,6 @@ import ( "time" "github.com/codenotary/immudb/pkg/db" - "github.com/dgraph-io/badger/v2/options" ) func makeTopic() (*db.Topic, func()) { @@ -38,11 +37,9 @@ func makeTopic() (*db.Topic, func()) { } opts := db.DefaultOptions(dir) - opts.Badger. + opts.Badger = opts.Badger. WithSyncWrites(false). - With...
fix: apply badger options in bm
null
codenotary/immudb
Apache License 2.0
Go
@@ -1221,6 +1221,12 @@ namespace Cicada { AF_LOGE("(%d)getSegmentNumberByTime error us is %lld\n", mPTracker->getStreamType(), us); + if (us == mPTracker->getDuration()) { + mIsEOS = true; + mPTracker->setCurSegNum(mPTracker->getLastSegNum()); + return 0; + } + if (mPTracker->getStreamType() == STREAM_TYPE_SUB) { mIsEO...
fix(hlsstream): don't send error when seek pos= duration
null
alibaba/cicadaplayer
MIT License
C++
@@ -48,10 +48,10 @@ const Banner = () => ( <BannerContainer className="banner"> <InnerContainer> <Content> - <OutboundLink href="https://www.gatsbyjs.com/gatsby-plugins/"> + <OutboundLink href="https://www.gatsbyjs.com/impossible-foods-webinar/"> Register now </OutboundLink> - {`: "What Can Gatsby Plugins Do?" - Learn ...
fix: update webinar banner for upcoming impossible foods
null
gatsbyjs/gatsby
MIT License
JavaScript
@@ -144,7 +144,7 @@ public class Filesystem extends Plugin { } fileInputStreamReader.close(); - return new String(Base64.encodeToString(byteStream.toByteArray(), Base64.DEFAULT)); + return new String(Base64.encodeToString(byteStream.toByteArray(), Base64.NO_WRAP)); } @PluginMethod()
fix(android): make readFile not add newlines on base64 strings
null
ionic-team/capacitor
MIT License
Java
@@ -336,14 +336,16 @@ func (self *SCachedimage) ChooseSourceStoragecacheInRange(hostType string, exclu scimgs := make([]SStoragecachedimage, 0) q := storageCachedImage.Query(). - Join(storage, sqlchemy.AND(sqlchemy.Equals(storage.Field("storagecache_id"), storageCachedImage.Field("storagecache_id")))). - Join(hostStora...
fix: filter cached images by storage status
null
yunionio/yunioncloud
Apache License 2.0
Go
import { isPhone } from '@ui5/webcomponents-base/dist/Device.js'; import { deprecationNotice, useI18nBundle, useSyncRef } from '@ui5/webcomponents-react-base'; import clsx from 'clsx'; -import React, { Children, forwardRef, ReactElement, Ref, useEffect, useReducer, useRef } from 'react'; +import React, { Children, forw...
fix(ActionSheet): deprecate `alwaysShowHeader` prop
null
sap/ui5-webcomponents-react
Apache License 2.0
TypeScript
@@ -42,10 +42,12 @@ func parseAlpmDB(resolver source.FileResolver, env *generic.Environment, reader if err != nil { return nil, nil, err } + pkgFiles, err := parseMtree(r) if err != nil { return nil, nil, err } + // The replace the files found the the pacman database with the files from the mtree These contain more met...
fix: guard for locations < 1 in alpmdb parse
null
anchore/syft
Apache License 2.0
Go
@@ -18,6 +18,25 @@ class XmlReport extends Report function (IssueData $issue_data): array { $issue_data = (array) $issue_data; unset($issue_data['dupe_key']); + + if (null !== $issue_data['taint_trace']) { + $issue_data['taint_trace'] = array_map( + function ($trace): array { + return (array) $trace; + }, + $issue_data...
fix: Handle DataFlowNodeData in XmlReport
null
vimeo/psalm
MIT License
PHP
@@ -3,11 +3,7 @@ import {CanActivate, Router} from '@angular/router' import {map} from 'rxjs/operators' import {Observable} from 'rxjs' -import { - AuthProcessService, - NgxAuthFirebaseUIConfig, - NgxAuthFirebaseUIConfigToken, -} from '../ngx-auth-firebase-u-i.module' +import {AuthProcessService, NgxAuthFirebaseUIConfi...
fix(package): do not break the route of authGuardLoggedInURL is not provided
null
anthonynahas/ngx-auth-firebaseui
MIT License
TypeScript
@@ -1619,7 +1619,7 @@ void BSplineFreeFormTransformationSV ParallelForEachVoxel(in, &dv, &dv, mul); // Multiply resulting vectors by derivative of v w.r.t. the DoFs - BSplineFreeFormTransformation3D::ParametricGradient(&dv, out, wc, t0, w); + BSplineFreeFormTransformation3D::ParametricGradient(&dv, out, i2w, wc, t0, w)...
fix: SS gradient computation in SV FFD [Transformation]
null
biomedia/mirtk
Apache License 2.0
C++
@@ -196,11 +196,11 @@ string Navtech::EncryptAddress(string address, string pubKeyStr, int nTransactio address = "{\"n\":\""+address+"\",\"t\":"+std::to_string(GetArg("anon_out_delay",NAVTECH_DEFAULT_OUT_DELAY))+",\"p\":"+std::to_string(nPiece)+",\"o\":"+std::to_string(nTransactions)+",\"u\":"+std::to_string(nId)+"}"; ...
fix: static buffer length
null
navcoin/navcoin-core
MIT License
C++
@@ -194,8 +194,11 @@ export function Burn() { level="info" hide={{ id: 'burn', period: 1000 * 60 * 60 * 24 * 7 }} > - Default bLuna redemptions take at least 21 days to process. Slashing - events during the 21 days may affect the final amount withdrawn. + Default bLuna redemptions take at least 21 days to process. + <b...
fix: disclaimer line break
null
anchor-protocol/anchor-web-app
Apache License 2.0
TypeScript
@@ -107,7 +107,7 @@ namespace Elders.Cronus.Projections.Rebuilding RebuildProjection_JobData.EventPaging paging = Data.EventTypePaging.Where(et => et.Type.Equals(eventTypeId, StringComparison.OrdinalIgnoreCase)).FirstOrDefault(); string paginationToken = paging?.PaginationToken; - LoadIndexRecordsResult indexRecordsRes...
fix: Reduces the page size when rebuilding a projection
null
elders/cronus
Apache License 2.0
C#
@@ -10,10 +10,10 @@ import com.linkedin.metadata.browse.BrowseResultGroup; import com.linkedin.metadata.browse.BrowseResultGroupArray; import com.linkedin.metadata.browse.BrowseResultMetadata; import com.linkedin.metadata.dao.exception.ESQueryException; -import com.linkedin.metadata.search.utils.ESUtils; -import com.li...
fix(browse): fix browse response size issue
null
linkedin/datahub
Apache License 2.0
Java