diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -95,9 +95,9 @@ func (h *HatcheryLocal) SpawnWorker(ctx context.Context, spawnArgs hatchery.Spaw var cmd *exec.Cmd if spawnArgs.RegisterOnly { cmdSplitted[0] = "register" - cmd = h.LocalWorkerRunner.NewCmd(ctx, cmdSplitted[0], cmdSplitted...) + cmd = h.LocalWorkerRunner.NewCmd(context.Background(), cmdSplitted[0], cm...
fix(hatchery:local): unable to run worker cmd: context cancelled
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -236,14 +236,14 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH @objc func setSrc(_ source:NSDictionary!) { DispatchQueue.global(qos: .default).async { - _source = VideoSource(source) - if (_source?.uri == nil || _source?.uri == "") { + self._source = VideoSource(source) + if (sel...
fix: ios build error due to missing push
null
react-native-video/react-native-video
MIT License
Swift
@@ -418,10 +418,6 @@ impl EmailBuilder { self.message = self.message .header(Header::new_with_value("Cc".into(), self.cc).unwrap()); } - if !self.bcc.is_empty() { - self.message = self.message - .header(Header::new_with_value("Bcc".into(), self.bcc).unwrap()); - } if !self.reply_to.is_empty() { self.message = self.mess...
fix(email): Do not include Bcc addresses in headers
null
lettre/lettre
MIT License
Rust
@@ -40,7 +40,7 @@ public final class BundleApiTest extends BaseBundleApiTest { final String id = BundleRequests.prepareNewBundle() .setUrl(URL) .setTitle(TITLE) - .build(USER, String.format("Create bundle")) + .build(USER, "Create bundle") .execute(Services.bus()) .getSync(1, TimeUnit.MINUTES) .getResultAs(String.class...
fix: remove formatting with no argument
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -499,7 +499,7 @@ namespace acl template<typename track_type> inline track_type* track_cast(track* track_) { - if (track_ == nullptr || (track_type::type != track_->get_type() && track_.get_num_samples() != 0)) + if (track_ == nullptr || (track_type::type != track_->get_type() && track_->get_num_samples() != 0)) retu...
fix(compression): add missing indirection
null
nfrechette/acl
MIT License
C
@@ -270,16 +270,32 @@ class AzureADSource(Source): self.report.report_failure("_get_azure_ad_data_", error_str) continue + def _map_identity_to_urn(self, func, id_to_extract, mapping_identifier, id_type): + result, error_str = None, None + try: + result = func(id_to_extract) + except Exception as e: + error_str = "Fail...
fix(azure AD): fix problem with missing key causing failures in ingestion
null
linkedin/datahub
Apache License 2.0
Python
@@ -27,6 +27,7 @@ export const ArtworksGridEdges: ArtworkGrid_Test_QueryRawResponse["artist"]["art name: "KAWS", }, ], + artistNames: "KAWS", collecting_institution: null, partner: { name: "IDEA", @@ -67,6 +68,7 @@ export const ArtworksGridEdges: ArtworkGrid_Test_QueryRawResponse["artist"]["art name: "KAWS", }, ], + ar...
fix: tests for artwork grid
null
artsy/force
MIT License
TypeScript
@@ -565,7 +565,9 @@ func (s *Service) handle(md *metaData) error { } func getPIID(msg service.DIDCommMsg) (string, error) { - if pthID := msg.ParentThreadID(); pthID != "" { + // pthid is needed for problem-report message + pthID := msg.ParentThreadID() + if pthID != "" && (msg.Type() == ProblemReportMsgTypeV2 || msg.T...
fix: use thread id for present-proof PIID, except in problem report
null
hyperledger/aries-framework-go
Apache License 2.0
Go
@@ -84,7 +84,10 @@ class OcrWidget extends StatelessWidget { onPressed: () async => onTapExtractData(), ), ) - else + else if (TransientFile.isImageAvailable( + productImageData, + product.barcode!, + )) // TODO(monsieurtanuki): what if slow upload? text instead? const CircularProgressIndicator.adaptive(), const SizedB...
fix: remove the progress indicator on ingredient extraction screen
null
openfoodfacts/smooth-app
Apache License 2.0
Dart
@@ -15,6 +15,7 @@ export async function sendAndConfirmTransaction( transaction: Transaction, runtimeErrorOk: boolean = false ): Promise<void> { + const start = Date.now(); const signature = await connection.sendTransaction(from, transaction); // Wait up to a couple seconds for a confirmation @@ -25,7 +26,8 @@ export as...
fix: report elapsed duration on confirmation failure for better debug
null
solana-labs/solana-web3.js
MIT License
JavaScript
@@ -115,10 +115,14 @@ class ScriptsCommand : AbstractCommand("command.scripts") { val parts = arg.split(SPACE_PATTERN) val scriptArgs = mutableListOf<String>() var command = "" + var scriptArgPartStarted = false for (scriptArg in parts) { - if (argRegex.matches(scriptArg) || lineArgRegex.matches(scriptArg) || - scriptA...
fix: Scriptscommand added too many args to the invoke part
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -30,7 +30,7 @@ class Connection extends BaseConnection implements ConnectionInterface * * @var string */ - public $DBDriver = 'OCI8'; + protected $DBDriver = 'OCI8'; /** * Identifier escape character
fix: access level for DBDriver property
null
codeigniter4/codeigniter4
MIT License
PHP
@@ -77,9 +77,19 @@ public static boolean isNACKPacket(ByteArrayBuffer baf) * @param baf the NACK packet. */ public static Collection<Integer> getLostPackets(ByteArrayBuffer baf) + { + return getLostPacketsFci(getFCI(baf)); + } + + /** + * @return the set of sequence numbers reported lost in the FCI field of a + * NACK ...
fix: Fixes a broken method
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -158,7 +158,6 @@ export class Controller< } this.hooks = HooksDefinition.none; - this.viewModel = void 0; this.bindingContext = void 0; // stays undefined this.host = void 0; // stays undefined @@ -195,7 +194,6 @@ export class Controller< flags |= definition.strategy; createObservers(this, definition, flags, viewMod...
fix(controller): assign $controller again
null
aurelia/aurelia
MIT License
TypeScript
@@ -154,7 +154,7 @@ path = "{}.rs""#, Command::new("cargo") .args(&["clippy", "--manifest-path", CLIPPY_CARGO_TOML_PATH]) .args(RUSTC_COLOR_ARGS) - .args(&["--", "-D", "warnings"]) + .args(&["--", "-D", "warnings","-D","clippy::float_cmp"]) .output() } }
fix(clippy1): Set clippy::float_cmp lint to deny
null
rust-lang/rustlings
MIT License
Rust
@@ -36,15 +36,15 @@ class SeekBubble: UIView { UIView.animate(withDuration: ClapprAnimationDuration.seekBubbleShow, animations: { self.alpha = 1.0 self.addRoundedBorder(with: self.bubbleHeight.constant / 2) - self.parentView?.layoutSubviews() + parentView.layoutSubviews() }, completion: { _ in UIView.animate(withDurati...
fix: use guard parentView
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -120,6 +120,8 @@ final class WalletCoordinator: NSObject, Coordinator { case .error: disconnectWalletDelegate?.disconnect() } + + UIApplication.shared.isIdleTimerDisabled = lightningService.connection == .local && state == .syncing } private func presentUnlockWallet() {
fix: disable idle timer for local neutrino sync
null
ln-zap/zap-ios
MIT License
Swift
@@ -329,10 +329,13 @@ public void setOptimalIndex(int optimalIndex) { // Rewrite the SSRC of the output RTP stream. for (RawPacket pktOut : pktsOut) + { + if (pktOut != null) { pktOut.setSSRC((int) targetSSRC); } } + } return pktsOut; }
fix: Prevents a potential NPE
null
jitsi/libjitsi
Apache License 2.0
Java
@@ -102,7 +102,7 @@ const AlertGrid = observer( key={id} group={alertStore.data.groups[id]} showAlertmanagers={ - alertStore.data.upstreams.instances.length > 1 + alertStore.data.upstreams.clusters.length > 1 } afterUpdate={this.masonryRepack} settingsStore={settingsStore}
fix(ui): don't show labels on HA setup
null
prymitive/karma
Apache License 2.0
JavaScript
@@ -7,7 +7,7 @@ import { BlueStorageContext } from '../blue_modules/storage-context'; function DeviceQuickActions() { DeviceQuickActions.STORAGE_KEY = 'DeviceQuickActionsEnabled'; - const { wallets, walletsInitialized, isStorageEncrypted } = useContext(BlueStorageContext); + const { wallets, walletsInitialized, isStora...
fix: Quick action update when currency changes
null
bluewallet/bluewallet
MIT License
JavaScript
@@ -109,7 +109,7 @@ class ShardedMultiLevelPrecomputedMeshSource(UnshardedLegacyPrecomputedMeshSourc full_path = self.reader.meta.join(self.reader.meta.cloudpath) - lod_binary = CloudFiles(full_path).get({ + lod_binary = CloudFiles(full_path, progress=progress).get({ 'path': manifest.shard_filepath, 'start': (manifest....
fix(sharded,mesh): pass progress to CloudFiles
null
seung-lab/cloud-volume
BSD 3-Clause New or Revised License
Python
@@ -53,29 +53,23 @@ pub(crate) fn df_from_iox( schema: &arrow::datatypes::Schema, summary: &TableSummary, ) -> DFStatistics { - // reorder the column statistics so DF sees them in the same order - // as the schema. Form map of field_name-->column_index - let order_map = schema - .fields() + let column_by_name = summary...
fix: create statistics for nulled columns in RecordBatchExec
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -6,13 +6,13 @@ import './style/index.less'; export default class Tooltip extends React.Component { render() { - const { prefixCls, className, placement, visible, trigger, delay, visibleArrow, onVisibleChange, ...other } = this.props; + const { prefixCls, className, placement, visible, trigger, delay, usePortal, visi...
fix(Tooltip): Fix Tooltip usePortal props
null
uiwjs/uiw
MIT License
JavaScript
@@ -41,6 +41,9 @@ namespace MagicOnion.Server.OpenTelemetry // span name must be `$package.$service/$method` but MagicOnion has no $package. using var activity = source.StartActivity($"{context.MethodType}:{context.CallContext.Method}", ActivityKind.Server); + // activity may be null if "no one is listening" or "all li...
fix: treat activity may become null
null
cysharp/magiconion
MIT License
C#
@@ -198,7 +198,7 @@ export class CanvasRenderer { this.ctx.shadowOffsetY = textShadow.offsetY.number * this.options.scale; this.ctx.shadowBlur = textShadow.blur.number; - this.ctx.fillText(text.text, text.bounds.left, text.bounds.top + text.bounds.height); + this.renderTextWithLetterSpacing(text, styles.letterSpacing, ...
fix: text-shadow position with baseline
null
niklasvh/html2canvas
MIT License
TypeScript
@@ -113,7 +113,7 @@ export class ResourceSqlDataSourceBootstrap extends Bootstrap { }); dataSource.setInfo({ - isReadonly: dataSource => !this.networkStateService.state, + isReadonly: () => !this.networkStateService.state, }); return dataSource;
fix(plugin-sql-editor-navigation-tab-resource): remove unused arg
null
dbeaver/cloudbeaver
Apache License 2.0
TypeScript
@@ -74,6 +74,8 @@ class Mappy $obj = new MapPosition(); + + try { $obj->setHash($hash) ->setType($pos->Type) ->setBNpcNameID($pos->BNpcNameID) @@ -94,8 +96,6 @@ class Mappy ->setPixelY($pos->PixelY) ->setHP($pos->HP) ->setLevel($pos->Level); - - try { $this->em->persist($obj); $this->em->flush(); $saved++;
fix(mappy): ignore bad data and do not return 500
null
xivapi/xivapi.com
MIT License
PHP
@@ -12,7 +12,7 @@ module.exports = async (ctx) => { const $ = cheerio.load(response.data); const title = $('#search-title').text(); - const list = $('.search-main > .item-grid2 > div'); + const list = $('.search-main > .item-grid2 > div.cell'); const out = await Promise.all( list
fix(route): dekudeals error due to ad
null
diygod/rsshub
MIT License
JavaScript
@@ -55,7 +55,7 @@ namespace App.Metrics.Formatters.Prometheus.Internal.Extensions var promMetricFamily = new MetricFamily { name = metricNameFormatter(group.Context, metricGroup.Key), - type = MetricType.GAUGE + type = MetricType.COUNTER }; foreach (var metric in metricGroup) @@ -89,7 +89,7 @@ namespace App.Metrics.For...
fix(prometheus): label counters and histograms correctly
null
appmetrics/appmetrics
Apache License 2.0
C#
@@ -312,7 +312,17 @@ cws_custom_new(struct websockets *ws, const char ws_protocols[]) static bool _ws_close(struct websockets *ws) { + static const char reason[] = "Client initializes close"; + static const enum cws_close_reason code = CWS_CLOSE_REASON_NORMAL; + log_debug("_ws_close is called"); + log_http( + ws->p_con...
fix: rollback from WS removed logging
null
cee-studio/orca
MIT License
C
@@ -13,6 +13,7 @@ export interface WeekDayPickerProps extends BaseProps { hideLabel?: boolean; bottomHelpText?: ReactNode; availableDates?: WeekDays[]; + locale?: string; disabled?: boolean; required?: boolean; readOnly?: boolean;
fix: locale does not exist on WeekDayPicker
null
nexxtway/react-rainbow
MIT License
TypeScript
@@ -26,9 +26,11 @@ export class PlatformAppSavingService implements AppSaver { confirmationLabel: "Publish", formControl: revisionNoteControl }).then(() => this.saveWithNote(appID, content, revisionNoteControl.value)); - }; + } private saveWithNote(appID: string, content: string, revisionNote: string): Promise<any> { -...
fix(core): content from platform returned as formatted JSON to editor
null
rabix/composer
Apache License 2.0
TypeScript
# -*- coding: utf-8 -*- require_relative '../ConfigProvider/config_provider' -class AwsSamCli < Formula +class AwsSamCliRc < Formula include Language::Python::Virtualenv config_provider = ConfigProvider.new(
fix: Correct class name on aws sam cli rc formula
null
aws/homebrew-tap
Apache License 2.0
Ruby
@@ -44,7 +44,7 @@ public: } static CompNodeSyncManager& inst() { - static CompNodeSyncManager sl_inst; + static CompNodeSyncManager* sl_inst = new CompNodeSyncManager(); #if MGB_CUDA && defined(WIN32) //! FIXME: windows cuda driver shutdown before call atexit function even //! register atexit function after init cuda d...
fix(imperative): fix CompNodeSyncManager deconstruct
null
megengine/megengine
Apache License 2.0
C++
@@ -54,7 +54,7 @@ impl WriteBufferWriting for KafkaBufferProducer { .await .map_err(|(e, _owned_message)| Box::new(e))?; - debug!(b_name=%self.database_name, %offset, %partition, size=entry.data().len(), "wrote to kafka"); + debug!(db_name=%self.database_name, %offset, %partition, size=entry.data().len(), "wrote to kaf...
fix: Update write_buffer/src/kafka.rs
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -132,10 +132,16 @@ create_changelog() { if [[ -z "$standalone" ]]; then echo "Generating changelogs for: ${chartname}" # SCALE "Changelog" containing only last change - git-chglog --next-tag ${chartversion} --tag-filter-pattern ${chartname} --path ${chart} ${chartversion} -o ${chart}/SCALE/CHANGELOG.md + git-chglog ...
fix: correct changelog generation commands
null
truecharts/apps
BSD 3-Clause New or Revised License
Shell
@@ -592,7 +592,7 @@ export class BlueListItem extends Component { fontSize: 16, fontWeight: '500', }} - subtitleStyle={{ color: BlueApp.settings.alternativeTextColor, fontWeight: '400', width: 230 }} + subtitleStyle={{ flexWrap: 'wrap', color: BlueApp.settings.alternativeTextColor, fontWeight: '400', fontSize: 14 }} su...
fix: Line break on tx list
null
bluewallet/bluewallet
MIT License
JavaScript
@@ -1841,6 +1841,7 @@ where #[op] fn op_ffi_unsafe_callback_ref(state: &mut deno_core::OpState, inc_dec: bool) { + check_unstable(state, "Deno.dlopen"); let ffi_state = state.borrow_mut::<FfiState>(); if inc_dec { ffi_state.active_refed_functions += 1;
fix(ext/ffi): unstable op_ffi_unsafe_callback_ref
null
denoland/deno
MIT License
Rust
@@ -36,7 +36,7 @@ export class MetaProvider extends DataSource<MetaProvider.Payload> { lastCall: 'timestamp', }) - ctx.any().before('command', ({ session }: Argv<'lastCall'>) => { + ctx.any().on('command/check', ({ session }: Argv<'lastCall'>) => { if (!ctx.database) return session.user.lastCall = new Date() })
fix(core): fix incorrect observeChannel
null
koishijs/koishi
MIT License
TypeScript
@@ -241,10 +241,9 @@ def send_summary(timespan): if not is_energy_point_enabled(): return - - from_date = frappe.utils.add_days(None, -7) + from_date = frappe.utils.add_to_date(None, weeks=-1) if timespan == 'Monthly': - from_date = frappe.utils.add_days(None, -30) + from_date = frappe.utils.add_to_date(None, months=-1...
fix: Deduct a month instead of 30 days for accurate month range
null
frappe/frappe
MIT License
Python
@@ -88,6 +88,7 @@ export default withSearch(({ search }) => { itemKey={state => state.state} itemTitle={state => state.name} itemUrl={state => getSanitizedSlug(types.STATE, state)} + itemPublishDate={state => state.updatedAt} itemContent={post => ( <div dangerouslySetInnerHTML={{
fix(search): lost change during conflict resolution
null
covid19tracking/website
Apache License 2.0
JavaScript
@@ -1430,9 +1430,13 @@ func calcSubnetStatusIP(subnet *kubeovnv1.Subnet, c *Controller) error { if subnet.Spec.Protocol == kubeovnv1.ProtocolIPv4 { subnet.Status.V4AvailableIPs = availableIPs subnet.Status.V4UsingIPs = usingIPs + subnet.Status.V6AvailableIPs = 0 + subnet.Status.V6UsingIPs = 0 } else { subnet.Status.V6A...
fix: wrong info when update subnet from dual to ipv4 or ipv6
null
kubeovn/kube-ovn
Apache License 2.0
Go
@@ -12,7 +12,7 @@ mixin RenderTransformMixin on RenderBox { set origin(Offset value) { if (_origin == value) return; _origin = value; - markNeedsLayout(); + markNeedsPaint(); } Alignment get alignment => _alignment; @@ -20,7 +20,7 @@ mixin RenderTransformMixin on RenderBox { set alignment(Alignment value) { if (_alignm...
fix: transform should not markNeedsLayout
null
openkraken/kraken
Apache License 2.0
Dart
@@ -121,7 +121,7 @@ void do_rx(LCPARAMS) } } -bool dpdk_main_loop() +void dpdk_main_loop() { struct lcore_data lcdata_content = init_lcore_data(); packet_descriptor_t pd_content; @@ -130,8 +130,7 @@ bool dpdk_main_loop() packet_descriptor_t* pd = &pd_content; if (!lcdata->is_valid) { - debug("lcore data is invalid, exi...
fix: missing lcore RX queue setup doesn't cause failure
null
p4elte/t4p4s
Apache License 2.0
C
@@ -112,9 +112,9 @@ class RadioButton extends React.Component<Props> { handlePress = (context: RadioButtonContextType) => { const { onPress } = this.props; - const { onValueChange } = context; + const onValueChange = context ? context.onValueChange : () => {}; - onPress || onValueChange(this.props.value); + onPress ? o...
fix: fix RadioButton onPress
null
callstack/react-native-paper
MIT License
TypeScript
@@ -193,10 +193,12 @@ fn paint(&mut self, ctx: &mut PaintCtx, data: &LapceTabData, env: &Env) { return; } - let buffer = match data + let buffer = match &data.main_split.active_tab.as_ref() { + Some(active_tab) => { + match data .main_split .editor_tabs - .get(&data.main_split.active_tab.unwrap()) + .get(active_tab) .u...
fix: don't panic on empty active_tab
null
lapce/lapce
Apache License 2.0
Rust
@@ -128,7 +128,7 @@ namespace MLAPI.Prototyping private bool CheckSendRate() { - var networkTime = NetworkManager.Singleton.NetworkTime; + var networkTime = NetworkManager.NetworkTime; if (SendRate != 0 && m_NextSendTime < networkTime) { m_NextSendTime = networkTime + SendRate; @@ -223,8 +223,8 @@ namespace MLAPI.Proto...
fix: NetworkAnimator now uses owner NetworkManager
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -22,6 +22,7 @@ final class RootViewModel: NSObject { let authenticationViewModel = AuthenticationViewModel() let state = Observable<State>(.connecting) + private var connectionTimeoutTimer: Timer? private var syncingStartTime: Date? private(set) var lightningService: LightningService? { @@ -72,6 +73,11 @@ final clas...
fix: add timeout to connection screen
null
ln-zap/zap-ios
MIT License
Swift
@@ -34,6 +34,11 @@ func (s *AuthedAuthorizationService) CreateAuthorization(ctx context.Context, a if err := authorizer.VerifyPermissions(ctx, a.Permissions); err != nil { return err } + for _, v := range a.Permissions { + if v.Resource.Type == influxdb.InstanceResourceType { + return fmt.Errorf("authorizations cannot ...
fix: don't allow creating an auth with instance resources
null
influxdata/influxdb
MIT License
Go
@@ -44,7 +44,7 @@ export type Props = { rightIconName?: string; assistiveText?: string; multiline?: boolean; - style?: StyleProp<ViewStyle>; + style?: StyleProp<ViewStyle> & { height?: number; width?: number }; theme: typeof theme; render?: ( props: TextInputProps & { ref: (c: NativeTextInput) => void } @@ -402,7 +402,...
fix(textinput): allow specifying textinput/textarea dimensions
null
draftbit/react-native-jigsaw
MIT License
TypeScript
@@ -77,7 +77,7 @@ public void drain(boolean drain) { @Override public @NonNull Collection<String> sendCommandLine(@NonNull String commandLine) { var commandSource = new DriverCommandSource(); - this.cloudNet.commandProvider().execute(new DriverCommandSource(), commandLine); + this.cloudNet.commandProvider().execute(new...
fix(node): join the command execution to obtain the result
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java
@@ -36,6 +36,7 @@ const buildStateFromSchema = async (fieldSchema: FieldSchema[], fullData: Data = const iterateFields = (fields: FieldSchema[], data: Data, path = '') => fields.reduce((state, field) => { let initialData = data; + if (!field?.admin?.disabled) { if (field.name && field.defaultValue && typeof initialData...
fix: base auth / upload fields no longer cause validation issues
null
payloadcms/payload
MIT License
TypeScript
@@ -247,6 +247,8 @@ copy_docs() { yes | cp -rf ${chart}/CHANGELOG.md docs/apps/${train}/${chartname}/CHANGELOG.md 2>/dev/null || : yes | cp -rf ${chart}/CONFIG.md docs/apps/${train}/${chartname}/CONFIG.md 2>/dev/null || : yes | cp -rf ${chart}/helm-values.md docs/apps/${train}/${chartname}/helm-values.md 2>/dev/null ||...
fix: correctly copy license on release and allow removing them
null
truecharts/apps
BSD 3-Clause New or Revised License
Shell
@@ -521,9 +521,7 @@ func (woc *wfOperationCtx) prepareDefaultMetricScope() (map[string]string, map[s } func (woc *wfOperationCtx) prepareMetricScope(node *wfv1.NodeStatus) (map[string]string, map[string]func() float64) { - realTimeScope := make(map[string]func() float64) - localScope := woc.globalParams.DeepCopy() - + ...
fix: workflow.duration' is not available as a real time metric
null
argoproj/argo-workflows
Apache License 2.0
Go
@@ -144,11 +144,7 @@ func Open(path string, opts *Options) (*MultiFileAppendable, error) { if len(fis) > 0 { filename := fis[len(fis)-1].Name() appendableOpts.SetFilename(filename) - ext := filepath.Ext(filename) - if len(ext) > 0 { - ext = "." + ext - } - currAppID, err = strconv.ParseInt(strings.TrimSuffix(filename, ...
fix: file ext removal
null
codenotary/immudb
Apache License 2.0
Go
@@ -60,7 +60,8 @@ class GCMC(GeneralRecommender): # load parameters info self.dropout_prob = config['dropout_prob'] self.sparse_feature = config['sparse_feature'] - self.hidden_dim = [int(i) for i in list(config['hidden_dim'])] + self.gcn_output_dim = config['gcn_output_dim'] + self.dense_output_dim = config['embedding...
fix: update the parameters of GCMC
null
rucaibox/recbole
MIT License
Python
@@ -210,7 +210,7 @@ class SMTPServer: try: if self.use_ssl: if not self.port: - self.smtp_port = 465 + self.port = 465 self._sess = smtplib.SMTP_SSL((self.server or "").encode('utf-8'), cint(self.port) or None)
fix: set self.port instead of self.smtp_port
null
frappe/frappe
MIT License
Python
@@ -453,38 +453,28 @@ class ImageElement extends Element { } else { removeAttribute('loading'); } - - if (_isInLazyLoading) { - _resetLazyLoading(); - } else if (key == WIDTH) { - _propertyWidth = CSSNumber.parseNumber(value); - if (_shouldScaling) { - _resolveImage(_resolvedUri, updateImageProvider: true); - } else { ...
fix: conflict in merge
null
openkraken/kraken
Apache License 2.0
Dart
@@ -142,7 +142,8 @@ public final class DefaultAttachmentRegistry implements InternalAttachmentRegist try { final OutputStream os = java.nio.file.Files.newOutputStream(file.toPath(), StandardOpenOption.CREATE_NEW); - partialUploads.put(clientId, id, new CountingOutputStream(os)); + final CountingOutputStream cos = new C...
fix(core): Fix OutputStream issue in DefaultAttachmentRegistry
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
use tracing::{debug, info}; use std::env::VarError; +use std::fs; use std::net::SocketAddr; use std::sync::Arc; @@ -26,6 +27,8 @@ pub async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> { path.into_os_string().into_string().unwrap() } }; + fs::create_dir_all(&db_dir)?; + debug!("InfluxDB IOx Server ...
fix: Create the database directory if it doesn't already exist
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -202,7 +202,11 @@ extension AWSMutationDatabaseAdapter: MutationEventIngester { completionPromise: @escaping Future<MutationEvent, DataStoreError>.Promise) { log.verbose("\(#function) mutationEvent: \(mutationEvent)") - storageAdapter.save(mutationEvent, condition: nil) { result in + var eventToPersist = mutationEve...
fix: Mark outgoing mutation as inProcess if nextEventPromise exists
null
aws-amplify/amplify-ios
Apache License 2.0
Swift
@@ -29,6 +29,7 @@ import ( api "yunion.io/x/onecloud/pkg/apis/compute" "yunion.io/x/onecloud/pkg/appctx" + "yunion.io/x/onecloud/pkg/cloudprovider" "yunion.io/x/onecloud/pkg/hostman/hostutils" "yunion.io/x/onecloud/pkg/hostman/options" "yunion.io/x/onecloud/pkg/hostman/storageman/remotefile" @@ -85,11 +86,12 @@ func (d...
fix(host): avoid delete removed disk failed
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -131,9 +131,9 @@ export const Pagination: TableFeature = { let pageIndex = functionalUpdate(updater, old.pageIndex) const maxPageIndex = - typeof instance.options.pageCount !== 'undefined' - ? instance.options.pageCount - 1 - : Number.MAX_SAFE_INTEGER + (typeof instance.options.pageCount === 'undefined' || instance....
fix: Fix pagination bug when pageCount = -1
null
tannerlinsley/react-table
MIT License
TypeScript
@@ -37,7 +37,7 @@ def render_site_table(sites_info): for n, site_data in enumerate(sites_info): name, status = site_data["name"], site_data["status"] - if status not in ("Inactive", "Suspended"): + if status in ("Active", "Broken"): sites_table.append([n + 1, name, status]) available_sites.append(name) @@ -372,7 +372,7...
fix: show only Active and Broken sites in Sites List
null
frappe/frappe
MIT License
Python
@@ -40,6 +40,7 @@ import ( "yunion.io/x/onecloud/pkg/keystone/saml" "yunion.io/x/onecloud/pkg/mcclient" "yunion.io/x/onecloud/pkg/util/logclient" + "yunion.io/x/onecloud/pkg/util/rbacutils" "yunion.io/x/onecloud/pkg/util/samlutils/sp" "yunion.io/x/onecloud/pkg/util/stringutils2" ) @@ -1275,7 +1276,11 @@ func (idp *SIde...
fix(keystone): cas sso may create new project whenever user login
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -326,7 +326,11 @@ mod tests { #[tokio::test] async fn handle_abort() { let handle = handle(); - let join = handle.spawn(async { 5 }); + let join = handle.spawn(async { + // Here we sleep 1 second to ensure this task to be uncompleted when abort() invoked. + tokio::time::sleep(tokio::time::Duration::from_secs(1)).awa...
fix: extract an entire source archive into a specified path is not working if the archive includes dirs
null
tauri-apps/tauri
Apache License 2.0
Rust
@@ -163,7 +163,7 @@ public class Box2DTest extends GdxTest implements InputProcessor { createBoxes(); - Array<Fixture> fixtures = new Array<>(); + Array<Fixture> fixtures = new Array<Fixture>(); world.getFixtures(fixtures); // You can savely ignore the rest of this method :)
fix(missing diamond op): causes a gradle compile error since the project utilizes java 1.6
null
libgdx/libgdx
Apache License 2.0
Java
@@ -34,10 +34,13 @@ type Grant struct { } func VerifyTokenAndWriteCtxData(ctx context.Context, token, orgID string, t *TokenVerifier, method string) (_ context.Context, err error) { + if orgID != "" { err = t.ExistsOrg(ctx, orgID) if err != nil { return nil, errors.ThrowPermissionDenied(nil, "AUTH-Bs7Ds", "Organisation...
fix: check if org id not empty before checking if it exists
null
caos/zitadel
Apache License 2.0
Go
@@ -103,11 +103,11 @@ defmodule Ash.Api.Interface do query |> unquote(api).read_one!(Keyword.drop(opts, [:query, :tenant])) |> case do - {:ok, nil} -> - {:error, Ash.Error.Query.NotFound.exception(resource: query.resource)} + nil -> + raise Ash.Error.Query.NotFound, resource: query.resource - {:ok, result} -> - {:ok, r...
fix: `get!` should raise on `nil` not `{:ok, nil}`
null
ash-project/ash
MIT License
Elixir
@@ -255,6 +255,7 @@ public abstract class BaseObject implements IDatabaseObject { */ @Override public void applyVersion(IDatabaseAdapter target, IVersionHistoryService vhs) { + // Only for Procedures do we skip the Version History Service check, and apply. if (vhs.applies(getSchemaName(), getObjectType().name(), getObj...
fix: update the BaseObject with a comment
null
ibm/fhir
Apache License 2.0
Java
@@ -34,7 +34,7 @@ const AuthProvider: React.FunctionComponent<AuthProviderProps> = cookieSecure, }) => { if (authStorageType === "cookie") { - if (!(!!cookieSecure && !!cookieDomain)) { + if (!cookieDomain) { throw new Error("authStorageType 'cookie' requires 'cookieDomain' and 'cookieSecure' in AuthProvider") } }
fix: AuthProvider.tsx pushing error for cookieSecure set as false
null
react-auth-kit/react-auth-kit
Apache License 2.0
TypeScript
@@ -164,8 +164,10 @@ int zmk_hog_send_keypad_report(struct zmk_hid_keypad_report_body *report) { LOG_DBG("Sending to NULL? %s", conn == NULL ? "yes" : "no"); - return bt_gatt_notify(conn, &hog_svc.attrs[5], report, - sizeof(struct zmk_hid_keypad_report_body)); + int err = + bt_gatt_notify(conn, &hog_svc.attrs[5], repor...
fix: don't leak bt_conn refs
null
zmkfirmware/zmk
MIT License
C
@@ -644,10 +644,6 @@ abstract class AbstractItemNormalizer extends AbstractObjectNormalizer unset($context['resource_class']); if ($type && $type->getClassName()) { - if (!\is_object($attributeValue) && null !== $attributeValue) { - throw new UnexpectedValueException('Unexpected non-object value for object property.');...
fix: serializing embedded non resource objects
null
api-platform/core
MIT License
PHP
@@ -691,7 +691,7 @@ def browse(context, site, user=None): print("Please enable developer mode to login as a user") url = f'{frappe.utils.get_site_url(site)}{sid}' - if sid: + if user == "Administrator": print(f'Login URL: {url}') webbrowser.open(url, new=2) else:
fix: print url only when user is Administrator
null
frappe/frappe
MIT License
Python
@@ -262,6 +262,16 @@ export function createSlice< if (!name) { throw new Error('`name` is a required option for createSlice') } + + if ( + typeof process !== 'undefined' && + process.env.NODE_ENV === 'development' + ) { + if(options.initialState === undefined) { + throw new Error('initial state must be different of und...
fix: throw error when initial state is undefined
null
reduxjs/redux-toolkit
MIT License
TypeScript
@@ -37,6 +37,8 @@ import org.slf4j.LoggerFactory; import com.vaadin.flow.component.Component; import com.vaadin.flow.router.InternalServerError; import com.vaadin.flow.router.NotFoundException; +import com.vaadin.flow.router.RouteAliasData; +import com.vaadin.flow.router.RouteBaseData; import com.vaadin.flow.router.Rou...
fix: workaround for possible bug in route registry (like
null
vaadin/flow
Apache License 2.0
Java
@@ -37,8 +37,6 @@ export function answer(aBrowser) { aBrowser.waitUntil(() => aBrowser.isVisible(elements.remoteVideo), 5000, 'remote video is not visible after answering call'); - // Let call elapse 5 seconds before hanging up - aBrowser.pause(5000); } /** @@ -50,9 +48,7 @@ export function answer(aBrowser) { export fu...
fix(journeys): remove extra tests for message widget visibility
null
webex/react-widgets
MIT License
JavaScript
@@ -30,7 +30,7 @@ public static class LinuxFS file.SetOwner(uid, gid); changed = true; } - if (mode > 0) + if (mode > 0 && (int)file.FileAccessPermissions != mode) { file.FileAccessPermissions = (FileAccessPermissions)mode; changed = true;
fix: check if the file permissions do not match
null
shokoanime/shokoserver
MIT License
C#
@@ -625,17 +625,11 @@ func (self *SOpsLogManager) FilterByOwner(q *sqlchemy.SQuery, ownerId mcclient.I } case rbacutils.ScopeProject: if len(ownerId.GetProjectId()) > 0 { - q = q.Filter(sqlchemy.OR( - sqlchemy.Equals(q.Field("owner_tenant_id"), ownerId.GetProjectId()), - sqlchemy.Equals(q.Field("tenant_id"), ownerId.Ge...
fix: opslog show the owners operation logs only
null
yunionio/yunioncloud
Apache License 2.0
Go
@@ -4,14 +4,34 @@ import Foundation import PromiseKit import web3swift -//TODO maybe we should cache promises that haven't resolved yet. This is useful/needed because users can switch between Wallet and Transactions tab multiple times quickly and trigger the same call to fire many times before any of them have been com...
fix: TokenScript attribute fetching (actually most smart contract function calls) not working anymore, so TokenScript views display NaN
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -142,10 +142,10 @@ public abstract class FhirResourceSearchRequest<B extends MetadataResource.Build // remove all fields that are not part of the current resource model fieldsToLoad.removeAll(EXTERNAL_FHIR_RESOURCE_FIELDS); fieldsToLoad.removeAll(getExternalFhirResourceFields()); - // replace publisher with internal...
fix(fhir): Map FHIR's "publisher" property to resource contacts
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -103,7 +103,7 @@ const PlayerCard: React.FC<{playerData: PlayerData}> = ({playerData}) => { variant="subtitle1" color="textSecondary" > - {formatDistance(playerData.distance)} + {playerData.distance < 0 ? `?? m` : formatDistance(playerData.distance)} </Typography> </Box> <IconButton onClick={handlePlayerClick}>{<Mor...
fix(menu/main): added support for -1 (unknown distance)
null
tabarra/txadmin
MIT License
TypeScript
package me.melijn.melijnbot.internals.utils -import com.google.common.cache.CacheLoader import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.asCoroutineDispatcher @@ -21,7 +20,6 @@ import java.time.LocalDate import java.time.Month import java.time.Year import java.util.* -imp...
fix: smh I missed loadingcache in OtherUtils.kt
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -43,7 +43,7 @@ class Select extends NativeSelect private function validateConfig(): void { - if ($this->options && $this->asyncData) { + if ($this->options->isNotEmpty() && $this->asyncData) { throw new Exception('The {async-data} attribute cannot be used with {options} attribute.'); } }
fix: verify if the options is not empty
null
wireui/wireui
MIT License
PHP
import React, { Component } from 'react'; -import { View, Modal, TouchableWithoutFeedback, Platform } from 'react-native'; +import { View, Modal, TouchableWithoutFeedback } from 'react-native'; import { Calendar } from 'react-native-calendars'; import { Text, @@ -181,10 +181,7 @@ class DatePicker extends Component { } ...
fix: resetButton styles should be applied cross-platform
null
appbaseio/reactivesearch
Apache License 2.0
JavaScript
@@ -6,7 +6,6 @@ const {DEFAULT_MAX_ZOOM, DEFAULT_MIN_ZOOM} = goog.require('ol'); const olColor = goog.require('ol.color'); const olExtent = goog.require('ol.extent'); const VectorTileRenderType = goog.require('ol.layer.VectorTileRenderType'); -const obj = goog.require('ol.obj'); const {transformExtent} = goog.require('...
fix(vectortile): declutter images/text and load when styleUrl is ready
null
ngageoint/opensphere
Apache License 2.0
JavaScript
@@ -600,6 +600,16 @@ impl<KV: KVApi> ShareApi for KV { txn_op_put(&id_key, serialize_struct(&share_meta)?), /* (share_id) -> share_meta */ txn_op_put(&object, serialize_struct(&share_ids)?), /* (object) -> share_ids */ ]; + // Some database has been created before `DatabaseIdToName`, so create it if need. + create_db_n...
fix: fix share db bug, create DatabaseIdToName if need
null
datafuselabs/databend
Apache License 2.0
Rust
@@ -53,7 +53,7 @@ START_TEST(test_006GetBalance_0001GetSuccess) } END_TEST -START_TEST(test_006GetBalance_0002GetSuccessNullAddress) +START_TEST(test_006GetBalance_0002GetWalletDefaultAddressSuccess) { BOAT_RESULT result; BoatEthTx tx_ctx; @@ -73,7 +73,6 @@ START_TEST(test_006GetBalance_0002GetSuccessNullAddress) cur_b...
fix: Change a test case name and fix it
null
aitos-io/boat-x-framework
Apache License 2.0
C
@@ -328,7 +328,7 @@ open class ExoPlayerPlayback(source: String, mimeType: String? = null, options: val message = error?.message ?: "Exoplayer Error" val errorExtra = Bundle() - error?.apply { errorExtra.putSerializable(ErrorInfoData.EXCEPTION.value, this) } + error?.let { errorExtra.putSerializable(ErrorInfoData.EXCEP...
fix(report_error): change apply to let
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -125,7 +125,14 @@ export class TransactionalConnection { ): Promise<T> { let entity: T | undefined; if (options.channelId != null) { - entity = await this.findOneInChannel(ctx, entityType, id, options.channelId, options); + const { channelId, ...optionsWithoutChannelId } = options; + entity = await this.findOneInCha...
fix(core): Fix error when using channelId with getEntityOrThrow method
null
vendure-ecommerce/vendure
MIT License
TypeScript
@@ -1231,7 +1231,8 @@ impl<T: Config> Pallet<T> { return Ok(basic_block_header); } - let expected_target = if block_height >= 2016 && block_height % DIFFICULTY_ADJUSTMENT_INTERVAL == 0 { + let expected_target = + if block_height >= DIFFICULTY_ADJUSTMENT_INTERVAL && block_height % DIFFICULTY_ADJUSTMENT_INTERVAL == 0 { S...
fix: use DIFFICULTY_ADJUSTMENT_INTERVAL consistently
null
interlay/interbtc
Apache License 2.0
Rust
@@ -231,10 +231,42 @@ func newTasksResponse(ctx context.Context, ts []*influxdb.Task, f influxdb.TaskF type runResponse struct { Links map[string]string `json:"links,omitempty"` - influxdb.Run + httpRun +} + +// httpRun is a version of the Run object used to communicate over the API +// it uses a pointer to a time.Time...
fix(tasks): create API facing interface for task runs
null
influxdata/influxdb
MIT License
Go
@@ -31,9 +31,6 @@ package org.hisp.dhis.aggregate; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import io.restassured.matcher.RestAssuredMatchers; -import jdk.nashorn.internal.ir.annotations.Ignore; -import org.hamcrest.Matchers; import org.hisp.dhis.ApiTest;...
fix: disabling the data import tests
null
dhis2/dhis2-core
BSD 3-Clause New or Revised License
Java
@@ -3242,6 +3242,11 @@ int SuperMediaPlayer::CreateVideoDecoder(bool bHW, Stream_meta &meta) decFlag |= DECFLAG_OUTPUT_FRAME_ASAP; } + { + std::lock_guard<std::mutex> lock(mAppStatusMutex); + ProcessVideoHoldMsg(mAppStatus == APP_BACKGROUND); + } + ret = mVideoDecoder->open(&meta, view, decFlag); if (ret < 0) {
fix(supermediaplayer): set holdOn after create decoder
null
alibaba/cicadaplayer
MIT License
C++
@@ -593,7 +593,7 @@ class Asset implements \ArrayAccess } } catch (\Symfony\Component\Filesystem\Exception\IOException $e) { if (!$this->ignore_missing) { - throw new RuntimeException(\sprintf('Can\'t save asset "%s".', $filepath)); + throw new RuntimeException(\sprintf('Can\'t save asset "%s"', $filepath)); } } } @@ -...
fix: remote files handling
null
cecilapp/cecil
MIT License
PHP
@@ -179,7 +179,7 @@ class CacheTest extends TestCase ]); Cache::setConfig('tests_fallback_final', [ 'engine' => 'File', - 'path' => TMP, + 'path' => TMP . 'cake_test', 'groups' => ['integration_group_3'], ]);
fix: /tmp will have unreadable directories causing failing tests
null
cakephp/cakephp
MIT License
PHP
@@ -3,7 +3,7 @@ import { ResolverGeneratorPluginConfig } from '../ResolverGeneratorPlugin'; import { formatDocumentJS, formatDocumentTs } from './formatter' //Wraps resolver method strings into fully featured files -const topNote = `/** +const topNote = `/* * File generated by Graphback CRUD resolver plugin. * Content ...
fix: comemnt alignment
null
aerogear/graphback
Apache License 2.0
TypeScript
@@ -471,7 +471,7 @@ class YamlExtractorTest extends TestCase public function getInvalidPaths(): array { return [ - [__DIR__.'/yaml/invalid/invalid_resources.yaml', '"resources" setting is expected to be null or an array, string given in "'.__DIR__.'/yaml/invalid/invalid_resources.yaml'.'".'], + [__DIR__.'/yaml/invalid/...
fix: update yaml extractor test file coding standard
null
api-platform/core
MIT License
PHP
@@ -20,40 +20,14 @@ export const DynamicPackage = ({ <> <UL direction="row"> <LI padSides={true}> - <Card + <FrontCard + trail={primary} containerPalette={containerPalette} - containerType="dynamic/package" showAge={showAge} - linkTo={primary.url} - format={primary.format} - headlineText={primary.headline} headlineSize...
fix: Replace `Card` with `FrontCard` after merge issue
null
guardian/dotcom-rendering
Apache License 2.0
TypeScript
@@ -247,7 +247,7 @@ fn flag_subcommand_short_conflict_with_arg() { let _ = App::new("test") .subcommand(App::new("some").short_flag('f').long_flag("some")) .arg(Arg::new("test").short('f')) - .get_matches_from(vec!["myprog", "-ff"]); + .get_matches_from(vec!["myprog", "-f"]); } #[test]
fix: duplicate short flags in Flag Subcommand test
null
clap-rs/clap
Apache License 2.0
Rust