diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -31,7 +31,11 @@ macro_rules! unwrap_or_bail {
($db:ident, $reporter:expr, $codemap:expr, $e:expr) => {
match $e {
Ok(result) => {
- $reporter.print($codemap);
+ let reporter = $reporter;
+ reporter.print($codemap);
+ if reporter.is_failed() {
+ bail!($db, "error occurred, see diagnostics for details");
+ }
result
}
... | fix: ensure error reports stop further compiler stages from being run | null | lumen/lumen | Apache License 2.0 | Rust |
@@ -28,16 +28,16 @@ package org.hisp.dhis.webapi.controller.event;
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-import com.google.common.collect.Lists;
+import static com.google.common.base.Preconditions.checkNotNull;
+
+import java.util.List;
+
import org.hisp.dhis.dxf2.webmessage.WebMessageExcep... | fix: Remove Program Instance creation from controller | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -181,6 +181,13 @@ if [[ $ENABLE_SSL = "true" ]];then
fi
echo "[Step 1/6] Label kube-ovn-master node and label datapath type"
+
+# Kubernetes project moved away words that is considered offensive after v1.20.0
+KUBERNETES_SERVER_VERSION=$(kubectl version --short | grep "Server Version" | cut -d ":" -f 2 | cut -d "v" ... | fix: move away words that is considered offensive after k8s v1.20.0 | null | kubeovn/kube-ovn | Apache License 2.0 | Shell |
@@ -478,6 +478,7 @@ namespace Files.App.ViewModels
case nameof(UserSettingsService.PreferencesSettingsService.AreAlternateStreamsVisible):
case nameof(UserSettingsService.PreferencesSettingsService.ShowDotFiles):
case nameof(UserSettingsService.PreferencesSettingsService.ShowFolderSize):
+ case nameof(UserSettingsServi... | fix: Apply select files on hover setting without restarting app | null | files-community/files | MIT License | C# |
@@ -40,6 +40,8 @@ import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.Logger;
import javax.annotation.Nonnull;
import javax.annot... | fix(logging): catch and log exceptions in Watchdog runnable to ensure it never stops running | null | googleapis/gax-java | BSD 3-Clause New or Revised License | Java |
@@ -198,18 +198,20 @@ namespace modules {
}
try {
- using namespace i3_util;
-
- string scrolldir;
- const connection_t conn{};
+ const i3_util::connection_t conn{};
if (cmd.compare(0, strlen(EVENT_CLICK), EVENT_CLICK) == 0) {
cmd.erase(0, strlen(EVENT_CLICK));
- if (focused_workspace(conn)->num != atoi(cmd.c_str())) {... | fix(i3): Handle scrolling internally | null | polybar/polybar | MIT License | C++ |
@@ -379,6 +379,13 @@ impl TerminalPane {
self.grid.rotate_scroll_region_down(count);
self.mark_for_rerender();
}
+ fn reset_terminal_state(&mut self) {
+ let rows = self.get_rows();
+ let columns = self.get_columns();
+ self.grid = Grid::new(rows, columns);
+ self.alternative_grid = None;
+ self.cursor_key_mode = false... | fix(compatibility): reset | null | zellij-org/zellij | MIT License | Rust |
@@ -50,7 +50,7 @@ type MutingRuleUpdateInput struct {
Condition *MutingRuleConditionGroup `json:"condition,omitempty"`
Description string `json:"description,omitempty"`
- Enabled bool `json:"enabled,omitempty"`
+ Enabled bool `json:"enabled"`
Name string `json:"name,omitempty"`
}
| fix(muting_rules): ensure updates to disable rule are respected | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
@@ -10,12 +10,16 @@ import { Tooltip } from '@material-ui/core';
import { withStyles } from '@material-ui/core/styles';
import * as CommonValues from '../../utils/common-values';
-export function MTableHeader({ onColumnResized, ...props }) {
+export function MTableHeader({ onColumnResized, columns, ...props }) {
const ... | fix: hidden columns resizing now works for correct col | null | material-table-core/core | MIT License | JavaScript |
@@ -68,28 +68,6 @@ def create_app(config_object="lnbits.settings") -> FastAPI:
g().config = lnbits.settings
g().base_url = f"http://{lnbits.settings.HOST}:{lnbits.settings.PORT}"
- @app.exception_handler(RequestValidationError)
- async def validation_exception_handler(
- request: Request, exc: RequestValidationError
- ... | fix: fastapi exception handling and printing | null | lnbits/lnbits | MIT License | Python |
@@ -364,7 +364,7 @@ pub struct ParamsOfCreateBlockIterator {
///
/// Items iterated is a JSON objects with block data. The minimal set of returned
/// fields is:
-///
+/// ```text
/// id
/// gen_utime
/// workchain_id
@@ -377,7 +377,7 @@ pub struct ParamsOfCreateBlockIterator {
/// prev_alt_ref {
/// root_hash
/// }
-/... | fix: mark inline blocks in doc comments as `text` | null | tonlabs/ton-sdk | Apache License 2.0 | Rust |
@@ -38,7 +38,7 @@ public class JitsiMeetUrl
* {@link #setHashConfigPart(String)}. For convenience
* {@link #appendConfig(String)} will do that automatically.
*/
- private final Map<String, String> fragmentParams = new HashMap<>();
+ private Map<String, String> fragmentParams = new HashMap<>();
/**
* In the example URL:... | fix(JitsiMeetUrl): broken 'clone' | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -97,7 +97,6 @@ import static org.hisp.dhis.commons.util.DebugUtils.getStackTrace;
import static org.hisp.dhis.commons.util.SystemUtils.getCpuCores;
import static org.hisp.dhis.dataelement.DataElementOperand.TotalType.values;
import static org.hisp.dhis.period.DailyPeriodType.NAME;
-import static org.hisp.dhis.period... | fix: Fix daily reporting rate calculation | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -165,11 +165,11 @@ function ApplyForm() {
<Input
required={true}
id="repoURL"
- type="repoURL"
+ type="url"
name="repoURL"
aria-label="The URL of your project repository"
value={repo}
- placeholder="https://github.com/algolia/docsearch | https://gitlab.com/gitlab-org/gitlab"
+ placeholder="https://github.com/algolia... | fix(form): validate URL correctly | null | algolia/docsearch | MIT License | JavaScript |
@@ -529,12 +529,11 @@ object PackageUtils {
val apkFile = ApkFile(File(path))
var splits: List<String>
- val primaryList = apkFile.dexClasses.asSequence()
+ val primaryList = apkFile.dexClasses
.map { it.packageName }
.filter { !it.startsWith(packageName) }
.map { item ->
splits = item.split(".")
-
when {
//Remove obfu... | fix: Dex detection not working | null | libchecker/libchecker | Apache License 2.0 | Kotlin |
@@ -279,11 +279,13 @@ class Database:
try:
return self._cursor.mogrify(query, values)
- except BaseException:
+ except AttributeError:
if isinstance(values, dict):
- return query % {k: frappe.db.escape(v) if isinstance(v, str) else v for k, v in values.items()}
+ return query.format(
+ **{k: frappe.db.escape(v) if isin... | fix: Format string instead of % to avoid TypeError | null | frappe/frappe | MIT License | Python |
@@ -244,7 +244,7 @@ fi
echo "================================================================"
echo "Creating Docker image with all the development tools $(date)."
-echo " docker build ${docker_build_flags[@]} ci"
+echo " docker build ${docker_build_flags[*]} ci"
echo "Logging to ${BUILD_OUTPUT}/create-build-docker-ima... | fix: quash a shellcheck warning | null | googleapis/google-cloud-cpp | Apache License 2.0 | Shell |
@@ -374,6 +374,10 @@ public class Main {
if (!MULTITENANT_FEATURE_ENABLED.contains(dbType) && newDb ) {
populateResourceTypeAndParameterNameTableEntries(null);
}
+
+ // Let's refresh the procedures and functions.
+ logger.info("Refreshing procedures and functions");
+ updateProcedures();
}
/**
@@ -475,7 +479,7 @@ publi... | fix: postgres/db2 refresh of the stored procedure | null | ibm/fhir | Apache License 2.0 | Java |
@@ -105,6 +105,10 @@ class UI5Element extends HTMLElement {
await this._processChildren();
}
+ if (!this.shadowRoot) { // Workaround for Firefox74 bug
+ await Promise.resolve();
+ }
+
await RenderScheduler.renderImmediately(this);
this._domRefReadyPromise._deferredResolve();
if (typeof this.onEnterDOM === "function") {... | fix(framework): Provide a workaround for Firefox 74 shadow root bug | null | sap/ui5-webcomponents | Apache License 2.0 | JavaScript |
@@ -772,7 +772,7 @@ GenericImage<VoxelType>& GenericImage<VoxelType>::operator+=(double scalar)
VoxelType *ptr = this->Data();
for (int idx = 0; idx < _NumberOfVoxels; ++idx) {
if (IsForeground(idx)) {
- ptr[idx] = voxel_cast<VoxelType>(voxel_cast<double>(ptr[idx]) + scalar);
+ ptr[idx] += scalar;
}
}
return *this;
@@ ... | fix: Scalar operators of GenericImage [Image] | null | biomedia/mirtk | Apache License 2.0 | C++ |
@@ -210,7 +210,7 @@ export const RundownList = translateWithTracker(() => {
this.autorun(() => {
let subsReady = this.subscriptionsReady()
- if (subsReady !== this.state.subsReady) {
+ if (subsReady !== this.state.subsReady && !this.state.subsReady) {
this.setState({
subsReady: subsReady,
})
| fix: do not show the spinner after the inital subscriptions were fulfilled | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -40,8 +40,8 @@ namespace DesktopUI2.Views.Windows.Dialogs
public void Close(object dialogResult)
{
_dialogResult = dialogResult;
- Closed?.Invoke(this, null);
MainViewModel.Instance.DialogBody = null;
+ Closed?.Invoke(this, null);
}
}
}
| fix(dui): dialog conflict | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
/*
- * Copyright 2019 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2019-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.
@@ -22,6 +22,7 @@ import com.b2international.snowowl.core.date.... | fix(fhir): use Code type for displayLanguage parameter in.. | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
use ethers::{
core::types::BlockNumber,
- middleware::{gas_escalator::*, gas_oracle::*, *},
+ middleware::{
+ gas_escalator::{Frequency, GasEscalatorMiddleware, GeometricGasPrice},
+ gas_oracle::{GasNow, GasOracleMiddleware},
+ MiddlewareBuilder, NonceManagerMiddleware, SignerMiddleware,
+ },
providers::{Http, Middlewa... | fix(examples): deprecated gas oracle | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -172,6 +172,9 @@ public void ApplySnapshot_DontSyncPosition()
component.syncPosition = false;
component.syncRotation = true;
component.syncScale = true;
+ component.interpolatePosition = false;
+ component.interpolateRotation = true;
+ component.interpolateScale = true;
component.ApplySnapshot(default, default, new ... | fix: updated NetworkTransform2k test | null | vis2k/mirror | MIT License | C# |
@@ -83,13 +83,12 @@ export default async function run (inputArgv: string[]) {
// When we just want to print the location of the global bin directory,
// we don't need the write permission to it. Related issue: #2700
const globalDirShouldAllowWrite = cmd !== 'root'
- const checkUnknownSetting = cmd === 'install'
config ... | fix: don't print warnings about unknown settings | null | pnpm/pnpm | MIT License | TypeScript |
@@ -4,7 +4,7 @@ import { findNode } from 'utils/general'
const subModuleURLRegex = {
HTTP: /^https?:\/\/.*?$/,
HTTPGit: /^https:.*?\.git$/,
- git: /^git@.*?:(.*?)\.git$/,
+ git: /^git@.*?:(.*?)\/(.*?)\.git$/,
}
function transformModuleGitURL(node: TreeNode, URL: string) {
| fix: handle git submodule link url | null | enixcoda/gitako | MIT License | TypeScript |
@@ -5,8 +5,7 @@ class FeaturedLink < ApplicationRecord
belongs_to :linkable, polymorphic: true
- after_save :republish_organisation_to_publishing_api
- after_destroy :republish_organisation_to_publishing_api
+ after_commit :republish_organisation_to_publishing_api
validates :url, :title, presence: true
validates :url, ... | fix: republish featured links on after commit | null | alphagov/whitehall | MIT License | Ruby |
@@ -507,12 +507,12 @@ pub fn builtins() -> Builtins<'static> {
"holtWinters" => r#"
forall [t0, t1] where t0: Row, t1: Row (
<-tables: [t0],
+ n: int,
+ interval: duration
?withFit: bool,
?column: string,
?timeColumn: string,
- n: int,
- seasonality: int,
- interval: duration
+ ?seasonality: int,
) -> [t1]
"#,
"hourSel... | fix(holtwinters): update holtWinters type to make seasonality optional | null | influxdata/flux | MIT License | Rust |
@@ -1772,8 +1772,9 @@ public abstract class VaadinService implements Serializable {
* null then the browser will refresh the current page.
* @param querySelector
* Query selector to find the element under which the error will
- * be added . If element is not found or the selector is
- * {@code null}, body will be used
... | fix: improve SystemErrorHandler::createCriticalNotificationJSON JavaDoc | null | vaadin/flow | Apache License 2.0 | Java |
@@ -55,6 +55,8 @@ export class DocumentFieldDetailComponent {
// event's data transfer store isn't available during dragenter/dragleave/dragover, so we need
// to store this info in a global somewhere since those methods depend on knowing if the
// dragged field is source/target
+ event = event || window.event;
+ event... | fix: Correct firefox bug with drag&drop mappings | null | atlasmap/atlasmap | Apache License 2.0 | TypeScript |
@@ -3,6 +3,7 @@ import json
import boto3
from botocore.exceptions import ClientError
import pytest
+import sure # noqa
from moto import mock_iam
@@ -1611,31 +1612,25 @@ valid_policy_documents = [
]
-def test_create_policy_with_invalid_policy_documents():
- for test_case in invalid_policy_document_test_cases:
- yield ch... | fix: yield tests ignored by pytest runner | null | spulec/moto | Apache License 2.0 | Python |
@@ -238,7 +238,11 @@ SymbolVarArray TensorRTRuntimeOpr::make(
auto gpu_allocator = std::make_shared<GpuAllocator>(src[0].node()->comp_node());
runtime->setGpuAllocator(gpu_allocator.get());
auto engine = runtime->deserializeCudaEngine(buf, buf_size, nullptr);
- mgb_assert(engine, "failed to deserialize ICudaEngine");
+... | fix(mgb): add detail error message for trt version diff | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -81,7 +81,7 @@ fn get_main_path(config: &ConfigInterface, args: &ArgMatches<'_>) -> Result<Stri
}
fn run_ide(env: &dyn Environment, main_path: String) -> DfxResult {
- let stdlib_path = env.get_cache().get_binary_command_path("stdlib")?;
+ let stdlib_path = env.get_cache().get_binary_command_path("base")?;
let outpu... | fix: rename base library for language server | null | dfinity/sdk | Apache License 2.0 | Rust |
@@ -174,7 +174,7 @@ class DBUtils:
self.cbm = CBM(Config.get('cb_query_node', Config.couchbase_hostname), Config.get('couchebaseClusterAdmin'), Config.get('cb_password'))
def get_oxAuthConfDynamic(self):
- if base.argsp.no_data:
+ if not Config.loadData:
return '', {}
if self.moddb == BackendTypes.LDAP:
@@ -203,7 +203,... | fix: replace 'if base.argsp.no_data' by 'if not Config.loadData' | null | gluufederation/community-edition-setup | MIT License | Python |
@@ -10,7 +10,7 @@ import FormRichTextField from 'lib/components/form/fields/RichTextField';
import FormTextField from 'lib/components/form/fields/TextField';
import FormToggleField from 'lib/components/form/fields/ToggleField';
import formTranslations from 'lib/translations/form';
-import translations from 'course/surv... | fix(surveyform): invalid translations import | null | coursemology/coursemology2 | MIT License | JavaScript |
@@ -101,7 +101,7 @@ public class BlockPlacerBlockEntity extends ExtendedBlockEntity implements Utili
var inputStorage = itemStorage.getStorage(INPUT_SLOT);
- inputStorage.extract(inputStorage.getResource(), 1, transaction);
+ inputStorage.extract(inputStorage.getResource(), 1, transaction, true);
energyStorage.amount -... | fix: block placer | null | mixinors/astromine | MIT License | Java |
@@ -65,7 +65,7 @@ namespace ConnectorGrashopper.Streams
if (accountId == null)
{
- AddRuntimeMessage(GH_RuntimeMessageLevel.Error, "No account ID was provided");
+ AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, "No account ID was provided");
return;
}
| fix(component): changed missing id error to warning | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -60,9 +60,10 @@ class Analytics extends JsObjectWrapper<analytics_interop.AnalyticsJsImpl> {
String? screenName,
AnalyticsCallOptions? callOptions,
}) {
- return analytics_interop.setCurrentScreen(
+ return analytics_interop.logEvent(
jsObject,
- screenName,
+ 'screen_view',
+ jsify({'firebase_screen': screenName}),... | fix(analytics, web): `setCurrentScreen()` API is now obsolete, using `logEvent()` instead | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
@@ -24,7 +24,10 @@ class Logo extends BaseLitComponent {
theme: String,
url: String,
text: String,
- altText: String,
+ altText: {
+ type: String,
+ attribute: 'alt-text',
+ },
srcLight: {
type: String,
attribute: 'src-light',
| fix: configure the Logo's `altText` config option when used as an HTML attribute | null | pattern-lab/patternlab-node | MIT License | JavaScript |
@@ -57,7 +57,7 @@ def _der_update(
# make threshold a (num_thresholds,) tensor
scalar_threshold = isinstance(threshold, Number)
if scalar_threshold:
- threshold = torch.tensor([threshold], dtype=preds.dtype)
+ threshold = torch.tensor([threshold], dtype=preds.dtype, device=preds.device)
# find the optimal mapping betwe... | fix: fix threshold being on a different device when using cuda | null | pyannote/pyannote-audio | MIT License | Python |
@@ -50,10 +50,10 @@ class ShardedPrecomputedSkeletonSource(object):
else:
return results[0]
- def upload(self):
+ def upload(self, *args, **kwargs):
raise NotImplementedError()
- def raw_upload(self):
+ def raw_upload(self, *args, **kwargs):
raise NotImplementedError()
def get_bbox(self, bbox):
| fix: unintelligible error if using sharded skeleton upload | null | seung-lab/cloud-volume | BSD 3-Clause New or Revised License | Python |
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT ARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
import copy
+import contextlib
import inspect
from collections.abc import MutableMapping, MutableSequence
from inspect import FullArgSpec
@@ -65,8 +66,12 @@ def _convert... | fix(traced_module): fix error message | null | megengine/megengine | Apache License 2.0 | Python |
@@ -81,8 +81,6 @@ namespace acl
return nullptr;
const segment_context& raw_segment = raw_clip_context.segments[0];
- const rtm::vector4f one = rtm::vector_set(1.0F);
- const bool has_scale = lossy_clip_context.has_scale;
rigid_shell_metadata_t* shell_metadata = allocate_type_array<rigid_shell_metadata_t>(allocator, num... | fix(compression): always assume scale is present | null | nfrechette/acl | MIT License | C |
@@ -9,11 +9,25 @@ import { storeCachedData, fetchCachedData } from '../../utils/cached'
import Loading from '../../assets/loading.gif'
const ChartPanel = styled.div`
- margin: 20px 10% 30px 10%;
+ margin: 0 10% 30px 10%;
background: white;
@media (max-width: 700px) {
- margin: 20px 4% 30px 4%;
+ margin: 0 4% 30px 4%;
+... | fix: add charts title and message | null | nervosnetwork/ckb-explorer-frontend | MIT License | TypeScript |
@@ -42,9 +42,11 @@ export function definePlugin(config: ResolvedConfig): Plugin {
function generatePattern(
ssr: boolean
- ): [Record<string, string | undefined>, RegExp] {
+ ): [Record<string, string | undefined>, RegExp | null] {
const processEnv: Record<string, string> = {}
- if (!ssr || config.ssr?.target === 'webw... | fix: cannot reassign process.env.NODE_ENV in ssr | null | vitejs/vite | MIT License | TypeScript |
@@ -8,8 +8,8 @@ set -eu
# Make sure bosh binary exists
bosh --version >/dev/null
-VARS_FILE=/tmp/cf-vars.yaml
DOMAIN=$1
+VARS_FILE="/tmp/${DOMAIN}/cf-vars.yaml"
bosh interpolate --vars-store=${VARS_FILE} <(cat <<EOF
variables:
| fix: put CF vars to unique temp dir | null | cloudfoundry/cf-for-k8s | Apache License 2.0 | Shell |
@@ -169,7 +169,7 @@ app_versions = {
"OX_GITVERISON": "-SNAPSHOT",
"NODE_VERSION": "v14.19.1",
"OX_VERSION": "4.5.0",
- "PASSPORT_VERSION": "4.5.0",
+ "PASSPORT_VERSION": "master",
"JYTHON_VERSION": "2.7.3",
"OPENDJ_VERSION": "4.4.13",
"SETUP_BRANCH": argsp.setup_branch,
| fix: update passport version | null | gluufederation/community-edition-setup | MIT License | Python |
@@ -110,6 +110,11 @@ class SearchFragment : Fragment() {
super.onPrepareOptionsMenu(menu)
}
+ override fun onDestroyView() {
+ super.onDestroyView()
+ searchView.isSaveEnabled = false
+ }
+
override fun onDestroy() {
super.onDestroy()
if (this::searchView.isInitialized)
| fix: Disable save state of search view to resolve CastException | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -77,7 +77,7 @@ export default class {
changeLang(lang) {
this.currentLanguage = lang;
- return this.$scope.$emit('lang.onChange', { lang: lang.value });
+ return this.$scope.$emit('lang.onChange', { lang: lang.lang });
}
getSublinks() {
| fix(navbar): user can now switch language | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -72,8 +72,13 @@ namespace acl
ACL_DEPRECATED("Internal implementation detail; to be removed in v3.0")
inline uint32_t get_num_bits_at_bit_rate(uint32_t bit_rate)
{
+#ifdef ACL_BIT_RATE_EXPANSION
+ ACL_ASSERT(bit_rate <= 24, "Invalid bit rate: %u", bit_rate);
+ constexpr uint8_t bit_rate_num_bits[] = { 0, 1, 2, 3, 4,... | fix(core): ensure deprecated code handles the new bit rates | null | nfrechette/acl | MIT License | C |
@@ -80,7 +80,7 @@ public class CloudDriverConfiguration {
cloudDriverConfigurationProperties);
}
- static class ClouddriverRetrofitBuilder {
+ public static class ClouddriverRetrofitBuilder {
ObjectMapper objectMapper;
OkHttpClientProvider clientProvider;
RestAdapter.LogLevel retrofitLogLevel;
@@ -100,7 +100,7 @@ publi... | fix(config): add back public visibility for ClouddriverRetrofitBuilder class | null | spinnaker/orca | Apache License 2.0 | Java |
@@ -17,9 +17,20 @@ public class AvatarImage : MonoBehaviour, INeedInjection, IExcludeFromSceneInjec
[Inject(optional = true)]
private MicProfile micProfile;
- public void SetPlayerProfile(PlayerProfile playerProfile)
+ [Inject(optional = true)]
+ private PlayerProfile playerProfile;
+
+ public void OnInjectionFinished(... | fix: AvatarImage not showing image from PlayerProfile (SetPlayerProfile was never called) | null | ultrastar-deluxe/play | MIT License | C# |
import React from 'react';
import { View, Text, ViewStyle, StyleSheet } from 'react-native';
-import Item from './ListItem';
+import Item from './ListItem.native';
import { ListProps as BasePropsType } from './PropsType';
import listStyle from './style/index.native';
| fix(List.Item): wrong imports | null | ant-design/ant-design-mobile | MIT License | TypeScript |
+import {
+ hasOwn
+} from 'uni-shared'
+
export default function createPage (pageVm) {
const $route = pageVm.$route
pageVm.route = $route.meta.pagePath
+
+ const id = hasOwn($route.params, '__id__') ? $route.params.__id__ : $route.meta.id
pageVm.__page__ = {
- id: $route.params.__id__,
+ id,
path: $route.path,
route: ... | fix(h5): improve page id | null | dcloudio/uni-app | Apache License 2.0 | JavaScript |
@@ -17,6 +17,7 @@ import jadx.core.xmlgen.entry.ResourceEntry;
import jadx.core.xmlgen.entry.ValuesParser;
import static jadx.core.xmlgen.ParserConstants.PLURALS_MAP;
+import static jadx.core.xmlgen.ParserConstants.TYPE_REFERENCE;
public class ResXmlGen {
@@ -85,10 +86,16 @@ public class ResXmlGen {
if (formatValue != ... | fix(res): resource XML generation for parent attribute added (PR | null | skylot/jadx | Apache License 2.0 | Java |
@@ -339,7 +339,7 @@ def get_desktop_settings():
for m in user_modules]
else:
user_modules_by_category[category] = [apply_user_saved_links(m) \
- for m in all_modules if m['category'] == category]
+ for m in all_modules if m.get('category') == category]
# filter out hidden modules
if home_settings.hidden_modules:
| fix: Get desktop settings method | null | frappe/frappe | MIT License | Python |
@@ -49,7 +49,7 @@ public class GraphEvents
{ return title.equals( o.title ) && content.equals( o.content ); }
public static GraphEvents remove( Node s, Node p, Node o )
- { return new GraphEvents( "remove", Triple.create( s, p, o ) ){
+ { return new GraphEvents( "remove", Triple.createMatch( s, p, o ) ){
@Override
publ... | fix: make a triple with ANY in it, not nulls | null | apache/jena | Apache License 2.0 | Java |
@@ -358,7 +358,13 @@ def upload(rows = None, submit_after_import=None, ignore_encoding_errors=False,
error_flag = rollback_flag = False
- for i, row in enumerate(data):
+
+ batch_size = frappe.conf.data_import_batch_size or 1000
+
+ for batch_start in range(0, total, batch_size):
+ batch = data[batch_start:batch_start ... | fix(data-import): Import data in batches | null | frappe/frappe | MIT License | Python |
@@ -54,7 +54,7 @@ export const Preview = ({ file, onRemove }) => {
const size = getSize(file)
return (
- <Tag data-id={name} key={name} onRemove={onRemove} size="lg">
+ <Tag data-id={name} key={name} mr="sm" mt="sm" onRemove={onRemove} size="lg">
{icon && <Icon name={icon} size="xs" />}
{name}
{size && <Box color="nude... | fix: add space between tags on fileUpload | null | wttj/welcome-ui | MIT License | JavaScript |
@@ -5,8 +5,8 @@ docker manifest create ambianic/ambianic:dev ambianic/ambianic:dev-amd64 ambiani
docker manifest annotate ambianic/ambianic:dev ambianic/ambianic:dev-arm32v7 --os=linux --arch=arm --variant=v7
docker manifest annotate ambianic/ambianic:dev ambianic/ambianic:dev-amd64 --os=linux --arch=amd64
docker manif... | fix: move detection box overlay to browser, close | null | ambianic/ambianic-edge | Apache License 2.0 | Shell |
@@ -61,7 +61,9 @@ const Controller: FC<Props> = ({ className, components, render }) => {
isPending: false,
})
- const initialized = state.approvals.length === Children.toArray(components.props.children).length
+ const initialized =
+ state.approvals.length === Children.toArray(components.props.children).length &&
+ !st... | fix(packages/wagmi): approve system jitter | null | sushiswap/sushiswap | MIT License | TypeScript |
@@ -2529,7 +2529,7 @@ namespace seal
// END: Apply Galois for each ciphertext
// REORDERING IS SAFE NOW
- // Calculate (ct[2] * galois_key[0], ct[2] * galois_key[1]) + (ct[0], 0)
+ // Calculate (temp * galois_key[0], temp * galois_key[1]) + (ct[0], 0)
switch_key_inplace(
encrypted,
temp.get(),
@@ -2682,22 +2682,27 @@ n... | fix: use ntt_lazy and replace dyadic_mul with wide_product in switch_key, before modulus switching | null | microsoft/seal | MIT License | C++ |
@@ -244,6 +244,7 @@ static void do_node_item_init(struct node_item *item, const char *node_name,
uint8_t node_state, uint8_t slice_state)
{
strncpy(item->ndname, node_name, MAX_NODE_NAME_LENGTH);
+ item->ndname[MAX_NODE_NAME_LENGTH] = '\0'; /* See strncpy() manual */
item->refcnt = 0;
item->dup_hp = gen_node_continuum(... | fix: made the result string of strncpy() null-terminated | null | naver/arcus-memcached | Apache License 2.0 | C |
@@ -65,7 +65,6 @@ auto AutowareUniverse::initialize(const geometry_msgs::msg::Pose & initial_pose)
if (not std::exchange(initialize_was_called, true)) {
task_queue.delay([this, initial_pose]() {
set(initial_pose);
- waitForAutowareStateToBeInitializing();
waitForAutowareStateToBeWaitingForRoute([&]() {
InitialPose init... | fix(concealer): remove unnecessary wait for autoware states | null | tier4/scenario_simulator_v2 | Apache License 2.0 | C++ |
@@ -12,8 +12,17 @@ public class SpatialHashingInterestManagement : InterestManagement
[Tooltip("The maximum range that objects will be visible at.")]
public int visRange = 30;
- // if we see 8 neighbors then 1 entry is visRange/3
- public int resolution => visRange / 3;
+ // we use a 9 neighbour grid.
+ // so we always... | fix: breaking: Spatial hashing interest management resolution formula fixed. this is why spatial hashing visibility range always seemed a bit lower than with distance interest management | null | vis2k/mirror | MIT License | C# |
@@ -73,8 +73,7 @@ public class CompetingCompleteTaskSetVariableTest extends ConcurrencyTestCase {
}
@Deployment
- @Ignore("CAM-7477")
- public void testCompleteTaskSetLocalVariable() {
+ public void ignoreTestCompleteTaskSetLocalVariable() {
runtimeService.startProcessInstanceByKey("oneTaskProcess");
final String taskI... | fix(test): ignore the test in appropriate way | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -44,14 +44,6 @@ public class ToggleControl extends SimpleControl<BooleanField, ToggleSwitch> {
// is necessary to offset the control to the left, because we don't use the provided label
node.setTranslateX(NEGATIVE_LABEL_INSETS);
node.setSelected(field.getValue());
-
- if (this.visibilityProperty != null) {
- this.no... | fix: moved visibility bindings setup to proper place in class | null | dlsc-software-consulting-gmbh/preferencesfx | Apache License 2.0 | Java |
@@ -88,10 +88,15 @@ func centosEnsurer(monitor mntr.Monitor, ignore []string) nodeagent.FirewallEnsu
return current, nil, nil
}
- return current, func() error {
+ return current, ensureFunc(monitor, append(removePorts, addPorts...)), nil
+ })
+}
- errBuf.Reset()
- cmd = exec.Command("systemctl", "enable", "firewalld")
... | fix: don't reuse variables in anonymous functions | null | caos/orbos | Apache License 2.0 | Go |
@@ -50,7 +50,7 @@ func ClonerUsingGitExec(repoSpec *RepoSpec) error {
"fetch",
"--depth=1",
"origin",
- repoSpec.Ref)
+ "FETCH_HEAD")
cmd.Dir = repoSpec.Dir.String()
out, err = cmd.CombinedOutput()
if err != nil {
| fix: solve issues with tags not being loaded | null | kubernetes-sigs/kustomize | Apache License 2.0 | Go |
@@ -937,8 +937,9 @@ func initGeneralStatsd(metricsBackend met.Backend) {
pausePerTick.Value(int64(p))
countGC := int64(memStats.NumGC - lastGC)
- diffTime := int64(now.Sub(lastSampleTime).Seconds())
+ if diffTime := int64(now.Sub(lastSampleTime).Seconds()); diffTime != 0 {
gcPerSec.Value(countGC / diffTime)
+ }
gcPerTi... | fix: div by 0 computing gcPerSec runtime metric | null | ctdk/goiardi | Apache License 2.0 | Go |
@@ -370,11 +370,12 @@ func (wfc *WorkflowController) initManagers(ctx context.Context) error {
return err
}
+ wfc.syncManager.Initialize(wfList.Items)
+
if err := wfc.throttler.Init(wfList.Items); err != nil {
return err
}
- wfc.syncManager.Initialize(wfList.Items)
return nil
}
| fix: Mutex is not initialized when controller restart | null | argoproj/argo-workflows | Apache License 2.0 | Go |
@@ -149,8 +149,8 @@ func (c *KubernetesSpecification) Init() error {
// Kube dashboard is enabled by Tech Preview mode
c.portalProxy.GetConfig().PluginConfig[kubeDashboardPluginConfigSetting] = strconv.FormatBool(c.portalProxy.GetConfig().EnableTechPreview)
- // Kube terminal is enabled by Tech Preview mode
- c.portalP... | fix: Kubernetes Terminal button shows even when not configured | null | cloudfoundry/stratos | Apache License 2.0 | Go |
@@ -112,7 +112,7 @@ export class Slotmachine {
const money = settings.get(UserSettings.Money) as UserSettings.Money;
const amount = this.winnings === 0 ? money - this.amount : money + (this.winnings * this.boost);
if (amount < 0) throw 'You cannot have negative money.';
- await settings.update('money', amount);
+ await... | fix: Updated slotmachines to use UserSettings instead of hardcoded string | null | skyra-project/skyra | Apache License 2.0 | TypeScript |
@@ -116,19 +116,11 @@ class Database(object):
"""
query = str(query)
-<<<<<<< HEAD
if not run:
return query
-=======
-<<<<<<< HEAD
- # remove \n \t from start of query and replace them with space anywhere in middle
- query = re.sub(r'\s', ' ', query).lstrip()
->>>>>>> ac5effc7dd (fix: remove tab \t and newlines \n from... | fix: resolved conflicts in database.py | null | frappe/frappe | MIT License | Python |
@@ -170,9 +170,10 @@ class CSSPositionedLayout {
RenderBox parentContainer = child.parent;
double minOffsetX = 0;
double maxOffsetX = parentContainer.size.width - childWidth;
-
double offsetLeft = child.baseScrollContainerOffsetX - scrollContainer.scrollLeft;
- double viewPortWidth = scrollContainer?.size?.width;
+ // ... | fix: scroll container should not use scrolling content box | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -128,7 +128,7 @@ public class SvnClient implements IVCSClient {
e.printStackTrace();
throw new RepoMismatchException(this, tmp, e); // "Cannot create SVN repository from URL '" + tmp + "': " + e.getMessage());
}
- SvnClient.log.info("Couldn't connect to " + url + ". Retrying now")
+ SvnClient.log.info("Couldn't conn... | fix(repo-client): add trailing semi-colon | null | eclipse/steady | Apache License 2.0 | Java |
@@ -17,7 +17,10 @@ type stmt struct {
var emptyResult = &result{}
func (stmt *stmt) NumInput() int {
- if stmt.numInput < 0 {
+ switch {
+ case stmt.ch.data != nil:
+ return len(stmt.ch.data.columnNames)
+ case stmt.numInput < 0:
return 0
}
return stmt.numInput
| fix: use metadata for calculate numInputs in Execute method | null | clickhouse/clickhouse-go | Apache License 2.0 | Go |
@@ -308,6 +308,8 @@ void AtlasRuntimeOpr::scn_do_execute() {
for (size_t i = 0; i < input().size(); i++) {
auto value_pair = input_getter.get(batch, i);
auto input_size = aclmdlGetInputSizeByIndex(m_model_desc, i);
+ //! FIXME iff enable dynamic batchsize and dynamic aipp, the input
+ //! size should be the size of acl... | fix(mgb/atlas): use aclmdlGetOutputSizeByIndex to create DataBuffer | null | megengine/megengine | Apache License 2.0 | C++ |
@@ -43,7 +43,7 @@ namespace acl
{
namespace acl_impl
{
- inline TrackStreamRange calculate_track_range(const TrackStream& stream)
+ inline TrackStreamRange calculate_track_range(const TrackStream& stream, bool is_vector4)
{
rtm::vector4f min = rtm::vector_set(1e10F);
rtm::vector4f max = rtm::vector_set(-1e10F);
@@ -57,... | fix(compression): zero out W component of translation/scale track ranges | null | nfrechette/acl | MIT License | C |
@@ -129,6 +129,12 @@ export default class ScanQrWif extends React.Component {
this.setState({ isLoading: true });
let lnd = new LightningCustodianWallet();
lnd.setSecret(ret.data);
+ if (ret.data.includes('@')) {
+ const split = ret.data.split('@');
+ lnd.setBaseURI(split[1]);
+ lnd.setSecret(split[0]);
+ }
+
try {
awa... | fix: correct qr scan when importing lndhub qr backup (closes | null | bluewallet/bluewallet | MIT License | JavaScript |
@@ -27,14 +27,7 @@ pub const ENCL_SIZE_BITS: u8 = 32;
/// FIXME: doc
pub const ENCL_SIZE: usize = 1 << ENCL_SIZE_BITS;
-const XFRM: Xfrm = Xfrm::from_bits_truncate(
- Xfrm::X87.bits()
- | Xfrm::SSE.bits()
- | Xfrm::AVX.bits()
- | Xfrm::OPMASK.bits()
- | Xfrm::ZMM_HI256.bits()
- | Xfrm::HI16_ZMM.bits(),
-);
+const XFRM:... | fix(sgx): revert the use of AVX2 and AVX512 | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -20,7 +20,6 @@ package org.apache.beam.sdk.io.gcp.spanner.changestreams.mapper;
import com.google.cloud.Timestamp;
import com.google.cloud.spanner.Struct;
import com.google.cloud.spanner.Type;
-import com.google.cloud.spanner.Value;
import java.util.HashSet;
import java.util.List;
import java.util.stream.Collectors;... | fix: fix bug when retrieving either string or json | null | apache/beam | Apache License 2.0 | Java |
@@ -52,7 +52,10 @@ func IsSameResource(rRs, lRs Resource) bool {
func Sort(res []Resource) []Resource {
sort.SliceStable(res, func(i, j int) bool {
- return res[i].TerraformType() < res[j].TerraformType() || res[i].TerraformId() < res[j].TerraformId()
+ if res[i].TerraformType() != res[j].TerraformType() {
+ return res... | fix: sort method | null | cloudskiff/driftctl | Apache License 2.0 | Go |
*/
package org.activiti.cloud.services.notifications.graphql.ws.config;
-import graphql.GraphQL;
-import graphql.schema.GraphQLSchema;
import org.activiti.cloud.services.notifications.graphql.ws.transport.GraphQLBrokerMessageHandler;
import org.activiti.cloud.services.notifications.graphql.ws.transport.GraphQLBrokerSub... | fix: Replaced Spring StompBrokerRelay with SimpleStompBroker config | null | activiti/activiti-cloud | Apache License 2.0 | Java |
@@ -481,6 +481,9 @@ public class ProjectNodeSupport implements IProjectNodes, Closeable {
} catch (Throwable e) {
throw new ExecutionServiceException(e, "Could not create node source: " + e.getMessage());
}
+ if (sourceForConfiguration == null) {
+ throw new ExecutionServiceException("Could not create node source: not ... | fix: node source not found should show error message | null | rundeck/rundeck | Apache License 2.0 | Java |
@@ -66,7 +66,6 @@ import {
importPrivKey,
getListAccountHistory,
handleRestartCriteria,
- handleGetReceivedAddress,
} from './service';
import store from '../../app/rootStore';
import showNotification from '../../utils/notifications';
@@ -174,7 +173,8 @@ export function* removeReceiveTxns(action: any) {
export function... | fix: reverted to localStorage | null | defich/app | MIT License | TypeScript |
@@ -122,6 +122,8 @@ class WsMessageDispatcher implements MiddlewareInterface
// Append command middlewares
if ($middlewares) {
$middlewares = array_merge($this->middlewares, $middlewares);
+ } else {
+ $middlewares = $this->middlewares;
}
// If this->preCheckRoute is True, pre-check route match status
| fix: swoft-cloud/swoft/issues/1219 ws server middleware is not works | null | swoft-cloud/swoft-component | Apache License 2.0 | PHP |
@@ -205,6 +205,7 @@ void Notification::NotificationClosed() {
void Notification::Close() {
if (notification_) {
notification_->Dismiss();
+ notification_->set_delegate(nullptr);
notification_.reset();
}
}
| fix: Notification crash in before-quit | null | electron/electron | MIT License | C++ |
@@ -11,6 +11,10 @@ rsync -av node_modules/jsii-runtime/webpack/ ${bundle_dir}
# up an old build from the cache if it exists. So we
# explicitly clear the cache as a temporary workaround.
dotnet nuget locals all --clear
-dotnet build -c Release ./src/Amazon.JSII.Runtime.sln
+
+# Build just Runtime and it's dependencies ... | fix(jsii-dotnet-runtime): Build projects, not solutions | null | aws/jsii | Apache License 2.0 | Shell |
@@ -174,6 +174,7 @@ function getPathInfo(string $path): array
}
// forces the info according to the media main type
switch ($info['media_maintype']) {
+ case 'video':
case 'audio':
$info['headers'] += [
'Content-Transfer-Encoding: binary',
| fix(server): apply content handling to video files | null | cecilapp/cecil | MIT License | PHP |
@@ -28,10 +28,9 @@ def run_unirec(model=None, dataset=None, config_file_list=None, config_dict=None
# configurations initialization
if quick_start:
- try:
- assert model is not None and dataset is not None
- except AssertionError:
- raise AssertionError("Quick-start required positional arguments: 'model' and 'dataset'"... | fix: reformat assertion error | null | rucaibox/recbole | MIT License | Python |
@@ -266,6 +266,8 @@ func (cmd *Cmd) spawnvpSilent(ctx context.Context) (int, error) {
if fullpath == "" {
return 255, OnCommandNotFound(ctx, cmd, os.ErrNotExist)
}
+ saveArg0 := cmd.args[0]
+ defer func() { cmd.args[0] = saveArg0 }()
cmd.args[0] = fullpath
if defined.DBG {
@@ -273,6 +275,8 @@ func (cmd *Cmd) spawnvpSil... | fix: the parameter of nyagos.postexechook was expanded | null | zetamatta/nyagos | BSD 3-Clause New or Revised License | Go |
@@ -130,10 +130,10 @@ then
fi
# [Cleanup]
-sudo apt-get -y autoremove
+# sudo apt-get -y autoremove
# remove apt-get cache
-sudo rm -rf /var/lib/apt/lists/*
+# sudo rm -rf /var/lib/apt/lists/*
# This is run automatically on Debian and Ubuntu, but just in case
-sudo apt-get clean
+# sudo apt-get clean
| fix: arm docker image issue with CA certs | null | ambianic/ambianic-edge | Apache License 2.0 | Shell |
@@ -48,7 +48,7 @@ export class ModerationManagerEntry {
* Retrieve the metadata (title and color) for this entry.
*/
public get metadata() {
- const data = Moderation.metadata.get(this.type);
+ const data = Moderation.metadata.get(this.type & ~Moderation.TypeMetadata.Invalidated);
if (typeof data === 'undefined') throw... | fix: MME#metadata erroring on invalidated entries | null | skyra-project/skyra | Apache License 2.0 | TypeScript |
# See the License for the specific language governing permissions and
# limitations under the License.
+{
# set the service account key as a GOOGLE_APPLICATION_CREDENTIALS
export GOOGLE_APPLICATION_CREDENTIALS=~/key.json
@@ -30,7 +31,14 @@ export BUCKET_NAME=$bucket_name
# Import products to the Retail catalog
python ~... | fix: add an error message on user import data script in case of any errors | null | googlecloudplatform/python-docs-samples | Apache License 2.0 | Shell |
@@ -25,8 +25,12 @@ extension Temporal {
return calendar
}()
- /// Lock to ensure exclusive access
- private static var lock = os_unfair_lock_s()
+ /// Pointer to lock to ensure exclusive access.
+ private static let lock: UnsafeMutablePointer<os_unfair_lock> = {
+ let pointer = UnsafeMutablePointer<os_unfair_lock>.allo... | fix(datastore): create pointer to temporal lock | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -8,6 +8,7 @@ BUCKET='minio/test'
function main()
{
+ load_images
local mc_pod="$(get_mc_pod_name)"
remove_test_bucket "${mc_pod}"
create_test_bucket "${mc_pod}"
@@ -19,6 +20,14 @@ function main()
print_logs "${mc_pod}"
}
+function load_images()
+{
+ local images=( "fluentd:local" "controller:local")
+ for image in $... | fix(circleci): load images to minikube's registry | null | banzaicloud/logging-operator | Apache License 2.0 | Shell |
@@ -66,6 +66,7 @@ public class SearchTest extends FHIRServerTestBase {
private String observationId;
private Boolean compartmentSearchSupported = null;
private String practitionerId;
+ private String practitionerId2;
private String allergyIntoleranceId;
private String practitionerRoleId;
private String provenanceId;
@@... | fix: double practitioner in SearchTest | null | ibm/fhir | Apache License 2.0 | Java |
@@ -127,6 +127,7 @@ class SmoothTheme {
appBarTheme: AppBarTheme(
color: brightness == Brightness.dark ? null : myColorScheme.primary,
),
+ toggleableActiveColor: myColorScheme.primary,
);
}
| fix: Switch dark mode color | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.