diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -52,7 +52,7 @@ module ApplicationHelper
end
def order_history_link(id, options = {})
- stream_browser_link("History", "Orders$#{id}", options)
+ stream_browser_link("History", "Crm::Order$#{id}", options)
end
def current_link_to(label, path, **kwargs)
| fix(rails_application): adjust helper to point to real event stream path | null | railseventstore/ecommerce | MIT License | Ruby |
@@ -20,8 +20,8 @@ waybar::modules::Workspaces::Workspaces(Bar &bar)
} else
ipc_recv_response(_ipcEventfd);
uint32_t len = 0;
- auto str = ipc_single_command(_ipcfd, IPC_GET_WORKSPACES, nullptr, &len);
std::lock_guard<std::mutex> lock(_mutex);
+ auto str = ipc_single_command(_ipcfd, IPC_GET_WORKSPACES, nullptr, &len);
_... | fix(workspaces): lock mutex inside click callback | null | alexays/waybar | MIT License | C++ |
@@ -78,6 +78,9 @@ func (w *watcher) Next() ([]*registry.ServiceInstance, error) {
func (w *watcher) Stop() error {
w.cancel()
- // close
- return nil
+ return w.cli.Unsubscribe(&vo.SubscribeParam{
+ ServiceName: w.serviceName,
+ GroupName: w.groupName,
+ Clusters: w.clusters,
+ })
}
| fix(nacos): call unsubscribe when watching is stopped | null | go-kratos/kratos | MIT License | Go |
@@ -37,7 +37,8 @@ fun lookupGenerator(generatorJson: JsonObject): Generator? {
val generatorClass = findGeneratorClass(Json.toString(generatorJson["type"])).kotlin
val fromJson = when {
generatorClass.companionObject != null ->
- generatorClass.companionObjectInstance to generatorClass.companionObject?.declaredMemberFu... | fix: correct a flakey date based test | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -170,6 +170,10 @@ var zonesToCloud = map[string]kops.CloudProviderID{
"cn-northwest-1b": kops.CloudProviderAWS,
"cn-northwest-1c": kops.CloudProviderAWS,
+ "me-south-1a": kops.CloudProviderAWS,
+ "me-south-1b": kops.CloudProviderAWS,
+ "me-south-1c": kops.CloudProviderAWS,
+
"us-gov-east-1a": kops.CloudProviderAWS,
... | fix(aws): add missing region: me-south-1 | null | kubernetes/kops | Apache License 2.0 | Go |
+import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:uuid/uuid.dart';
import 'package:at_client/at_client.dart';
import 'package:at_client/src/transformer/response_transformer/notification_response_transformer.dart';
+import 'package:at_client/src/manager/monitor.dart';
+import 'package:at_cli... | fix: fail e2e tests | null | atsign-foundation/at_client_sdk | BSD 3-Clause New or Revised License | Dart |
@@ -64,9 +64,9 @@ public class NotesConverterService implements TrackerConverterService<Note, Trac
public TrackedEntityComment from( Note note )
{
TrackedEntityComment comment = new TrackedEntityComment();
+ comment.setUid( note.getNote() );
comment.setAutoFields();
comment.setCommentText( note.getValue() );
- comment.... | fix: assign UID before call to setAutoFields | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -27,6 +27,8 @@ export class LocalSearchComponent implements OnInit {
}
public ngOnInit(): void {
+ const searchBar = <HTMLTextAreaElement>document.querySelector('#searchBar');
+ searchBar.focus();
}
public search(term: string): void {
| fix: auto focus the search bar when opening local-search | null | aiursoftweb/kahla.app | MIT License | TypeScript |
@@ -603,6 +603,7 @@ module.exports = function(socket, hostname, callback, next) {
});
}, chunk, true);
} else if (HTTP_RE.test(headersStr)) {
+ socket.pause();
reqSocket = net.connect(config.port, LOCALHOST, function() {
var clientInfo = util.toBuffer(['',
config.CLIENT_IP_HEAD + ': ' + clientIp,
@@ -614,6 +615,7 @@ mo... | fix: block post http request | null | avwo/whistle | MIT License | JavaScript |
@@ -7,7 +7,7 @@ defmodule RealtimeWeb.RealtimeChannel do
require Logger
alias DBConnection.Backoff
- # alias Extensions.Postgres
+ alias Phoenix.Tracker.Shard
alias RealtimeWeb.{ChannelsAuthorization, Endpoint, Presence}
alias Realtime.{GenCounter, RateCounter, PostgresCdc}
@@ -226,7 +226,23 @@ defmodule RealtimeWeb.Re... | fix: handle Presence list call timeout without crashing channel | null | supabase/realtime | Apache License 2.0 | Elixir |
@@ -288,7 +288,12 @@ func validatePrivateKey(issuerid IssuerIdentifier, sk *gabi.PrivateKey, conf *Co
return errors.Errorf("Private key %d of issuer %s does not belong to corresponding public key", sk.Counter, issuerid.String())
}
if sk.RevocationSupported() != pk.RevocationSupported() {
- return errors.Errorf("revocat... | fix: make inconsistent revocation support in private/public keys not fatal in case of demo schemes | null | privacybydesign/irmago | Apache License 2.0 | Go |
# See the License for the specific language governing permissions and
# limitations under the License.
"""POST a new task or check status of running task."""
+import copy
import json
import logging
from functools import partial
@@ -75,8 +76,11 @@ def _check_task(taskid):
LOG.info('Checking taskid %s', taskid)
+ headers... | fix: Error when getting task status | null | foremast/foremast | Apache License 2.0 | Python |
@@ -865,6 +865,7 @@ std::string SuperMediaPlayer::GetPropertyString(PropertyKey key)
}
case PROPERTY_KEY_DELAY_INFO: {
+ std::lock_guard<std::mutex> uMutex(mCreateMutex);
if (nullptr != mDemuxerService) {
string ret = mDemuxerService->GetProperty(0, "delayInfo");
return ret;
| fix(superMediaPlayer): add lock when call GetProperty | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -26,8 +26,28 @@ function handle_strip() {
rm $1.dbg
}
+function patch_elf_depend_lib() {
+ echo "handle common depend lib"
+ LIBS_DIR=${BUILD_DIR}/staging/megengine/core/lib
+ mkdir -p ${LIBS_DIR}
+ cp /usr/lib64/libatomic.so.1 ${LIBS_DIR}
+
+ patchelf --remove-rpath ${BUILD_DIR}/staging/megengine/core/_imperative_r... | fix(whl/macos/windows/linux): fix macos/windows whl broken caused by | null | megengine/megengine | Apache License 2.0 | Shell |
@@ -14,6 +14,30 @@ module.exports = {
let config;
try {
config = JSON.parse(context.parameters.options.config);
+ let awsCF = config.awscloudformation;
+ if (
+ !(
+ config.hasOwnProperty('awscloudformation') &&
+ awsCF.hasOwnProperty('Region') &&
+ awsCF.Region &&
+ awsCF.hasOwnProperty('DeploymentBucketName') &&
+ aw... | fix: Check that config object exists before creating new env | null | aws-amplify/amplify-cli | Apache License 2.0 | JavaScript |
@@ -139,7 +139,7 @@ storiesOf("Molecules|Pagination", module)
<template #number="{page}">
<button
class="sf-pagination__button"
- :class="{'sf-pagination__button--current': (current === number)}">{{page}}</button>
+ :class="{'sf-pagination__button--current': current === page}">{{page}}</button>
</template>
</SfPaginati... | fix: quick fix for number slot in pagination | null | vuestorefront/storefront-ui | MIT License | JavaScript |
@@ -65,6 +65,8 @@ class Shell:
if WINDOWS:
return env.execute(self.path)
+ import shlex
+
terminal = Terminal()
with env.temp_environ():
c = pexpect.spawn(
@@ -77,7 +79,9 @@ class Shell:
activate_script = self._get_activate_script()
bin_dir = "Scripts" if WINDOWS else "bin"
activate_path = env.path / bin_dir / activate... | fix(shell): quote path before activating env | null | python-poetry/poetry | MIT License | Python |
@@ -1799,7 +1799,6 @@ fn make_body(
})
.collect::<Vec<SyntaxElement>>();
let tail_expr = tail_expr.map(|expr| expr.dedent(old_indent).indent(body_indent));
-
make::hacky_block_expr_with_comments(elements, tail_expr)
}
};
@@ -1860,9 +1859,29 @@ fn with_default_tail_expr(block: ast::BlockExpr, tail_expr: ast::Expr) -> as... | fix: make make_body respect comments in extract_function | null | rust-lang/rust-analyzer | Apache License 2.0 | Rust |
@@ -171,7 +171,7 @@ make_setting_route!(
use serde_json::json;
analytics.publish(
- "TypoToleranceUpdated Updated".to_string(),
+ "TypoTolerance Updated".to_string(),
json!({
"typo_tolerance": {
"enabled": setting.as_ref().map(|s| !matches!(s.enabled, Setting::Set(false))).unwrap_or(true),
| fix(http): fix event name for typo tolerance settings update | null | meilisearch/meilisearch | MIT License | Rust |
@@ -293,9 +293,7 @@ class BoxDecorationPainter extends BoxPainter {
if (_decoration.image == null) return;
_imagePainter ??= BoxDecorationImagePainter._(
_decoration.image!,
- renderStyle.backgroundPositionX,
- renderStyle.backgroundPositionY,
- renderStyle.backgroundSize,
+ renderStyle,
onChanged!
);
Path? clipPath;
@... | fix: background-size background-position update not work | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -940,6 +940,7 @@ struct DDTeamCollection : ReferenceCounted<DDTeamCollection> {
for(auto& it : self->resultEntries) {
serverIds.push_back(*tempMap->getObject(it));
}
+ std::sort(serverIds.begin(), serverIds.end());
self->addTeam(serverIds.begin(), serverIds.end(), true);
}
} else {
| fix: add subsetOfEmergencyTeam could add an unsorted team | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -134,13 +134,13 @@ read_unweighted_asymmetric_graph(const char* fname, bool mmap,
// Reads in just the out-edges and computes the in-edges.
std::tie(n, m, offsets, edges) =
parse_unweighted_graph(fname, mmap, false, bytes, bytes_size);
- gbbs::free_array(offsets, n + 1);
auto v_data = gbbs::new_array_no_init<vertex_... | fix: Fix use-after-free | null | paralg/gbbs | MIT License | C++ |
@@ -5,6 +5,7 @@ import 'package:flutter/rendering.dart';
import 'package:flutter/animation.dart';
import 'package:kraken/css.dart';
import 'package:kraken/dom.dart';
+import 'package:kraken/rendering.dart';
import 'package:flutter/scheduler.dart';
// https://drafts.csswg.org/web-animations/#enumdef-animationplaystate
@... | fix: transform test fail | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -185,7 +185,7 @@ def _lambda_handler(event, context):
# Deserialize DynamoDB type to Python types
doc_fields = ddb_deserializer.deserialize({'M': ddb[image_name]})
- logger.debug('Deserialized doc_fields: ' + doc_fields)
+ logger.debug('Deserialized doc_fields: ', doc_fields)
doc_id = doc_fields['id'] if 'id' in doc... | fix(graphql-elasticsearch-transformer): es logging fix | null | aws-amplify/amplify-cli | Apache License 2.0 | Python |
@@ -12,25 +12,22 @@ except:
from PySide2.QtCore import *
#----------------------------------------------
-a = hiero.ui.findMenuAction('Import Clips...')
+a = hiero.ui.findMenuAction('Import File(s)...')
# Note: You probably best to make this 'Ctrl+R' - currently conflicts with 'Red' in the Viewer!
a.setShortcut(QKeySeq... | fix(nukestudio): fixing to new hiero api | null | pypeclub/openpype | MIT License | Python |
@@ -162,8 +162,8 @@ def create(kind, token, users=None, name=None):
room = squashify(frappe.db.sql("""
SELECT name
FROM `tabChat Room`
- WHERE owner = "{owner}"
- """.format(owner=frappe.session.user), as_dict=True))
+ WHERE owner=%s
+ """, (frappe.session.user), as_dict=True))
if room:
room = frappe.get_doc('Chat Room... | fix(chat): change sql formatting | null | frappe/frappe | MIT License | Python |
@@ -7,7 +7,6 @@ import asyncio
import logging
from aiohttp import ClientSession
from aiohttp import ClientTimeout
-import aiofiles
logging.basicConfig(
format="%(asctime)s %(levelname)s:%(name)s: %(message)s",
@@ -55,7 +54,6 @@ async def fetch_html(url: str, session: ClientSession) -> str:
print(html)
return html
else:... | fix: remove not needed import | null | decentralized-identity/universal-resolver | Apache License 2.0 | Python |
@@ -149,15 +149,15 @@ sed -i.bak "s/RCTF_NAME=.*$/RCTF_NAME=\"$(echo "$RCTF_NAME" | sed -e 's/\\/\\\\
sed -i.bak "s/RCTF_TOKEN_KEY=.*$/RCTF_TOKEN_KEY=$(echo "$RCTF_TOKEN_KEY" | sed -e 's/\\/\\\\/g; s/\//\\\//g; s/&/\\\&/g')/g" .env
info "Changing permissions of .env (chmod 600 .env)..."
-
+echo 1
chmod 600 .env .env.ex... | fix(install): add debug info for curl cmd | null | redpwn/rctf | BSD 3-Clause New or Revised License | Shell |
@@ -346,8 +346,7 @@ public class JdbcEnrollmentAnalyticsManager
}
else
{
- colName = quoteAlias( colName );
- return item.isText() ? "lower(" + colName + ")" : colName;
+ return quoteAlias( colName );
}
}
| fix: Remove lowercase of columns | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -25,9 +25,9 @@ namespace Uno.Material.Controls
public event ChipItemRemovingEventHandler ItemRemoving;
public event ChipItemEventHandler ItemRemoved;
+ private bool _isLoaded = false;
private bool _isSynchronizingSelection = false;
private bool _isUpdatingSelection = false;
- private bool _needsToSynchronizeInitialS... | fix: Allow ChipGroup initial section when ItemsSource is set after SelectedItem | null | unoplatform/uno.themes | Apache License 2.0 | C# |
*/
package com.b2international.snowowl.core.rest.resource;
-import java.util.List;
import java.util.concurrent.TimeUnit;
import org.elasticsearch.common.Strings;
@@ -27,9 +26,7 @@ import com.b2international.commons.exceptions.NotFoundException;
import com.b2international.snowowl.core.Resource;
import com.b2internationa... | fix(sorting): Remove new default sorts | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -116,7 +116,7 @@ protected virtual void Update()
climbingObjectLastRotation = climbingObject.transform.rotation;
}
- if (!IsHeadsetColliding())
+ if (positionRewind != null && !IsHeadsetColliding())
{
positionRewind.SetLastGoodPosition();
}
@@ -233,7 +233,7 @@ protected virtual void Grab(GameObject currentGrabbingCo... | fix(Locomotion): prevent exception with missing player rewind | null | extendrealityltd/vrtk | MIT License | C# |
@@ -151,7 +151,7 @@ impl NodeCtx {
Ok(Self {
pat: ident.clone(),
ty: ty.clone(),
- path: Self::path(&ty)?,
+ path: Self::path(ty)?,
mutability,
and_token,
})
| fix(rust): fix clippy warning about needless borrow | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -47,7 +47,8 @@ export const FeatureTagCell: VFC<IFeatureTagCellProps> = ({ row, value }) => {
<StyledLink
underline="always"
highlighted={
- searchQuery.length > 0 && value.includes(searchQuery)
+ searchQuery.length > 0 &&
+ value.toLowerCase().includes(searchQuery.toLowerCase())
}
>
{row.original.tags?.length === 1... | fix: tags highlight case sensitivity | null | unleash/unleash | Apache License 2.0 | TypeScript |
@@ -98,8 +98,7 @@ public class SpringServlet extends VaadinServlet {
* prefixed with
* {@link VaadinServletConfiguration#VAADIN_SERVLET_MAPPING}
*/
- public SpringServlet(ApplicationContext context,
- boolean rootMapping) {
+ public SpringServlet(ApplicationContext context, boolean rootMapping) {
this.context = context... | fix: copy all init props to the config props instead set as default | null | vaadin/flow | Apache License 2.0 | Java |
from atlas.task.maintain import GitFetch, GitPull, PipInstall, Restart
-from atlas.conditions import TasksAlive, IsGitBehind
+from atlas.conditions import TasksAlive, IsGitBehind, DependSuccess
from .tasks import TaskFinderBase
| fix: missing import in AutoUpdate | null | miksus/rocketry | MIT License | Python |
**/
import Foundation
-import RestKit
/**
The response sent by the workspace, including the output text, detected intents and entities, and context.
@@ -58,9 +57,6 @@ public struct MessageResponse: Codable, Equatable {
*/
public var actions: [DialogNodeAction]?
- /// Additional properties associated with this model.
- ... | fix(AssistantV1): Remove erroneous `additionalProperties` from MessageResponse | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -30,8 +30,8 @@ export const useApi = (operation, options) => {
if (cookie) options.headers.Cookie = cookie
},
loadOnMount: true,
- loadOnReload: true,
- loadOnReset: true,
+ loadOnReload: false,
+ loadOnReset: false,
...options
})
const { load, loading, cacheValue: { data, graphQLErrors } = {} } = res
| fix: unnecessary data reloads | null | banmanagement/banmanager-webui | MIT License | JavaScript |
@@ -17,7 +17,7 @@ class CreateServicePickerCatalogOption extends React.Component {
<CreateServiceModalServicePickerOption
columnClasses={columnClasses}
onOptionSelect={onOptionSelect.bind(null, {
- route: "catalog",
+ route: "/catalog",
type: "redirect"
})}
>
| fix(CreateServiceModalCatalogPanelOption): fix redirect to catalog | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -3920,7 +3920,6 @@ static ENGINE_ERROR_CODE do_btree_elem_update(btree_meta_info *info,
}
do_btree_elem_replace(info, &posi, new_elem);
- do_btree_elem_release(new_elem);
}
return ENGINE_SUCCESS;
@@ -4728,8 +4727,8 @@ static ENGINE_ERROR_CODE do_btree_elem_arithmetic(btree_meta_info *info,
if (ret != ENGINE_SUCCESS)... | fix: Do not decrease refcount after allocating an element | null | naver/arcus-memcached | Apache License 2.0 | C |
@@ -21,7 +21,7 @@ class ProtectionCoordinator: Coordinator {
}
func didFinishLaunchingWithOptions() {
- splashCoordinator.start()
+ //Not calling `splashCoordinator.start()` here because it seems unnecessary, and most importantly, the implementation (changing `UIWindow.rootViewController`) seems to be (one of?) the rea... | fix: hang at splash screen at launch | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
@@ -3,16 +3,23 @@ const diff = require("jest-diff");
const { NO_DIFF_MESSAGE } = require("jest-diff/build/constants");
const { decode } = require("@webassemblyjs/wasm-parser");
-export function compareArrayBuffers(l, r) {
const oldConsoleLog = console.log;
+export function compareArrayBuffers(l, r) {
/**
* Decode left
... | fix: improve buffer comparison a bit | null | xtuc/webassemblyjs | MIT License | JavaScript |
@@ -51,8 +51,6 @@ namespace acl
ACL_ASSERT(bulk_data != nullptr, "Bulk data buffer cannot be null");
}
- virtual ~null_database_streamer() {}
-
virtual bool is_initialized() const override { return m_bulk_data_size == 0 || m_bulk_data != nullptr; }
virtual const uint8_t* get_bulk_data(quality_tier tier) const override
| fix(decompression): use default destructor implementation (sonarcloud) | null | nfrechette/acl | MIT License | C |
@@ -212,11 +212,11 @@ pub enum ParseRequestError {
/// The request's syntax was invalid.
#[error("Invalid request: {0}")]
- InvalidRequest(Box<dyn std::error::Error>),
+ InvalidRequest(Box<dyn std::error::Error + Send + Sync>),
/// The request's files map was invalid.
#[error("Invalid files map: {0}")]
- InvalidFilesMa... | fix: mark error types with Send and Sync | null | async-graphql/async-graphql | Apache License 2.0 | Rust |
-import * as reduceCSSCalc from 'reduce-css-calc';
import { ViewBase } from '../view-base';
@@ -153,7 +152,7 @@ export function _evaluateCssCalcExpression(value: string) {
if (isCssCalcExpression(value)) {
// WORKAROUND: reduce-css-calc can't handle the dip-unit.
- return reduceCSSCalc(value.replace(/([0-9]+(\.[0-9]+)?... | fix: allow ignoring `reduce-css-calc` w/ webpack without error | null | nativescript/nativescript | MIT License | TypeScript |
@@ -315,12 +315,15 @@ impl Lvol {
r.await
.expect("lvol destroy callback is gone")
- .to_result(|e| Error::RepDestroy {
+ .to_result(|e| {
+ warn!("error while destroying lvol {}", name);
+ Error::RepDestroy {
source: Errno::from_i32(e),
- name: self.name(),
+ name: name.clone(),
+ }
})?;
- info!("Destroyed {}", name);... | fix(lvol): referring lvol name after destroy | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -87,7 +87,7 @@ export class Validator {
private validateMaxRange = (value: string): boolean => {
return !Validator.convertToRangeArray(value)
- .map(this.validateMaxRange)
+ .map(this.validateMaxSingle)
.includes(false);
};
| fix(elements|ino-datepicker): max validation leads to recursion | null | inovex/elements | MIT License | TypeScript |
@@ -983,7 +983,6 @@ namespace Files.App.Helpers
Command = commandsViewModel.PinItemToStartCommand,
ShowOnShift = true,
ShowItem = selectedItems.All(x => !x.IsShortcut && (x.PrimaryItemAttribute == StorageItemTypes.Folder || x.IsExecutable) && !x.IsArchive && !x.IsItemPinnedToStart),
- ShowInRecycleBin = true,
ShowInSea... | fix: Don't show Pin/Unpin for items in recycle bin | null | files-community/files | MIT License | C# |
@@ -48,8 +48,8 @@ public class CommonUtil {
String source = adapter.getStorageProvider();
String outcome = adapter.getStorageProviderOutcomes();
- if (ConfigurationFactory.getInstance().hasStorageProvider(source)
- || ConfigurationFactory.getInstance().hasStorageProvider(outcome)) {
+ if (!ConfigurationFactory.getInsta... | fix: logic for storage provider check | null | ibm/fhir | Apache License 2.0 | Java |
@@ -6,7 +6,6 @@ import (
"io/ioutil"
"log"
"net/http"
- "os"
"github.com/google/go-github/github"
"gopkg.in/gin-gonic/gin.v1"
@@ -131,23 +130,6 @@ func (s *githubHook) handleEvent(c *gin.Context, eventType string) {
// buildStatus runs a build, and sets upstream status accordingly.
func (s *githubHook) buildStatus(even... | fix(webhook): do not set ssh key in environment | null | brigadecore/brigade | Apache License 2.0 | Go |
@@ -1999,17 +1999,25 @@ void GenericRegistrationFilter::GuessParameter()
_Resolution[level][n]._y = s * _Resolution[level-1][n]._y;
_Resolution[level][n]._z = s * _Resolution[level-1][n]._z;
} else {
- if (IsNaN(_Resolution[level][n]._x) || _Resolution[level][n]._x == .0) {
+ if (_Resolution[level][n]._x < .0) {
+ _Res... | fix: Allow level resolution in vox units relative to input image voxel size [Registration] | null | biomedia/mirtk | Apache License 2.0 | C++ |
@@ -23,6 +23,7 @@ import com.google.common.collect.ImmutableMap;
import io.appium.java_client.MobileElement;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.ios.IOSElement;
+import io.appium.java_client.mac.Mac2Element;
import io.appium.java_client.remote.AutomationName;
import io.appi... | fix: bind mac2element in element map for mac platform | null | appium/java-client | Apache License 2.0 | Java |
@@ -42,10 +42,6 @@ namespace Unity.Netcode
for (int i = 0; i < networkManager.ConnectedClientsList.Count; i++)
{
var client = networkManager.ConnectedClientsList[i];
- if (networkManager.IsHost && client.ClientId == networkManager.LocalClientId)
- {
- continue;
- }
if (dirtyObj.IsNetworkVisibleTo(client.ClientId))
{
| fix: Letting NetworkVariables be serialized even if they're not going to be sent | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -75,14 +75,13 @@ namespace Objects.Converter.Revit
continue;
}
- ContextObjects.RemoveAt(isSelectedInContextObjects);
-
ApplicationObject reportObj = Report.GetReportObject(element.UniqueId, out int index) ? Report.ReportObjects[index] : new ApplicationObject(element.UniqueId, element.GetType().ToString());
if (CanC... | fix(Revit): Don't remove context object unless it converts successfully | null | specklesystems/speckle-sharp | Apache License 2.0 | C# |
@@ -309,6 +309,10 @@ class UpdateSearchCommand extends Command
}
}
+ if ($contentName === 'ContentFinderCondition') {
+ unset($content['Transient']);
+ }
+
return $content;
}
| fix: missing ContentFinderConditions in search index | null | xivapi/xivapi.com | MIT License | PHP |
@@ -13,6 +13,7 @@ import me.melijn.melijnbot.internals.utils.message.sendRsp
import me.melijn.melijnbot.internals.utils.message.sendSyntax
import net.dv8tion.jda.api.Permission
import net.dv8tion.jda.api.entities.GuildChannel
+import net.dv8tion.jda.api.entities.PermissionOverride
import net.dv8tion.jda.api.entities.Te... | fix: workaround for broken upsert | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -74,11 +74,13 @@ func initSocketHandler(so socketio.Socket, p *session.Pty) {
data, err := p.Read()
if err != nil {
log.Errorf("[%s] read data error: %v", so.Id(), err)
- err = p.Stop()
+ /*err = p.Stop()
if err != nil {
log.Warningf("[%s] stop tty error: %v", so.Id(), err)
}
p.Session.Reconnect()
+ */
+ cleanUp(so,... | fix: webconsole close socket when read on error | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -4,10 +4,11 @@ import (
"bytes"
"encoding/json"
"fmt"
- "github.com/keptn/keptn/shipyard-controller/internal/common"
"io/ioutil"
"net/http"
+ "github.com/keptn/keptn/shipyard-controller/internal/common"
+
oauthutils "github.com/keptn/go-utils/pkg/common/oauth2"
"github.com/keptn/keptn/shipyard-controller/models"
@@ ... | fix(shipyard-controller): Set headers only if request was successfully created | null | keptn/keptn | Apache License 2.0 | Go |
@@ -345,7 +345,7 @@ export class List extends DataModel {
// While each requirement has enough items remaining, you can craft the item.
// If only one misses, then this will turn false for the rest of the loop
canCraft = canCraft &&
- (requirementItem.done - requirementItem.used) >= requirement.amount * (item.amount_ne... | fix: wrong amount used in some crafts for canBeCrafted flag | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -467,8 +467,16 @@ export default class Model {
let attribute = this.map[name]
let value = result[attribute]
if (value === undefined) {
+ if (field.default) {
+ if (typeof field.default == 'function') {
+ value = field.default(this, fieldName, properties)
+ } else {
+ value = field.default
+ }
+ } else {
continue
}
+... | fix: default values on get/find | null | sensedeep/dynamodb-onetable | MIT License | JavaScript |
@@ -11,8 +11,8 @@ import anyconfig.init
PACKAGE = "anyconfig"
-AUTHOR = "Satoru SATOH <ssato@redhat.com>"
-VERSION = "0.9.10"
+AUTHOR = "Satoru SATOH <satoru.satoh@gmail.com>"
+VERSION = "0.9.11"
LOGGER = anyconfig.init.getLogger(PACKAGE)
| fix: change my contact address; 0.9.11 rc1 | null | ssato/python-anyconfig | MIT License | Python |
@@ -193,11 +193,12 @@ MempoolStatus::read_mempool()
// clear current mempool txs vector
// repopulate it with each execution of read_mempool()
// not very efficient but good enough for now.
- mempool_txs = std::move(local_copy_of_mempool_txs);
mempool_no = local_copy_of_mempool_txs.size();
mempool_size = mempool_size_k... | fix: mempool_no shows zero | null | moneroexamples/onion-monero-blockchain-explorer | BSD 3-Clause New or Revised License | C++ |
@@ -36,6 +36,7 @@ if [ -n "$CHANGED_DERIVED" ] ; then
echo "$CHANGED_DERIVED"
echo "Run the following to add up-to-date resources:"
echo " mvn clean verify -DskipTests -DskipITs \\"
+ echo " && make crd_install \\"
echo " && git add install/ helm-charts/ documentation/book/appendix_crds.adoc cluster-operator/src/main/r... | fix: Update build echo for updating resources | null | strimzi/strimzi-kafka-operator | Apache License 2.0 | Shell |
@@ -198,10 +198,15 @@ function defaultId() {
}
function resetId(v) {
+ Document || (Document = require('./../document'));
+
if (v === void 0) {
return new oid();
}
+
+ if (this instanceof Document) {
delete this.$__._id;
+ }
return v;
}
| fix(query): handle runSettersOnQuery in built-in _id setter | null | automattic/mongoose | MIT License | JavaScript |
@@ -11,11 +11,11 @@ namespace Discord.Rest
internal IGuild Guild { get; private set; }
internal ITextChannel Channel { get; private set; }
- /// <inheritdoc />
- public ulong ChannelId { get; }
/// <inheritdoc />
public string Token { get; }
+ /// <inheritdoc />
+ public ulong ChannelId { get; private set; }
/// <inher... | fix: Update Webhook ChannelId from model change | null | discord-net/discord.net | MIT License | C# |
@@ -56,6 +56,7 @@ export class RemoteLabExecService {
consumeExecution(messages: Observable<ExecutionMessage>, execution: Observable<Execution>): Observable<ExecutionWrapper> {
let sharedMessages = messages.share();
+ let sharedExecution = execution.share();
let messagesNotFinishedOrRejected = (msg: ExecutionMessage) =... | fix(rleService): ensure stream is shared | null | machinelabs/machinelabs | MIT License | TypeScript |
@@ -48,7 +48,7 @@ class ToolbarButtonWithDialog extends Component {
/**
* The React Component to show within {@code InlineDialog}.
*/
- content: PropTypes.object,
+ content: PropTypes.func,
/**
* From which side tooltips should display. Will be re-used for
| fix(toolbar): fix proptype warning | null | jitsi/jitsi-meet | Apache License 2.0 | JavaScript |
@@ -171,8 +171,8 @@ fn build_contract_info(
info.block_lt = block_lt;
info.trans_lt = tr_lt;
info.unix_time = block_unixtime;
- info.balance_remaining_grams = balance.grams.as_u128();
- info.balance_remaining_other = balance.other_as_hashmap();
+ info.balance.grams = balance.grams.as_u128().into();
+ info.balance.other... | fix: call_tvm was used deprecated vm features | null | tonlabs/ton-sdk | Apache License 2.0 | Rust |
@@ -237,6 +237,7 @@ func (s *SKVMGuestInstance) generateStartScript(data *jsonutils.JSONDict) (strin
HomeDir: s.HomeDir(),
HugepagesEnabled: s.manager.host.IsHugepagesEnabled(),
PidFilePath: s.GetPidFilePath(),
+ BIOS: s.getBios(),
}
)
| fix: not initialize input BIOS | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -59,7 +59,10 @@ const OnePageNavBar: React.FC<OnePageNavBar> = props => {
setScrollTop(window.scrollY)
const currentSectionScrolled: NavSection = getCurrentSection()
- if (typeof currentSectionScrolled !== 'undefined') {
+ if (
+ typeof currentSectionScrolled !== 'undefined' &&
+ !location.hash.includes(currentSecti... | fix(styleguide): conditional not call pushState always | null | adaptiveconsulting/reactivetradercloud | Apache License 2.0 | TypeScript |
@@ -3,7 +3,6 @@ use serde::{Deserialize, Serialize};
use std::{
collections::{hash_map::Entry, HashMap},
fmt,
- fmt::Write,
path::{Path, PathBuf},
str::FromStr,
};
@@ -110,11 +109,23 @@ impl<'de> Deserialize<'de> for Remapping {
// Remappings are printed as `prefix=target`
impl fmt::Display for Remapping {
fn fmt(&self... | fix(solc): use path slash for remapping display on windows | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -6,6 +6,9 @@ export default errors => {
if (error.message === 'should be string') {
error.message = 'This field is required';
}
+ if (error.name === 'format' && error.message === 'should match format "email"') {
+ error.message = 'Email provided is invalid';
+ }
return error;
});
};
| fix(form-error): fix email invalid error | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -299,7 +299,7 @@ pub fn init(
// so we may add another flag for this in the future.
// e.g. `--log-scope=stencila` vs `--log-scope=all`.
let directives = format!(
- "{},reqwest=info,html5ever=info,hyper=info,warp=info",
+ "{},html5ever=info,hyper=info,reqwest=info,rustyline=info,warp=info",
min_level.to_string()
);
| fix(Logging): Filter out `rustyline` debug log entries | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -341,7 +341,20 @@ defmodule Ash.Actions.Read do
end
defp paginate(starting_query, action, filter_requests, initial_offset, initial_limit, opts) do
- page_opts = opts[:page]
+ page_opts =
+ cond do
+ !(action.pagination && action.pagination.default_limit) ->
+ opts[:page]
+
+ Keyword.keyword?(opts[:page]) && !Keyword... | fix: default pagination limit triggers pagination | null | ash-project/ash | MIT License | Elixir |
@@ -37,7 +37,7 @@ get5url="${get5downloadurl}"
# Oxide
oxiderustlatestlink="https://umod.org/games/rust/download/develop" # fix for linux build 06.09.2019
oxidehurtworldlatestlink=$(curl -sL https://api.github.com/repos/OxideMod/Oxide.Hurtworld/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep "Oxide... | fix(mods): sdtd oxide url parsing from github with jq | null | gameservermanagers/linuxgsm | MIT License | Shell |
@@ -314,14 +314,11 @@ export default class SimpleBar {
let resizeObserverStarted = false;
let resizeAnimationFrameId = null;
const resizeObserver = elWindow.ResizeObserver || ResizeObserver;
- this.resizeObserver = new resizeObserver(() => {
- if (!resizeObserverStarted) return;
- if (resizeAnimationFrameId !== null) {... | fix(core): fix scope error introduced in PR | null | grsmto/simplebar | MIT License | JavaScript |
@@ -171,11 +171,12 @@ set_method(
enum http_method method,
struct sized_buffer *req_body)
{
- (*ua->config.json_cb)(
- false,
- 0,
- &ua->config,
- (req_body) ? req_body->start : NULL);
+ struct sized_buffer blank_req_body = {"", 0};
+ if (NULL == req_body) {
+ req_body = &blank_req_body;
+ }
+
+ (*ua->config.json_cb)(... | fix: NULL req_body will be assigned a blank req_body | null | cee-studio/orca | MIT License | C |
@@ -323,7 +323,7 @@ func (ps *PushSync) PushChunkToClosest(ctx context.Context, ch swarm.Chunk) (*Re
BlockHash: r.BlockHash}, nil
}
-func (ps *PushSync) pushToClosest(ctx context.Context, ch swarm.Chunk, retryAllowed bool, origin swarm.Address) (*pb.Receipt, error) {
+func (ps *PushSync) pushToClosest(ctx context.Conte... | fix: switched to each peer iterator for pushsync replication | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
#include "base/base_switches.h"
#include "base/command_line.h"
+#include "base/debug/crash_logging.h"
#include "base/environment.h"
#include "base/files/file_util.h"
#include "base/json/json_reader.h"
@@ -718,7 +719,13 @@ void ElectronBrowserClient::AppendExtraCommandLineSwitches(
<< "Aborted from launching unexpected ... | fix: gather crash data for unexpected helper path | null | electron/electron | MIT License | C++ |
#include "acl/version.h"
#include <rtm/impl/compiler_utils.h>
+#include <rtm/impl/detect_arch.h>
#include <type_traits>
// compilation flags used. However, in some cases, certain options must be forced.
// To do this, every header is wrapped in two macros to push and pop the necessary
// pragmas.
+//
+// Options we use... | fix(core): disable fast math with GCC and clang | null | nfrechette/acl | MIT License | C |
@@ -71,12 +71,12 @@ class TwitterService(
for (i in 0 until arrSize) {
val tweetData = arr.getObject(i)
-
- list.add(
- TweetInfo(
-
- )
- )
+//
+// list.add(
+// TweetInfo(
+//
+// )
+// )
}
return list
}
| fix: TwitterService.kt compile error | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -277,7 +277,10 @@ impl<'n> Nexus<'n> {
let paused = self.as_mut().pause_rebuild_jobs(uri).await;
let idx = match self.children_iter().position(|c| c.uri() == uri) {
- None => return Ok(()),
+ None => {
+ paused.resume().await;
+ return Ok(());
+ }
Some(val) => val,
};
| fix(nexus): fixing assert failure when removing non-existing child | null | openebs/mayastor | Apache License 2.0 | Rust |
@@ -31,6 +31,7 @@ import org.testng.annotations.*;
import java.io.*;
import java.net.*;
import java.text.*;
+import java.util.logging.*;
import static org.jitsi.meet.test.util.TestUtils.*;
import static org.testng.Assert.*;
@@ -139,7 +140,7 @@ public class DialInAudioTest
}
catch(Throwable t)
{
- t.printStackTrace();
+... | fix: Fixes NPE and better logging in dial in audio test | null | jitsi/jitsi-meet-torture | Apache License 2.0 | Java |
@@ -15,7 +15,9 @@ defmodule Ash.CiString do
defimpl Jason.Encoder do
def encode(ci_string, _opts) do
- Ash.CiString.value(ci_string)
+ ci_string
+ |> Ash.CiString.value()
+ |> Jason.Encode.string()
end
end
| fix: properly encode ci string to json | null | ash-project/ash | MIT License | Elixir |
@@ -376,6 +376,8 @@ export class ViewportManager extends BaseManager {
private unbindSizeDetector: () => void
init() {
if (this.graph.infinite) {
+ this.container.style.zIndex = '1'
+ this.container.style.position = 'relative'
this.container.style.overflow = 'auto'
this.unbindSizeDetector = sizeSensor.bind(this.contain... | fix: fix z-index of container when infinite | null | antvis/x6 | MIT License | TypeScript |
@@ -336,7 +336,10 @@ def run(
model, extras = load_checkpoint(
type_="ensemble", weights=weights, device=device
) # load FP32 model
- nc, names = extras["ckpt"]["nc"], model.names # number of classes, class names
+ nc, names = (
+ extras["ckpt"].get("nc") or model.nc,
+ model.names,
+ ) # number of classes, class names... | fix: nc read compatability for old and new yolov5 | null | neuralmagic/sparseml | Apache License 2.0 | Python |
@@ -124,7 +124,7 @@ const addTypeSpec = (
spec: TopLevelType
) => {
if (!(spec.name && spec.type)) invalidSpec(path);
- if (!(spec.type === "enum" || spec.type === "struct"))
+ if (!["enum", "struct", "union"].includes(spec.type))
invalidSpec(path, `${spec.name} type: ${spec.type}`);
if (coll[spec.name]) invalidSpec(pa... | fix(wasm-api): update CLI wrapper to allow unions | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -130,7 +130,7 @@ if [ "$REPLY" == "y" ] ; then
echo "";
echo "*****************************************************";
echo "* Pull request message copied to your clipboard! *";
- echo "* Paste it in and use the 'Squash and merge' button *";
+ echo "* Paste it in and use the 'Rebase and merge' button *";
echo "******... | fix(publish): Change instruction text to use 'Rebase and merge' instead of squash | null | spinnaker/deck | Apache License 2.0 | Shell |
@@ -21,7 +21,21 @@ class VideoMediaViewController: EmbeddableMediaViewController, UIGestureRecogniz
return contentType == ContentType.CType.VIDEO
}
- var youtubeMute = false
+ var youtubeMute = false {
+ didSet(fromValue) {
+ let startAlpha = youtubeMute ? 0 : 1
+ let endAlpha = youtubeMute ? 1 : 0
+
+ UIView.animate(w... | fix: improve handling of async logic for youtube player | null | ccrama/slide-ios | Apache License 2.0 | Swift |
@@ -109,9 +109,6 @@ const MenuItem = styled.div`
const UserSettingsMenuBody = props => {
const applicationsMenu = useApplicationsMenu({
queryOptions: {
- // We can assume here that the navbar already fetched the data, since this
- // component gets rendered only when the user opens the menu
- fetchPolicy: 'cache-only',... | fix(app-shell): use default cache-first fetch policy for user account menu | null | commercetools/merchant-center-application-kit | MIT License | JavaScript |
@@ -117,7 +117,7 @@ async def get_mempool_info(endPoint: str, gerty) -> dict:
mempool_id,
json.dumps(response.json()),
endPoint,
- time.time(),
+ db.timestamp_now,
gerty.mempool_endpoint,
),
)
@@ -129,7 +129,7 @@ async def get_mempool_info(endPoint: str, gerty) -> dict:
"UPDATE gerty.mempool SET data = ?, time = ? WHER... | fix: Changed mempool caching to use db.timestamp_now instead of time.time() | null | lnbits/lnbits | MIT License | Python |
package me.melijn.melijnbot.commands.utility
-import kotlinx.coroutines.*
+import kotlinx.coroutines.delay
import me.melijn.melijnbot.internals.command.AbstractCommand
import me.melijn.melijnbot.internals.command.CommandCategory
import me.melijn.melijnbot.internals.command.ICommandContext
@@ -8,6 +8,7 @@ import me.meli... | fix: java needs to obey and kill thread | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -13,7 +13,6 @@ build_go_fuzzer() {
}
go get github.com/AdamKorcz/go-118-fuzz-build/utils
-go get github.com/prometheus/common/expfmt@v0.32.1
build_go_fuzzer FuzzCryptoHDDerivePrivateKeyForPath fuzz_crypto_hd_deriveprivatekeyforpath
build_go_fuzzer FuzzCryptoHDNewParamsFromPath fuzz_crypto_hd_newparamsfrompath
| fix(fuzz): fix OSS-Fuzz build | null | cosmos/cosmos-sdk | Apache License 2.0 | Shell |
@@ -533,7 +533,10 @@ class BaseApi(AbstractViewApi):
def add_apispec_components(self, api_spec: APISpec) -> None:
for k, v in self.responses.items():
- api_spec.components._responses[k] = v
+ try:
+ api_spec.components.response(k, v)
+ except DuplicateComponentNameError:
+ pass
for k, v in self._apispec_parameter_schem... | fix(api): register responses with apispec using components.response() | null | dpgaspar/flask-appbuilder | BSD 3-Clause New or Revised License | Python |
@@ -73,7 +73,7 @@ public class ArquillianResourceTestEnricher implements TestEnricher {
}
field.set(testCase, value);
} catch (Exception e) {
- throw new RuntimeException("Could not set value on field " + field + " using " + value);
+ throw new RuntimeException("Could not set value on field " + field + " using " + valu... | fix: preserves exception and it's context while throwing it | null | arquillian/arquillian-core | Apache License 2.0 | Java |
@@ -26,7 +26,6 @@ import org.slf4j.Logger;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
-import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
@@ -34,7 +33,6 @@ import static io.enmasse.systemtest.Environment.useMinikubeEnv;... | fix: use openshift user instead of user from binding | null | enmasseproject/enmasse | Apache License 2.0 | Java |
@@ -231,6 +231,7 @@ class Session:
self.insert_session_record()
# update user
+ user = frappe.get_doc("User", self.data['user'])
frappe.db.sql("""UPDATE `tabUser`
SET
last_login = %(now)s,
@@ -241,7 +242,8 @@ class Session:
'ip': frappe.local.request_ip,
'name': self.data['user']
})
-
+ user.run_notifications("before_c... | fix: Trigger notifications after updating last_login, last_ip fields | null | frappe/frappe | MIT License | Python |
@@ -822,17 +822,17 @@ os.source.Vector.prototype.processColumns = function(opt_silent) {
// update the column type based on the data
if (!goog.object.isEmpty(this.stats_)) {
- var types = this.stats_[column.name];
+ var types = this.stats_[column['name']];
if (types) {
// ignore the empty data
goog.object.remove(types,... | fix(vectorsource): A code update to: When parsing files, try to determine better data types | null | ngageoint/opensphere | Apache License 2.0 | JavaScript |
@@ -100,12 +100,10 @@ func (p *Parser) Parse(buf []byte) ([]telegraf.Metric, error) {
if err != nil {
return nil, err
}
- if len(selectedNodes) < 1 || selectedNodes[0] == nil {
+ if (len(selectedNodes) < 1 || selectedNodes[0] == nil) && !p.AllowEmptySelection {
p.debugEmptyQuery("metric selection", doc, config.Selectio... | fix(parsers/xpath): Reduce debug messages when empty selection is allowed | null | influxdata/telegraf | MIT License | Go |
@@ -84,7 +84,13 @@ module.exports = (oas, operation, values, auth, lang, oasUrl) => {
// API SDK client needs additional runtime information on the API definition we're showing the user so it can
// generate an appropriate snippet.
if (lang === 'node-simple') {
+ try {
HTTPSnippet.addTargetClient('node', HTTPSnippetSim... | fix: don't throw an error if the node-simple client is already present | null | readmeio/api-explorer | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.