diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -100,7 +100,7 @@ namespace Uno.Material.Controls
protected async override void CloseBottomSheet()
{
await AnimateTo(_sheet.ActualHeight, _animationTime);
- IsOpened = !IsOpened;
+ IsOpened = false;
}
#region IsOpened
| fix: FullScreen ModalStandardBottomSheet not closing properly | null | unoplatform/uno.themes | Apache License 2.0 | C# |
use std::{convert::Infallible, future::Future, pin::Pin};
use axum::{
- extract::{FromRequest, RequestParts},
- http::status::StatusCode,
+ extract::{FromRequestParts, State},
+ http::{request::Parts, status::StatusCode},
};
+use tokio::sync::mpsc;
use crate::{
dispatching::update_listeners::{webhooks::Options, UpdateL... | fix: Adjust to `axum@0.6.0` | null | teloxide/teloxide | MIT License | Rust |
@@ -3,7 +3,6 @@ use super::generate::parse_grammar::GrammarJSON;
use std::ffi::{OsStr, OsString};
use std::fs;
use std::path::Path;
-use std::path::PathBuf;
use std::process::Command;
use which::which;
@@ -23,15 +22,15 @@ pub fn compile_language_to_wasm(language_dir: &Path, force_docker: bool) -> Resu
let grammar_name ... | fix(cli): Correct fallback on docker compilation for all platforms, fixes | null | tree-sitter/tree-sitter | MIT License | Rust |
import { setSSRHandler } from '@vueuse/core'
-import { defineNuxtPlugin, useCookie, useMeta } from '#imports'
+import { defineNuxtPlugin, useCookie, useHead } from '#imports'
setSSRHandler('getDefaultStorage', () => {
const cookieMap = new Map()
@@ -18,14 +18,14 @@ setSSRHandler('getDefaultStorage', () => {
if (process... | fix(ssr-plugin): use useHead instead of useMeta | null | vueuse/vueuse | MIT License | JavaScript |
@@ -90,8 +90,7 @@ final class UriTemplateResourceMetadataCollectionFactory implements ResourceMeta
private function generateUriTemplate(Operation $operation): string
{
- $uriTemplate = $operation->getRoutePrefix() ?: '';
- $uriTemplate = sprintf('%s/%s', $uriTemplate, $this->pathSegmentNameGenerator->getSegmentName($op... | fix: make sure the route prefix is only applied once | null | api-platform/core | MIT License | PHP |
@@ -5,6 +5,7 @@ const webpack = require('webpack')
const common = require('./webpack.common.ts')
const path = require('path')
const PORT = parseInt(process.env.PORT, 10) || 8080
+const PUBLIC = process.env.PUBLIC || undefined
module.exports = merge(common, {
mode: 'development',
@@ -20,8 +21,10 @@ module.exports = merg... | fix(ui): allow hmr feature with proxied ingress controllers | null | influxdata/influxdb | MIT License | TypeScript |
@@ -210,7 +210,7 @@ class EmailAccount(Document):
elif not in_receive and any(map(lambda t: t in message, auth_error_codes)):
self.throw_invalid_credentials_exception()
else:
- frappe.throw(e)
+ frappe.throw(cstr(e))
except socket.error:
if in_receive:
| fix(email): error object is not json parseable | null | frappe/frappe | MIT License | Python |
@@ -92,6 +92,7 @@ class TestGuessDatetimefstr(object):
tomorrow16 = datetime.combine(tomorrow, time(16, 0))
def test_today(self):
+ with freeze_time('2016-9-19 8:00'):
today13 = datetime.combine(date.today(), time(13, 0))
assert (today13, False) == guessdatetimefstr(['today', '13:00'], LOCALE_BERLIN)
assert today == gu... | fix: freeze one more test | null | pimutils/khal | MIT License | Python |
@@ -250,31 +250,37 @@ fn get_key_ids(num_key_ids: u32) -> Result<Vec<Vec<u8>>, Error> {
.collect())
}
+pub fn get_algorithm_id(key_id: &[u8]) -> u32 {
+ const ALGORITHM_OFFSET: usize = 154;
+
+ if key_id.len() < ALGORITHM_OFFSET + 4 {
+ return u32::MAX;
+ }
+
+ let mut bytes: [u8; 4] = Default::default();
+ bytes.copy_... | fix(sgx): filter attestation key by algorithm | null | enarx/enarx | Apache License 2.0 | Rust |
@@ -29,6 +29,7 @@ import org.onlab.packet.VlanId;
import org.onlab.util.KryoNamespace;
import org.onlab.util.Tools;
import org.onosproject.cfg.ComponentConfigService;
+import org.onosproject.cfg.ConfigProperty;
import org.onosproject.cluster.ClusterService;
import org.onosproject.cluster.LeadershipService;
import org.o... | fix: invoke security group reset on receiving node completion event | null | opennetworkinglab/onos | Apache License 2.0 | Java |
@@ -155,7 +155,7 @@ impl WindowBuilder {
| NSWindowStyleMask::NSClosableWindowMask
| NSWindowStyleMask::NSMiniaturizableWindowMask
| NSWindowStyleMask::NSResizableWindowMask;
- let rect = NSRect::new(NSPoint::new(0., 0.), NSSize::new(self.width, self.height));
+ let rect = NSRect::new(NSPoint::new(0., 0.), NSSize::new(... | fix: Added some casting to compile on Mac OS | null | linebender/druid | Apache License 2.0 | Rust |
@@ -94,7 +94,8 @@ namespace MvxScaffolding.Core.ViewModels
NavigateFirst();
- ShowUpdatedNotification();
+ // TODO [PH] :: need to find an alternative way to store the check of reading release notes
+ //ShowUpdatedNotification();
}
private void ShowUpdatedNotification()
@@ -115,9 +116,7 @@ namespace MvxScaffolding.Core... | fix: disable release note toast | null | plac3hold3r/mvxscaffolding | MIT License | C# |
@@ -110,4 +110,4 @@ enum Monet {
final urlRegex = RegExp(
r"(?:^| )(((((H|h)(T|t)|(F|f))(T|t)(P|p)((S|s)?))\://)|www.)[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,6}(\:[0-9]{1,5})*(/($|[a-zA-Z0-9\.\,\;\?\'\\\+&%\$#@!^*()\=~_\/-]+))*");
-final bigEmojiScaleFactor = 3.9;
+final bigEmojiScaleFactor = 3.0;
| fix: scales down big emojis | null | bluebubblesapp/bluebubbles-app | Apache License 2.0 | Dart |
@@ -461,7 +461,9 @@ public class FastRaptorWorker {
for (int frequencyEntryIdx = 0; frequencyEntryIdx < schedule.headwaySeconds.length; frequencyEntryIdx++) {
int originalPatternIndex = originalPatternIndexForFrequencyIndex[patternIndex];
- int offset = offsets.offsets.get(originalPatternIndex)[tripScheduleIndex][frequ... | fix(frequency-offsets): allow exact-times false | null | conveyal/r5 | MIT License | Java |
@@ -39,7 +39,18 @@ type State = {
class MediaPlayer extends React.PureComponent<Props, State> {
static SANDBOX_TYPES = ['application/x-lbry', 'application/x-ext-lbry'];
- static FILE_MEDIA_TYPES = ['text', 'script', 'e-book', 'comic-book', 'document', '3D-file', 'video', 'audio'];
+ static FILE_MEDIA_TYPES = [
+ 'text'... | fix: use old player for audio/video in electron | null | lbryio/lbry-desktop | MIT License | JavaScript |
@@ -113,11 +113,11 @@ func runUpdate(ctx context.Context) (err error) {
s := strings.Split(machineDiff, ",")
var str string
for _, val := range s {
- _, found := presenters.GetStringInBetweenTwoString(val, "-", ":")
- _, found2 := presenters.GetStringInBetweenTwoString(val, "+", ":")
- if found2 {
+ _, foundDeletion :=... | fix: Rename variables | null | superfly/flyctl | Apache License 2.0 | Go |
package com.alibaba.fescar.spring.util;
+import org.springframework.aop.TargetSource;
import org.springframework.aop.framework.AdvisedSupport;
import org.springframework.aop.support.AopUtils;
+import org.springframework.aop.target.EmptyTargetSource;
import java.lang.reflect.Field;
import java.lang.reflect.Proxy;
@@ -39... | fix: throw NPE when jdk-proxy has no target | null | seata/seata | Apache License 2.0 | Java |
@@ -20,6 +20,7 @@ export interface Demo {
export function DemoComponentsScreen(_props: DemoTabScreenProps<"DemoComponents">) {
const [open, setOpen] = useState(false)
+ const timeout = React.useRef<ReturnType<typeof setTimeout>>();
const drawerRef = useRef<DrawerLayout>()
const listRef = useRef<SectionList>()
const men... | fix(component): Fix for scrollToIndex failed on Demo Screen | null | infinitered/ignite | MIT License | TypeScript |
@@ -48,11 +48,19 @@ func (api *API) GetTicket(id string, userKey string, serviceID string) (ticket *
return
}
-func (api *API) OSSAddCaps(ticket *auth.Ticket, akCaps *keystore.AccessKeyCaps) (caps *keystore.AccessKeyCaps, err error) {
+func (api *API) OSSAddCaps(ticket *auth.Ticket, accessKey string, caps []byte) (newA... | fix: change the params about OSSAddCaps/OSSDeleteCaps | null | chubaofs/chubaofs | Apache License 2.0 | Go |
@@ -123,7 +123,7 @@ impl WindowBuilder {
enable_mouse_move_events: true,
menu: None,
width: 500.0,
- height: 500.0,
+ height: 400.0,
}
}
| fix: Mac default height reduced from 500 to 400 | null | linebender/druid | Apache License 2.0 | Rust |
@@ -117,7 +117,7 @@ namespace PnP.Framework.Provisioning.ObjectHandlers
if (!termSet.ServerObjectIsNull())
{
- termSet.EnsureProperties(ts => ts.Name, ts => ts.Group);
+ termSet.EnsureProperties(ts => ts.Name, ts => ts.Group.Name, ts => ts.Group.IsSiteCollectionGroup);
termSetIdElement.Value = String.Format("{{termseti... | fix: Failed to resolve termsetid token beause IsSiteCollectionGroup was not initialized | null | pnp/pnpframework | MIT License | C# |
@@ -40,6 +40,7 @@ import org.hisp.dhis.analytics.SortOrder;
import org.hisp.dhis.dashboard.Dashboard;
import org.hisp.dhis.dashboard.DashboardService;
import org.hisp.dhis.setting.SystemSettingManager;
+import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.an... | fix: Disable test while Postgres version is not ready | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
@@ -138,6 +138,7 @@ class Workspace(Document):
def disable_saving_as_public():
return (
frappe.flags.in_install
+ or frappe.flags.in_uninstall
or frappe.flags.in_patch
or frappe.flags.in_test
or frappe.flags.in_fixtures
| fix: do not remove workspaces while app is uninstalled | null | frappe/frappe | MIT License | Python |
@@ -4,6 +4,7 @@ import { PrefetchFlatList, PrefetchFlatListProps } from "app/Components/Prefetch
import { extractNodes } from "app/utils/extractNodes"
import { Flex, Spinner } from "palette"
import React, { useState } from "react"
+import { Platform } from "react-native"
import { RelayPaginationProp, useFragment } from... | fix: Add extra padding to My Collection artwork list | null | artsy/eigen | MIT License | TypeScript |
@@ -25,15 +25,14 @@ FieldLabel.propTypes = {
export const NumberField = props => (
<Input
- css={`
- text-align: right;
- `}
highlightOnValid={false}
isRequired
+ justifyContent="flex-end"
min="1"
step="1"
+ textAlign="right"
type="number"
- width={80}
+ width={100}
{...props}
/>
)
| fix(ui): right align Settings input elements | null | ln-zap/zap-desktop | MIT License | JavaScript |
@@ -349,11 +349,12 @@ def export_query():
add_totals_row = None
file_format_type = form_params["file_format_type"]
title = title or doctype
+ if file_format_type == "CSV":
csv_delimiter = cstr(form_params.get("csv_delimiter", ","))
csv_quoting = cint(form_params.get("csv_quoting", 2))
-
del form_params["csv_delimiter"]... | fix: don't parse CSV params for Excel | null | frappe/frappe | MIT License | Python |
@@ -126,7 +126,7 @@ public class DeploymentHelper {
public static JavaArchive[] getJodaTimeModuleForServer(String server) {
if (server.equals("tomcat") ||
- server.equals("websphere") ||
+ server.equals("websphere9") ||
server.equals("weblogic") ||
server.equals("glassfish")) {
return Maven.configureResolver()
@@ -136,... | fix(test): downgrade Jackson in integration tests for Websphere 8 | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -87,7 +87,7 @@ class SendTransactionErrorViewController: UIViewController {
let view = UIView()
view.translatesAutoresizingMaskIntoConstraints = false
view.backgroundColor = .white
- view.cornerRadius = 10
+ view.cornerRadius = 12
view.addSubview(scrollView)
view.addSubview(footerBar)
| fix: corner radius for user-friendly RPC errors actionsheet | null | alphawallet/alpha-wallet-ios | MIT License | Swift |
@@ -930,9 +930,15 @@ impl Inner {
.performance
.mark("did_change_watched_files", Some(¶ms));
let mut touched = false;
+ let changes: Vec<Url> = params
+ .changes
+ .iter()
+ .map(|f| self.url_map.normalize_url(&f.uri))
+ .collect();
+
// if the current import map has changed, we need to reload it
if let Some(import... | fix(lsp): normalize urls in did_change_watched_files | null | denoland/deno | MIT License | Rust |
@@ -48,15 +48,13 @@ END;
$params = [];
$actualSql = $query->createSelectSql($params);
- $this->assertEquals("SELECT FROM issue_1192_item WHERE issue_1192_item.target & :p1 = :p2",
+ $this->assertSame("SELECT FROM issue_1192_item WHERE issue_1192_item.target & :p1 = :p2",
$actualSql,
'Generated SQL does not match expect... | fix(test): use assertSame instead of assertEquals | null | propelorm/propel2 | MIT License | PHP |
@@ -264,7 +264,7 @@ void FileFilterIndex::setUIModeFilters()
if (UIModeController::getInstance()->isUIModeKid())
{
filterByKidGame = true;
- std::vector<std::string> val = { "FALSE" }; // batocera
+ std::vector<std::string> val = { "TRUE" };
setFilter(KIDGAME_FILTER, &val);
}
}
| fix: kid mode | null | batocera-linux/batocera-emulationstation | MIT License | C++ |
@@ -100,7 +100,7 @@ pub async fn download_source(
// - To fetch existing objects, `GetObject` is required.
// - If `ListBucket` is premitted, a 404 is returned for missing objects.
// - Otherwise, a 403 ("access denied") is returned.
- log::debug!("Skipping response from s3:{}{}: {}", bucket, &key, err);
+ log::debug!(... | fix: Improve S3 logging output | null | getsentry/symbolicator | MIT License | Rust |
@@ -5,7 +5,7 @@ if [ -n "$DOCKER_PUSH_API_TOKEN" ]
then
git clone https://github.com/"$DOCKER_PUSH_REPO".git docker-push-repo
- cd docker-push-repo/freecodecamp
+ cd docker-push-repo
git submodule update --init --remote --recursive
git submodule status
cd ../
| fix: run commands from root | null | freecodecamp/freecodecamp | BSD 3-Clause New or Revised License | Shell |
@@ -7,9 +7,7 @@ const expect = chai.expect,
describe('CLI generation - TypeDoc examples', () => {
- let stdoutString = null,
- clockInterfaceFile,
- searchFuncFile;
+ let stdoutString = null;
before(function (done) {
let ls = shell('node', [
'./bin/index-cli.js',
@@ -20,8 +18,6 @@ describe('CLI generation - TypeDoc exa... | fix(test): typedoc examples | null | compodoc/compodoc | MIT License | TypeScript |
@@ -126,7 +126,7 @@ def read_record(f, check_crc=False):
def write_record(f, key, flag, value, version, ts):
- header = struct.pack('IIIII', ts, flag, version, len(key), len(value))
+ header = struct.pack('IIiII', ts, flag, version, len(key), len(value))
crc32 = binascii.crc32(header)
crc32 = binascii.crc32(key, crc32)... | fix: neg version in beansdb.write_record | null | douban/dpark | BSD 3-Clause New or Revised License | Python |
@@ -515,6 +515,10 @@ public:
bestFit = std::min(bestFit, thisFit);
}
count = workers.size();
+ //degraded is only used for recruitment of tlogs
+ if(role != ProcessClass::TLog) {
+ worstIsDegraded = false;
+ }
}
bool operator < (RoleFitness const& r) const {
| fix: degraded is only used for tlog recruitment, so we should not use it in the fitness calculation for other roles | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -592,7 +592,7 @@ namespace Shoko.Server.API.v3.Controllers
/// <param name="imageType">Poster, Banner, Fanart</param>
/// <param name="body">The body containing the source and id used to set.</param>
/// <returns></returns>
- [HttpPatch("{seriesID}/Images/{imageType}")]
+ [HttpPut("{seriesID}/Images/{imageType}")]
p... | fix: change series default image setter | null | shokoanime/shokoserver | MIT License | C# |
@@ -635,7 +635,7 @@ class Storage implements IStorage {
const pkg: any = {
'name': version.name,
'description': version.description,
- 'dist-tags': {latest: latest},
+ 'dist-tags': {latest},
'maintainers': version.maintainers || [version.author].filter(Boolean),
'author': version.author,
'repository': version.repositor... | fix: Add DATE and VERSION in search result | null | verdaccio/monorepo | MIT License | JavaScript |
@@ -106,13 +106,17 @@ public class MrcmTypeRequest implements Request<BranchContext, SnomedReferenceSe
final String eclConstraint;
switch (attributeType) {
- case DATA: eclConstraint = String.format("<%s", CONCEPT_MODEL_DATA_ATTRIBUTE);
+ case DATA:
+ eclConstraint = String.format("<%s", CONCEPT_MODEL_DATA_ATTRIBUTE);
... | fix(mrcm): Add line breaks after switch cases | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -731,9 +731,15 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
const fieldname = df.fieldname;
const link_title_fieldname = this.link_field_title_fields[fieldname];
const value = doc[fieldname] || "";
- const value_display = link_title_fieldname
+ let value_display = link_title_fieldname
? ... | fix: untranslated link fields in list view | null | frappe/frappe | MIT License | JavaScript |
@@ -75,6 +75,8 @@ func (s *Server) Serve(ctx context.Context, handler Handler) error {
// Close stops server and closes given listener.
func (s *Server) Close() error {
+ atomic.StoreInt64(&s.closed, 1)
+
if s.cancel != nil {
s.cancel()
}
| fix(server): set closed flag | null | gotd/td | MIT License | Go |
@@ -168,28 +168,25 @@ public class VariableInstanceAuthorizationTest extends AuthorizationTest {
assertEquals(processInstanceId, variable.getProcessInstanceId());
}
- public void testProcessVariableQueryWithReadVariablePermission() {
+ // CAM-9888
+ public void failingTestProcessVariableQueryWithReadVariablePermission(... | fix(engine): adjust tests with correct scenarios | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -48,6 +48,7 @@ application::run_result application::configure_syscall_buffer_size()
long page_size = getpagesize();
if(page_size <= 0)
{
+ m_state->syscall_buffer_bytes_size = DEFAULT_BYTE_SIZE;
falco_logger::log(LOG_WARNING, "Unable to get the system page size through 'getpagesize()'. Try to use the default syscall... | fix(syscall_buffer): set dimension if page size not available | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -28,10 +28,10 @@ class AggregateCampaignStats extends Command
public function handle()
{
$now = $this->option('now') ? Carbon::parse($this->option('now')) : Carbon::now();
- $timeBefore = $now->minute(0)->second(0);
- $timeAfter = (clone $timeBefore)->subHour();
+ $timeFrom = $now->minute(0)->second(0);
+ $timeTo = ... | fix: aggregate current hour of campaign stats | null | remp2020/remp | MIT License | PHP |
@@ -234,8 +234,12 @@ impl MainWin {
}
pub fn available_plugins(&mut self, params: &Value) {
+ if let Some(_) = params.get("plugins") {
+ // TODO: There is one (or more!) plugins available, handle them!
+ } else {
error!("UNHANDLED available_plugins {}", params);
}
+ }
pub fn config_changed(&mut self, params: &Value) {
... | fix(main_win): don't complain about unhandled plugins if there aren't any | null | cogitri/tau | MIT License | Rust |
@@ -67,7 +67,7 @@ namespace MLAPI.Prototyping
else
{
var proximityClients = new List<ulong>();
- foreach (KeyValuePair<ulong, NetworkClient> client in NetworkManager.Singleton.ConnectedClients)
+ foreach (KeyValuePair<ulong, NetworkClient> client in NetworkManager.ConnectedClients)
{
if (client.Value.PlayerObject == nu... | fix: NetworkNavMeshAgent now uses owner NetworkManager | null | unity-technologies/com.unity.multiplayer.mlapi | MIT License | C# |
@@ -191,6 +191,9 @@ public class ConnectionService extends android.telecom.ConnectionService {
request.getAddress(),
TelecomManager.PRESENTATION_ALLOWED);
connection.setExtras(request.getExtras());
+
+ connection.setAudioModeIsVoip(true);
+
// NOTE there's a time gap between the placeCall and this callback when
// thin... | fix(Android/ConnectionService): mic not working | null | jitsi/jitsi-meet | Apache License 2.0 | Java |
@@ -272,9 +272,11 @@ public abstract class AbstractSchedulingManager implements SchedulingManager
jobService.getJob( type ).execute( configuration, progress );
Process process = progress.getProcesses().peekLast();
- if ( process != null && process.getStatus() != JobProgress.Status.RUNNING )
+ if ( process != null && pr... | fix: auto-complete running job progress processes | null | dhis2/dhis2-core | BSD 3-Clause New or Revised License | Java |
+const URL_ACCESSORIES =
+ 'https://www.ovhtelecom.fr/telephonie/comparatif-des-accessoires.xml';
+
export const TELEPHONY_LINE_PHONE_ACCESSORIES = {
'cisco.linksys.alim': {
img: 'https://www.ovhtelecom.fr/images/telephonie/accessories/poe.jpg',
@@ -36,14 +39,12 @@ export const TELEPHONY_LINE_PHONE_ACCESSORIES = {
img:... | fix(telephony.accessories): fix with the good link | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
import * as bt from '@babel/types'
import { NodePath } from 'ast-types'
-import Documentation, { BlockTag, DocBlockTags } from '../Documentation'
+import Documentation, { BlockTag, DocBlockTags, ParamTag } from '../Documentation'
import getDocblock from '../utils/getDocblock'
import getDoclets from '../utils/getDoclets... | fix(docgen): support on classPropHandler | null | vue-styleguidist/vue-styleguidist | MIT License | TypeScript |
@@ -675,14 +675,16 @@ func run(cmd *cobra.Command, _ []string) {
isSTS = isSTS || awsCreator.IsSTS
+ if r.Reporter.IsTerminal() {
r.Reporter.Warnf("In a future release STS will be the default mode.")
- if (isSTS || cmd.Flags().Changed("sts")) && r.Reporter.IsTerminal() {
+ if isSTS || cmd.Flags().Changed("sts") {
r.Rep... | fix: don't show if redirecting to file | null | openshift/rosa | Apache License 2.0 | Go |
@@ -171,7 +171,7 @@ export class Canvas {
const container = this.container;
- container.canvas.resize();
+ this.resize();
container.actualOptions.setResponsive(this.size.width, container.retina.pixelRatio, container.options);
/* density particles enabled */
@@ -206,11 +206,13 @@ export class Canvas {
this.element.width... | fix: particles could result misplaced at the beginning, this is now fixed | null | matteobruni/tsparticles | MIT License | TypeScript |
@@ -12,9 +12,7 @@ docker run --user "$(id -u)":"$(id -g)" -v /etc/passwd:/etc/passwd:ro -e BUILD_T
docker run --user "$(id -u)":"$(id -g)" -v /etc/passwd:/etc/passwd:ro -e BUILD_TYPE="$BUILD_TYPE" -v "$SOURCE_DIR":/source -v "$BUILD_DIR":/build "$FALCOBUILDER_IMAGE" tests
# Deduct currently built version
-CURRENT_FALCO... | fix(hack): strip ^M from current falco version and call test command of falco-tester | null | falcosecurity/falco | Apache License 2.0 | Shell |
@@ -260,6 +260,9 @@ func (q *AMQP) Write(metrics []telegraf.Metric) error {
return err
}
} else {
+ if err := q.client.Close(); err != nil {
+ q.Log.Errorf("Closing connection failed: %v", err)
+ }
q.client = nil
return err
}
| fix(outputs/amqp): Close the last connection when writing error to avoid connection leaks | null | influxdata/telegraf | MIT License | Go |
@@ -85,6 +85,7 @@ public class KestraApplicationContextBuilder implements ApplicationContextConfig
return this;
}
+
@SuppressWarnings("MagicNumber")
public @Nonnull
ApplicationContext build() {
@@ -102,7 +103,6 @@ public class KestraApplicationContextBuilder implements ApplicationContextConfig
environment.addPropertySo... | fix(cli): fix env var that is not detected any more | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -699,17 +699,21 @@ const core = function (context, util, plugins, lang) {
};
const checkStyleValue = function (vNode, nNode) {
- let styleCnt = checkCSSPropertyArray.length;
+ const checkArray = JSON.parse(JSON.stringify(checkCSSPropertyArray));
+ let styleCnt = checkArray.length;
let styleValue = '';
while (!util.i... | fix: core - wrapRangeToTag | null | jihong88/suneditor | MIT License | JavaScript |
@@ -3,7 +3,7 @@ from os import getcwd
timestamp = datetime.today()
timestamp_utc = datetime.now(timezone.utc).replace(tzinfo=timezone.utc)
-prowler_version = "3.0-alpha"
+prowler_version = "3.0-beta-08Aug2022"
# Groups
groups_file = "groups.json"
| fix(version): Update version to beta | null | toniblyx/prowler | Apache License 2.0 | Python |
@@ -103,6 +103,13 @@ const styles = css`
height: 100%;
background-color: #fff;
overflow: hidden;
+
+ &.condensed-post {
+ flex-direction: column;
+ -webkit-box-pack: justify;
+ justify-content: space-between;
+ background-color: #4b6189;
+ }
}
.three-dee {
| fix(condensed post card): fix for white background bug | null | aws-amplify/learn | Apache License 2.0 | JavaScript |
@@ -178,6 +178,7 @@ void ElectronRendererClient::WillReleaseScriptContext(
if (command_line->HasSwitch(switches::kNodeIntegrationInSubFrames) ||
command_line->HasSwitch(
switches::kDisableElectronSiteInstanceOverrides)) {
+ node::RunAtExit(env);
node::FreeEnvironment(env);
if (env == node_bindings_->uv_env())
node::Fre... | fix: run Node.js at-exit callbacks in renderer proc | null | electron/electron | MIT License | C++ |
@@ -78,10 +78,12 @@ def test_list(artifact_objs, sagemaker_session):
def test_downstream_trials(trial_associated_artifact, trial_obj, sagemaker_session):
- # wait for TC to index
- time.sleep(3)
-
+ # allow trial components to index, 30 seconds max
+ for i in range(3):
+ time.sleep(10)
trials = trial_associated_artifac... | fix: increase time allowed for trial components to index | null | aws/sagemaker-python-sdk | Apache License 2.0 | Python |
@@ -47,7 +47,13 @@ module CartoDB
@job.log "ConnectorRunner #{@json_params.except('connection').to_json}"
# TODO: logging with CartoDB::Logger
table_name = @job.table_name
- if should_import?(@connector.table_name)
+ updated = false
+ if !should_import?(@connector.table_name)
+ @job.log "Table #{table_name} won't be im... | fix: non-updated connector data was imported anyway | null | cartodb/cartodb | BSD 3-Clause New or Revised License | Ruby |
@@ -43,10 +43,9 @@ class WelcomeFragment : Fragment() {
}
rootView.currentLocation.setOnClickListener {
- checkLocationPermission()
if (isLocationEnabled(requireContext())) {
- geoLocationViewModel.configure()
rootView.locationProgressBar.isVisible = true
+ checkLocationPermission()
}
}
@@ -86,6 +85,8 @@ class WelcomeF... | fix: Location in welcome fragment | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
@@ -1222,7 +1222,7 @@ func SyncCloudProject(userCred mcclient.TokenCredential, model db.IVirtualModel,
extProject, err := ExternalProjectManager.GetProject(extProjectId, managerId)
if err != nil {
log.Errorf("sync project for %s %s error: %v", model.Keyword(), model.GetName(), err)
- } else {
+ } else if len(extProject... | fix: avoid virtual resource project id is empty when cloudaccount with no project | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -81,15 +81,23 @@ class Check:
# Get commit message from file (--commit-msg-file)
if self.commit_msg_file:
with open(self.commit_msg_file, "r", encoding="utf-8") as commit_file:
- commit_title = commit_file.readline()
- commit_body = commit_file.read()
+ msg = commit_file.read()
+ msg = self._filter_comments(msg)
+ m... | fix(check): filter out comment messege when checking | null | commitizen-tools/commitizen | MIT License | Python |
@@ -83,7 +83,7 @@ namespace Files.App.Shell
!valueNames.Contains("ItemName", StringComparer.OrdinalIgnoreCase) &&
!valueNames.Contains("Data", StringComparer.OrdinalIgnoreCase))
{
- return null;
+ return Task.FromResult<ShellNewEntry>(null);
}
var extension = root.Name.Substring(root.Name.LastIndexOf('\\') + 1);
| fix: Fixed exception when parsing new menu items | null | files-community/files | MIT License | C# |
import * as SourceMaps from '../utils/sourceMaps';
import { createCodeGen } from '@volar/code-gen';
-import { camelize, hyphenate, isHTMLTag } from '@vue/shared';
+import { camelize, hyphenate } from '@vue/shared';
import * as CompilerDOM from '@vue/compiler-dom';
import * as CompilerCore from '@vue/compiler-core';
@@ ... | fix: can't support unknown events | null | johnsoncodehk/volar | MIT License | TypeScript |
@@ -46,11 +46,13 @@ class TrackingProtoWebChannel(ProtobufMixin, TrackingChannel):
post_event_request.events.append(event)
post_event_request.timestamp.GetCurrentTime()
- data = post_event_request.SerializeToString()
+ raw_bytes = post_event_request.SerializeToString()
+ encoded_str = base64.b64encode(raw_bytes).decode... | fix: wrap proto channel requests and responses in json | null | databand-ai/dbnd | Apache License 2.0 | Python |
@@ -54,6 +54,6 @@ if [ "$CURRENTBRANCH" != "master" ] ; then
read -p "Push current branch ${CURRENTBRANCH} to 'origin'? (y/n) " -n 1 -r
echo "";
if [ "$REPLY" == "y" ] ; then
- git push origin $CURRENTBRANCH;
+ git push --set-upstream origin $CURRENTBRANCH;
fi
fi
| fix(publish.sh): When pushing the branch to origin, use --set-upstream to track remote | null | spinnaker/deck | Apache License 2.0 | Shell |
@@ -12,24 +12,24 @@ import 'package:kraken/src/debug/css_parse.dart';
String ZERO_PX = '0px';
-Function kebabize = (String str) {
+String kebabize (String str) {
RegExp kababRE = RegExp(r'[A-Z]');
return str.replaceAllMapped(kababRE, (match) => '-${match[0].toLowerCase()}');
-};
+}
-Function camelize = (String str) {
+... | fix: fix function declaration | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -45,8 +45,11 @@ export interface ClientSessionOptions {
/** The default TransactionOptions to use for transactions started on this session. */
defaultTransactionOptions?: TransactionOptions;
- owner: symbol | AbstractCursor;
+ /** @internal */
+ owner?: symbol | AbstractCursor;
+ /** @internal */
explicit?: boolean;... | fix: make the owner property of ClientSessionOptions optional | null | mongodb/node-mongodb-native | Apache License 2.0 | TypeScript |
@@ -95,6 +95,7 @@ func (c *GitCrd) SetBundle(conf *bundleconfig.Config) {
BundleName: conf.BundleName,
BaseDirectoryPath: conf.BaseDirectoryPath,
Templator: conf.Templator,
+ Orb: conf.Orb,
}
c.crd.SetBundle(bundleConf)
| fix(orbos): fix to add externalid again after merge | null | caos/orbos | Apache License 2.0 | Go |
@@ -123,6 +123,19 @@ impl StateSync {
}
Err(e) => self.sync_state.set_sync_error(Error::P2P(e)),
}
+
+ // to avoid the confusing log,
+ // update the final HeaderSync state mainly for 'current_height'
+ {
+ let status = self.sync_state.status();
+ if let SyncStatus::HeaderSync { .. } = status {
+ self.sync_state.update... | fix: avoid a confusing log when fastsync start | null | mimblewimble/grin | Apache License 2.0 | Rust |
@@ -900,10 +900,17 @@ func (options *ImportOptions) doImport() error {
jenkinsfile = defaultJenkinsfileName
}
+ dockerfileExists, err := util.FileExists("Dockerfile")
+ if err != nil {
+ return err
+ }
+
+ if dockerfileExists {
err = options.ensureDockerRepositoryExists()
if err != nil {
return err
}
+ }
isProw, err :=... | fix: skip docker repository checks if a Dockerfile doesn't exist | null | jenkins-x/jx | Apache License 2.0 | Go |
@@ -76,6 +76,7 @@ struct LogRouterData {
Reference<AsyncVar<Reference<ILogSystem>>> logSystem;
NotifiedVersion version;
NotifiedVersion minPopped;
+ Version startVersion;
Deque<std::pair<Version, Standalone<VectorRef<uint8_t>>>> messageBlocks;
Tag routerTag;
int logSet;
@@ -97,7 +98,7 @@ struct LogRouterData {
return n... | fix: protect from peeking too early of a version from a log router | null | apple/foundationdb | Apache License 2.0 | C++ |
@@ -135,7 +135,7 @@ private void RestoreOriginalMaterials()
public void SetAnimatorBones(SkinnedMeshRenderer skinnedMeshRenderer)
{
- if (!boneRetargetingDirty) return;
+ if (!boneRetargetingDirty || assetContainer == null) return;
SkinnedMeshRenderer[] skinnedRenderers = assetContainer.GetComponentsInChildren<SkinnedM... | fix: wearablecontroller missing null check | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -22,7 +22,7 @@ RSpec.describe BarcodeItemsController, type: :controller do
end
end
- fdescribe "GET #edit" do
+ describe "GET #edit" do
context "with a normal barcode item" do
subject { get :edit, params: default_params.merge(id: create(:barcode_item)) }
@@ -41,7 +41,7 @@ RSpec.describe BarcodeItemsController, type:... | fix: Remove fdescribe from specs | null | rubyforgood/diaper | MIT License | Ruby |
@@ -179,9 +179,15 @@ const sheetComponents = {
ScrollView: SheetScrollView,
}
+const ParentSheetContext = createContext({
+ zIndex: 40,
+})
+
export const Sheet = withStaticProperties(
themeable(
forwardRef<View, SheetProps>(function Sheet(props, ref) {
+ const parentSheet = useContext(ParentSheetContext)
+
const {
__s... | fix(sheet): Automatically nest zIndex for sheet inside sheet use cases | null | tamagui/tamagui | MIT License | TypeScript |
@@ -35,6 +35,7 @@ import org.junit.runners.Parameterized;
import com.b2international.snowowl.core.ComponentIdentifier;
import com.b2international.snowowl.core.branch.Branch;
+import com.b2international.snowowl.core.codesystem.CodeSystem;
import com.b2international.snowowl.core.uri.ComponentURI;
import com.b2internation... | fix(validation): Fix ComponentURI arg. in affectedComponentURI assertion | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -36,7 +36,7 @@ export class ClrIfError extends AbstractIfState {
options = { error: this.control.getError(this.error) };
}
this.container.createEmbeddedView(this.template, options);
- } else if (!isInvalid) {
+ } else if (!isInvalid && this.container) {
this.container.clear();
}
this.displayedContent = isInvalid;
| fix(form): if-error call on undefined ViewContainerRef throw error | null | vmware/clarity | MIT License | TypeScript |
@@ -13,7 +13,7 @@ class MockRepository implements IHomeRepository {
await Future.delayed(Duration(milliseconds: 100));
if (Random().nextBool()) {
- CasesModel(
+ return CasesModel(
global: Global(totalDeaths: 100, totalConfirmed: 200),
);
}
| fix: Re-add missing return for getCases | null | jonataslaw/getx | MIT License | Dart |
module.exports = {
globals: {
"ts-jest": {
- skipBabel: true,
- enableTsDiagnostics: false
+ diagnostics: false
}
},
transform: {
@@ -14,5 +13,5 @@ module.exports = {
"js",
"json"
],
- testEnvironment: "node"
+ testEnvironment: "./jest-custom-environment"
};
| fix: update ts-jest config, fix "instanceof Error" related issues | null | just-jeb/angular-builders | MIT License | JavaScript |
@@ -49,7 +49,7 @@ public class SingleTargetMetricsEndpoint extends AbstractMetricsEndpoint {
try {
response = this.handleRequest( discoveredApplicationId -> applicationId.equals(discoveredApplicationId)
, requestInstance -> {
- if (instance.getInstanceId().equals(instanceId)) {
+ if (requestInstance.getInstanceId().equ... | fix: shadowed instance variable | null | promregator/promregator | Apache License 2.0 | Java |
@@ -136,7 +136,7 @@ func (rt *roundTripper) RoundTrip(originalRequest *http.Request) (*http.Response
logger = logger.With(zap.Nest("route-endpoint", endpoint.ToLogData()...))
reqInfo.RouteEndpoint = endpoint
- logger.Debug("backend", zap.Int("attempt", retry))
+ logger.Debug("backend", zap.Int("attempt", retry+1))
if e... | fix: gorouter logs retry attempts starting from 1 | null | cloudfoundry/gorouter | Apache License 2.0 | Go |
@@ -46,7 +46,7 @@ interface ScannedHtmlEntrypoint {
// has a bug where it complains about overwriting source files even when write: false.
// We create a fake bundle directory for now. Nothing ever actually gets written here.
const FAKE_BUILD_DIRECTORY = path.join(PROJECT_CACHE_DIR, '~~bundle~~');
-const FAKE_BUILD_DIR... | fix: support Windows path separator in optimize fake regex | null | snowpackjs/snowpack | MIT License | TypeScript |
@@ -92,6 +92,8 @@ class DebitCardPage extends Component {
this.clearErrorAndSetValue = this.clearErrorAndSetValue.bind(this);
this.getErrorText = this.getErrorText.bind(this);
this.allowExpirationDateChange = true;
+ this.addSlashToExpiryDate = this.addSlashToExpiryDate.bind(this);
+ this.removeSlashFromExpiryDate = th... | fix: added funcs to this | null | expensify/expensify.cash | MIT License | JavaScript |
@@ -502,8 +502,10 @@ async fn join_room_by_id_helper(
.ok_or_else(|| Error::BadServerResponse("PDU is not an object."))?
.insert("event_id".to_owned(), event_id.to_string().into());
+ dbg!(&value);
+
serde_json::from_value::<StateEvent>(value)
- .map(|ev| (event_id, Arc::new(ev)))
+ .map(|ev| (dbg!(&ev).event_id().clon... | fix: avoid pdus without event ids | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -58,6 +58,7 @@ int main(int argc, char **argv_in)
unsigned segfault_time = 0;
char** argv = argv_in;
pid_t fio_pid = 0;
+ int running_fio = 0;
int exitv = 0;
/* skip over this programs name */
@@ -110,6 +111,8 @@ int main(int argc, char **argv_in)
if ( 0 == fio_pid ) {
run_fio_sh(argv);
exit(0);
+ } else {
+ running... | fix: refactor e2e_fio.c for clarity | null | openebs/mayastor | Apache License 2.0 | C |
@@ -173,7 +173,7 @@ class ProblemController extends Controller
$ojs[$v->oid] = $v->name;
}
$form->select('oj', 'OJ')->options($ojs)->default(1)->rules('required');
- $form->select('hide', 'Hide')->options([
+ $form->select('Hide')->options([
1 => 'yes',
0 => 'no'
])->default(0)->rules('required');
| fix: create problem tab hide | null | zsgsdesign/noj | MIT License | PHP |
@@ -130,6 +130,7 @@ bool checkContext(int32_t contextId) {
}
bool checkContext(int32_t contextId, void *context) {
+ if (contextPool[contextId] == nullptr) return false;
auto bridge = static_cast<kraken::JSBridge *>(getJSContext(contextId));
return bridge->getContext().get() == context;
}
| fix: fix checkContext should return false when context is null | null | openkraken/kraken | Apache License 2.0 | C++ |
@@ -283,7 +283,7 @@ document.addEventListener('DOMContentLoaded', function(){
inventoryView.appendChild(document.createTextNode(" "));
- if ((index + 1) % pagesize == 0 && pagesize !== inventory.length) {
+ if ((index + 1) % pagesize === 0 && (index + 1) !== inventory.length) {
inventoryView.appendChild(document.create... | fix: :lipstick: remove extra space at end of invintory | null | skycryptwebsite/skycrypt | MIT License | JavaScript |
@@ -270,7 +270,10 @@ export function OutlineComponent({
<Outline
onPointerMove={onPointerMove}
onPointerLeave={onPointerLeave}
- style={{ transform: displayAs === 'outliner' ? 'translateX(-1rem)' : 'translateX(-1.3rem)' }}
+ style={{
+ transform: displayAs === 'outliner' ? 'translateX(-1rem)' : 'translateX(-1.3rem)',
+... | fix(editor): outline width should be constant | null | unigraph-dev/unigraph-dev | MIT License | TypeScript |
@@ -43,7 +43,7 @@ func outputFormat(addExtension bool, baseFilename string, format string, dir str
WithLinksFunc(func(result rules.Result) []string {
v := "latest"
if version.Version != "" {
- v = fmt.Sprintf("v%s", version.Version)
+ v = version.Version
}
return append([]string{
fmt.Sprintf(
| fix: fix doc link | null | aquasecurity/tfsec | MIT License | Go |
@@ -14,6 +14,8 @@ import io.tolgee.security.AuthenticationProvider
import io.tolgee.security.project_auth.ProjectHolder
import io.tolgee.service.dataImport.ImportService
import io.tolgee.service.project.ProjectService
+import io.tolgee.util.Logging
+import io.tolgee.util.logger
import org.springframework.context.Applic... | fix: Startup import sorted & refactored | null | tolgee/tolgee-platform | Apache License 2.0 | Kotlin |
@@ -173,6 +173,9 @@ class SQLiteIntConverter(dbapiprovider.IntConverter):
return dbapiprovider.IntConverter.sql_type(converter)
class SQLiteDecimalConverter(dbapiprovider.DecimalConverter):
+ inf = Decimal('infinity')
+ neg_inf = Decimal('-infinity')
+ NaN = Decimal('NaN')
def sql2py(converter, val):
try: val = Decimal... | fix: Readable error message while using infinity or NaN Decimal values | null | ponyorm/pony | Apache License 2.0 | Python |
@@ -334,14 +334,11 @@ func getAffinity(labels map[string]string) *corev1.Affinity {
return &corev1.Affinity{
PodAntiAffinity: &corev1.PodAntiAffinity{
- PreferredDuringSchedulingIgnoredDuringExecution: []corev1.WeightedPodAffinityTerm{{
- Weight: 100,
- PodAffinityTerm: corev1.PodAffinityTerm{
+ RequiredDuringSchedulin... | fix: require databases to run on different nodes | null | caos/orbos | Apache License 2.0 | Go |
@@ -74,8 +74,17 @@ public class Shell {
{
try {
final String line=bufIn.readLine();
- if(line!=null)
+ if(line!=null) {
+ try {
nar.addInput(line);
+ } catch(IllegalStateException ex) {
+ if(Parameters.DEBUG) {
+ throw new IllegalStateException("error parsing:" +line, ex);
+ }
+ System.out.println("parsing error");
+ }... | fix: NarseseParser: Handle exception in Shell and GUI properly as in v1.6.5, so that the system does not crash | null | opennars/opennars | MIT License | Java |
@@ -447,6 +447,11 @@ impl Rooms {
// This is also the next_batch/since value
let index = globals.next_count()?;
+ // Mark as read first so the sending client doesn't get a notification even if appending
+ // fails
+ self.edus
+ .private_read_set(&pdu.room_id, &pdu.sender, index, &globals)?;
+
let mut pdu_id = pdu.room_... | fix: no notification counts for fast /syncs | null | timokoesters/conduit | Apache License 2.0 | Rust |
@@ -5,7 +5,7 @@ import { summaryReporter, defaultReporter } from '@web/test-runner';
import { junitReporter } from '@web/test-runner-junit-reporter';
import { a11ySnapshotPlugin } from '@web/test-runner-commands/plugins';
-import { pfeDevServerConfig, type PfeDevServerConfigOptions } from '../dev-server.js';
+import { ... | fix(tools): import | null | patternfly/patternfly-elements | MIT License | TypeScript |
@@ -341,7 +341,7 @@ func (sa *SScalingAlarm) generateAlertConfig(sp *SScalingPolicy) (*monitor.Alert
case api.OPERATOR_GT:
cond = cond.GT(sa.Value)
}
- q := cond.Query().From(fmt.Sprintf("%ds", sa.Cycle))
+ q := cond.Query().From("1h")
sel := q.Selects().Select(indicatorMap[sa.Indicator].Field)
switch sa.Wrapper {
case... | fix(region): adjust the query range corresponding to the alarm strategy | null | yunionio/yunioncloud | Apache License 2.0 | Go |
@@ -55,7 +55,7 @@ See %s`, help.ArgoSever),
namespace := client.Namespace()
kubeConfig := kubernetes.NewForConfigOrDie(config)
- wflientset := wfclientset.NewForConfigOrDie(config)
+ wfClientSet := wfclientset.NewForConfigOrDie(config)
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
@@ -100,7 +10... | fix: typo of argo server cli | null | argoproj/argo-workflows | Apache License 2.0 | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.