text:
Advection Equation with time varying velocity: UndefVarError

If i model a simple advection equation with time varying velocity, I run into an UndefVarError C not defined when simulating the discretized model. Maybe this is related to #189, but I am not sure. The problem does not occur if I use a constant velocity term or if I replace the zero boundary condition at the inlet with a nonzero bc.
The varying velocity is introduced via DataInterpolations.jl (the problem seems also to occur with Interpolations.jl). A MWE is
using ModelingToolkit, MethodOfLines, OrdinaryDiffEq, DomainSets, DataInterpolations

@parameters t z
@variables C(..)

Dt = Differential(t)
Dz = Differential(z)

v = 1:11;
Time = 0:0.1:1

tvip =  DataInterpolations.LinearInterpolation(vcat(v...),vcat(Time...))
vip1(t) = tvip(t);

@register vip1(t)

# define PDEs
# eq = [Dt(C(z,t)) ~ -1*Dz(C(z,t)), ]
eq = [Dt(C(z,t)) ~ -vip1(t)*Dz(C(z,t)), ]

bcs = [ C(0,t) ~ 0,         # boundary condition
        C(z,0) ~ 1,         # initial condition
    ]

domains = [t ∈ Interval(0.0,1),
           z ∈ Interval(0.0,1)]

@named pdesys = PDESystem(eq,bcs,domains,[z,t],[
    C(z,t),
    ],
);

N = 5;
dz = 1/N;
order = 2;
discretization = MOLFiniteDifference([z => dz],t, approx_order=order, grid_align=center_align)

@time prob = discretize(pdesys,discretization);
solve(prob,Tsit5());

Here is the complete
Tracelog
ERROR: UndefVarError: C not defined
Stacktrace:
  [1] macro expansion
    @ C:\Users\user\.julia\packages\SymbolicUtils\qulQp\src\code.jl:394 [inlined]
  [2] macro expansion
    @ C:\Users\user\.julia\packages\Symbolics\FGTCH\src\build_function.jl:519 [inlined]
  [3] macro expansion
    @ C:\Users\user\.julia\packages\SymbolicUtils\qulQp\src\code.jl:351 [inlined]
  [4] macro expansion
    @ C:\Users\user\.julia\packages\RuntimeGeneratedFunctions\6v5Gn\src\RuntimeGeneratedFunctions.jl:137 [inlined]
  [5] macro expansion
    @ .\none:0 [inlined]
  [6] generated_callfunc
    @ .\none:0 [inlined]
  [7] (::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfd86900f, 0x3d09c415, 0x3a70905f, 0xc3f8b7e6, 0x2731f34e)})(::Vector{Float64}, ::Vector{Float64}, ::SciMLBase.NullParameters, ::Float64)
    @ RuntimeGeneratedFunctions C:\Users\user\.julia\packages\RuntimeGeneratedFunctions\6v5Gn\src\RuntimeGeneratedFunctions.jl:124
  [8] f
    @ C:\Users\user\.julia\packages\ModelingToolkit\e7Li7\src\systems\diffeqs\abstractodesystem.jl:279 [inlined]
  [9] Void
    @ C:\Users\user\.julia\packages\SciMLBase\AwWUI\src\utils.jl:462 [inlined]
 [10] (::FunctionWrappers.CallWrapper{Nothing})(f::SciMLBase.Void{ModelingToolkit.var"#f#465"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xf6985fb9, 0xb0545c9a, 0xb6be35b7, 0x1ca248be, 0x19479b71)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfd86900f, 0x3d09c415, 0x3a70905f, 0xc3f8b7e6, 0x2731f34e)}}}, arg1::Vector{Float64}, arg2::Vector{Float64}, arg3::SciMLBase.NullParameters, arg4::Float64)
    @ FunctionWrappers C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:65
 [11] macro expansion
    @ C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:137 [inlined]
 [12] do_ccall
    @ C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:125 [inlined]
 [13] FunctionWrapper
    @ C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:144 [inlined]
 [14] _call
    @ C:\Users\user\.julia\packages\FunctionWrappersWrappers\YyXoO\src\FunctionWrappersWrappers.jl:12 [inlined]
 [15] FunctionWrappersWrapper
    @ C:\Users\user\.julia\packages\FunctionWrappersWrappers\YyXoO\src\FunctionWrappersWrappers.jl:10 [inlined]
 [16] ODEFunction
    @ C:\Users\user\.julia\packages\SciMLBase\AwWUI\src\scimlfunctions.jl:1964 [inlined]
 [17] initialize!(integrator::OrdinaryDiffEq.ODEIntegrator{Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, true, Vector{Float64}, Nothing, Float64, SciMLBase.NullParameters, Float64, Float64, Float64, Float64, Vector{Vector{Float64}}, ODESolution{Float64, 2, Vector{Vector{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Vector{Float64}}}, ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, SciMLBase.NullParameters, ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, MethodOfLines.MOLMetadata{Val{true}(), MethodOfLines.DiscreteSpace{1, 1, MethodOfLines.CenterAlignedGrid}, MOLFiniteDifference{MethodOfLines.CenterAlignedGrid, MethodOfLines.ScalarizedDiscretization}, PDESystem, Base.RefValue{Any}, MethodOfLines.ScalarizedDiscretization}}, Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, OrdinaryDiffEq.InterpolationData{ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing,
Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Vector{Vector{Float64}}, Vector{Float64}, Vector{Vector{Vector{Float64}}}, OrdinaryDiffEq.Tsit5Cache{Vector{Float64}, Vector{Float64}, Vector{Float64}, OrdinaryDiffEq.Tsit5ConstantCache{Float64, Float64}, typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!),
Static.False}}, DiffEqBase.DEStats, Nothing}, ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, OrdinaryDiffEq.Tsit5Cache{Vector{Float64}, Vector{Float64}, Vector{Float64}, OrdinaryDiffEq.Tsit5ConstantCache{Float64, Float64}, typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, OrdinaryDiffEq.DEOptions{Float64, Float64, Float64, Float64, PIController{Rational{Int64}}, typeof(DiffEqBase.ODE_DEFAULT_NORM), typeof(LinearAlgebra.opnorm), Nothing, CallbackSet{Tuple{}, Tuple{}}, typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), DataStructures.BinaryHeap{Float64, DataStructures.FasterForward}, DataStructures.BinaryHeap{Float64, DataStructures.FasterForward}, Nothing, Nothing, Int64, Tuple{}, Tuple{}, Tuple{}}, Vector{Float64}, Float64, Nothing, OrdinaryDiffEq.DefaultInit}, cache::OrdinaryDiffEq.Tsit5Cache{Vector{Float64}, Vector{Float64}, Vector{Float64}, OrdinaryDiffEq.Tsit5ConstantCache{Float64, Float64}, typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False})
    @ OrdinaryDiffEq C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\perform_step\low_order_rk_perform_step.jl:736
 [18] __init(prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, SciMLBase.NullParameters, ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing,
Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, MethodOfLines.MOLMetadata{Val{true}(), MethodOfLines.DiscreteSpace{1, 1, MethodOfLines.CenterAlignedGrid}, MOLFiniteDifference{MethodOfLines.CenterAlignedGrid, MethodOfLines.ScalarizedDiscretization}, PDESystem, Base.RefValue{Any}, MethodOfLines.ScalarizedDiscretization}}, alg::Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, timeseries_init::Tuple{}, ts_init::Tuple{}, ks_init::Tuple{}, recompile::Type{Val{true}}; saveat::Tuple{}, tstops::Tuple{}, d_discontinuities::Tuple{}, save_idxs::Nothing, save_everystep::Bool, save_on::Bool, save_start::Bool, save_end::Nothing, callback::Nothing, dense::Bool, calck::Bool, dt::Float64, dtmin::Nothing, dtmax::Float64, force_dtmin::Bool, adaptive::Bool, gamma::Rational{Int64}, abstol::Nothing, reltol::Nothing, qmin::Rational{Int64}, qmax::Int64, qsteady_min::Int64, qsteady_max::Int64, beta1::Nothing, beta2::Nothing, qoldinit::Rational{Int64}, controller::Nothing, fullnormalize::Bool, failfactor::Int64, maxiters::Int64, internalnorm::typeof(DiffEqBase.ODE_DEFAULT_NORM), internalopnorm::typeof(LinearAlgebra.opnorm), isoutofdomain::typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), unstable_check::typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), verbose::Bool, timeseries_errors::Bool, dense_errors::Bool, advance_to_tstop::Bool, stop_at_next_tstop::Bool, initialize_save::Bool, progress::Bool, progress_steps::Int64, progress_name::String, progress_message::typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), userdata::Nothing, allow_extrapolation::Bool, initialize_integrator::Bool, alias_u0::Bool, alias_du0::Bool, initializealg::OrdinaryDiffEq.DefaultInit, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ OrdinaryDiffEq C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:493
 [19] __init (repeats 5 times)
    @ C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:10 [inlined]
 [20] #__solve#562
    @ C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:5 [inlined]
 [21] __solve
    @ C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:1 [inlined]
 [22] #solve_call#26
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:473 [inlined]
 [23] solve_call
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:443 [inlined]
 [24] #solve_up#32
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:835 [inlined]
 [25] solve_up
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:808 [inlined]
 [26] #solve#31
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:802 [inlined]
 [27] solve(prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, SciMLBase.NullParameters, ODEFunction{true, SciMLBase.AutoSpecialize, ModelingToolkit.var"#f#465"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xf6985fb9, 0xb0545c9a, 0xb6be35b7, 0x1ca248be, 0x19479b71)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfd86900f, 0x3d09c415, 0x3a70905f, 0xc3f8b7e6, 0x2731f34e)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, MethodOfLines.MOLMetadata{Val{true}(), MethodOfLines.DiscreteSpace{1, 1, MethodOfLines.CenterAlignedGrid}, MOLFiniteDifference{MethodOfLines.CenterAlignedGrid, MethodOfLines.ScalarizedDiscretization}, PDESystem, Base.RefValue{Any}, MethodOfLines.ScalarizedDiscretization}}, args::Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False})
    @ DiffEqBase C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:792
 [28] top-level scope
    @ c:\Users\user\KineticIso\simpleadvection.jl:42

Package versions:
Julia v1.8.1
[961ee093] ModelingToolkit v8.33.1
[94925ecb] MethodOfLines v0.6.1
[1dea7af3] OrdinaryDiffEq v6.31.2
[82cc6244] DataInterpolations v3.10.1

Is this giving something like undef var error - C not defined?

Yes exactly, sorry for not being exact there.
Here is the complete
Tracelog
ERROR: UndefVarError: C not defined
Stacktrace:
  [1] macro expansion
    @ C:\Users\user\.julia\packages\SymbolicUtils\qulQp\src\code.jl:394 [inlined]
  [2] macro expansion
    @ C:\Users\user\.julia\packages\Symbolics\FGTCH\src\build_function.jl:519 [inlined]
  [3] macro expansion
    @ C:\Users\user\.julia\packages\SymbolicUtils\qulQp\src\code.jl:351 [inlined]
  [4] macro expansion
    @ C:\Users\user\.julia\packages\RuntimeGeneratedFunctions\6v5Gn\src\RuntimeGeneratedFunctions.jl:137 [inlined]
  [5] macro expansion
    @ .\none:0 [inlined]
  [6] generated_callfunc
    @ .\none:0 [inlined]
  [7] (::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfd86900f, 0x3d09c415, 0x3a70905f, 0xc3f8b7e6, 0x2731f34e)})(::Vector{Float64}, ::Vector{Float64}, ::SciMLBase.NullParameters, ::Float64)
    @ RuntimeGeneratedFunctions C:\Users\user\.julia\packages\RuntimeGeneratedFunctions\6v5Gn\src\RuntimeGeneratedFunctions.jl:124
  [8] f
    @ C:\Users\user\.julia\packages\ModelingToolkit\e7Li7\src\systems\diffeqs\abstractodesystem.jl:279 [inlined]
  [9] Void
    @ C:\Users\user\.julia\packages\SciMLBase\AwWUI\src\utils.jl:462 [inlined]
 [10] (::FunctionWrappers.CallWrapper{Nothing})(f::SciMLBase.Void{ModelingToolkit.var"#f#465"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xf6985fb9, 0xb0545c9a, 0xb6be35b7, 0x1ca248be, 0x19479b71)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfd86900f, 0x3d09c415, 0x3a70905f, 0xc3f8b7e6, 0x2731f34e)}}}, arg1::Vector{Float64}, arg2::Vector{Float64}, arg3::SciMLBase.NullParameters, arg4::Float64)
    @ FunctionWrappers C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:65
 [11] macro expansion
    @ C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:137 [inlined]
 [12] do_ccall
    @ C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:125 [inlined]
 [13] FunctionWrapper
    @ C:\Users\user\.julia\packages\FunctionWrappers\Q5cBx\src\FunctionWrappers.jl:144 [inlined]
 [14] _call
    @ C:\Users\user\.julia\packages\FunctionWrappersWrappers\YyXoO\src\FunctionWrappersWrappers.jl:12 [inlined]
 [15] FunctionWrappersWrapper
    @ C:\Users\user\.julia\packages\FunctionWrappersWrappers\YyXoO\src\FunctionWrappersWrappers.jl:10 [inlined]
 [16] ODEFunction
    @ C:\Users\user\.julia\packages\SciMLBase\AwWUI\src\scimlfunctions.jl:1964 [inlined]
 [17] initialize!(integrator::OrdinaryDiffEq.ODEIntegrator{Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, true, Vector{Float64}, Nothing, Float64, SciMLBase.NullParameters, Float64, Float64, Float64, Float64, Vector{Vector{Float64}}, ODESolution{Float64, 2, Vector{Vector{Float64}}, Nothing, Nothing, Vector{Float64}, Vector{Vector{Vector{Float64}}}, ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, SciMLBase.NullParameters, ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, MethodOfLines.MOLMetadata{Val{true}(), MethodOfLines.DiscreteSpace{1, 1, MethodOfLines.CenterAlignedGrid}, MOLFiniteDifference{MethodOfLines.CenterAlignedGrid, MethodOfLines.ScalarizedDiscretization}, PDESystem, Base.RefValue{Any}, MethodOfLines.ScalarizedDiscretization}}, Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, OrdinaryDiffEq.InterpolationData{ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing,
Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Vector{Vector{Float64}}, Vector{Float64}, Vector{Vector{Vector{Float64}}}, OrdinaryDiffEq.Tsit5Cache{Vector{Float64}, Vector{Float64}, Vector{Float64}, OrdinaryDiffEq.Tsit5ConstantCache{Float64, Float64}, typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!),
Static.False}}, DiffEqBase.DEStats, Nothing}, ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, OrdinaryDiffEq.Tsit5Cache{Vector{Float64}, Vector{Float64}, Vector{Float64}, OrdinaryDiffEq.Tsit5ConstantCache{Float64, Float64}, typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, OrdinaryDiffEq.DEOptions{Float64, Float64, Float64, Float64, PIController{Rational{Int64}}, typeof(DiffEqBase.ODE_DEFAULT_NORM), typeof(LinearAlgebra.opnorm), Nothing, CallbackSet{Tuple{}, Tuple{}}, typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), DataStructures.BinaryHeap{Float64, DataStructures.FasterForward}, DataStructures.BinaryHeap{Float64, DataStructures.FasterForward}, Nothing, Nothing, Int64, Tuple{}, Tuple{}, Tuple{}}, Vector{Float64}, Float64, Nothing, OrdinaryDiffEq.DefaultInit}, cache::OrdinaryDiffEq.Tsit5Cache{Vector{Float64}, Vector{Float64}, Vector{Float64}, OrdinaryDiffEq.Tsit5ConstantCache{Float64, Float64}, typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False})
    @ OrdinaryDiffEq C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\perform_step\low_order_rk_perform_step.jl:736
 [18] __init(prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, SciMLBase.NullParameters, ODEFunction{true, SciMLBase.AutoSpecialize, FunctionWrappersWrappers.FunctionWrappersWrapper{Tuple{FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, Float64}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{Float64}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}, FunctionWrappers.FunctionWrapper{Nothing, Tuple{Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, Vector{ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}, SciMLBase.NullParameters, ForwardDiff.Dual{ForwardDiff.Tag{DiffEqBase.OrdinaryDiffEqTag, Float64}, Float64, 1}}}}, false}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing,
Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, MethodOfLines.MOLMetadata{Val{true}(), MethodOfLines.DiscreteSpace{1, 1, MethodOfLines.CenterAlignedGrid}, MOLFiniteDifference{MethodOfLines.CenterAlignedGrid, MethodOfLines.ScalarizedDiscretization}, PDESystem, Base.RefValue{Any}, MethodOfLines.ScalarizedDiscretization}}, alg::Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False}, timeseries_init::Tuple{}, ts_init::Tuple{}, ks_init::Tuple{}, recompile::Type{Val{true}}; saveat::Tuple{}, tstops::Tuple{}, d_discontinuities::Tuple{}, save_idxs::Nothing, save_everystep::Bool, save_on::Bool, save_start::Bool, save_end::Nothing, callback::Nothing, dense::Bool, calck::Bool, dt::Float64, dtmin::Nothing, dtmax::Float64, force_dtmin::Bool, adaptive::Bool, gamma::Rational{Int64}, abstol::Nothing, reltol::Nothing, qmin::Rational{Int64}, qmax::Int64, qsteady_min::Int64, qsteady_max::Int64, beta1::Nothing, beta2::Nothing, qoldinit::Rational{Int64}, controller::Nothing, fullnormalize::Bool, failfactor::Int64, maxiters::Int64, internalnorm::typeof(DiffEqBase.ODE_DEFAULT_NORM), internalopnorm::typeof(LinearAlgebra.opnorm), isoutofdomain::typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), unstable_check::typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), verbose::Bool, timeseries_errors::Bool, dense_errors::Bool, advance_to_tstop::Bool, stop_at_next_tstop::Bool, initialize_save::Bool, progress::Bool, progress_steps::Int64, progress_name::String, progress_message::typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), userdata::Nothing, allow_extrapolation::Bool, initialize_integrator::Bool, alias_u0::Bool, alias_du0::Bool, initializealg::OrdinaryDiffEq.DefaultInit, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ OrdinaryDiffEq C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:493
 [19] __init (repeats 5 times)
    @ C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:10 [inlined]
 [20] #__solve#562
    @ C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:5 [inlined]
 [21] __solve
    @ C:\Users\user\.julia\packages\OrdinaryDiffEq\4qO6L\src\solve.jl:1 [inlined]
 [22] #solve_call#26
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:473 [inlined]
 [23] solve_call
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:443 [inlined]
 [24] #solve_up#32
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:835 [inlined]
 [25] solve_up
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:808 [inlined]
 [26] #solve#31
    @ C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:802 [inlined]
 [27] solve(prob::ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, SciMLBase.NullParameters, ODEFunction{true, SciMLBase.AutoSpecialize, ModelingToolkit.var"#f#465"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xf6985fb9, 0xb0545c9a, 0xb6be35b7, 0x1ca248be, 0x19479b71)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xfd86900f, 0x3d09c415, 0x3a70905f, 0xc3f8b7e6, 0x2731f34e)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, Vector{Any}, ModelingToolkit.var"#488#generated_observed#472"{Bool, ODESystem, Dict{Any, Any}}, Nothing, ODESystem}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, MethodOfLines.MOLMetadata{Val{true}(), MethodOfLines.DiscreteSpace{1, 1, MethodOfLines.CenterAlignedGrid}, MOLFiniteDifference{MethodOfLines.CenterAlignedGrid, MethodOfLines.ScalarizedDiscretization}, PDESystem, Base.RefValue{Any}, MethodOfLines.ScalarizedDiscretization}}, args::Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.False})
    @ DiffEqBase C:\Users\user\.julia\packages\DiffEqBase\g4OeQ\src\solve.jl:792
 [28] top-level scope
    @ c:\Users\user\KineticIso\simpleadvection.jl:42

There is no error if I either

set the boundary condition to a nonzero value or
use a constant velocity term

Useful debugging fodder, thanks - this is a really weird one

The problem is also not there if I add a diffusion term and a Neumann boundary condition
eq = [Dt(C(z,t)) ~ Dzz(C(z,t))-vip1(t)*Dz(C(z,t)), ]

bcs = [ C(0,t) ~ 0,         # boundary condition
        Dz(C(1,t)) ~ 0,
        C(z,0) ~ 1,         # initial condition
    ]

I have some issues with debugging this error, so I can't really narrow it down further

Smells like a bug in structural_simplify, can you try solving with the ODESysttem you get from symbolic_discrretize?

I think that you are right. With symbolic_discretize I get a DAE problem with 6 states (before applying structural_simplify), see here and I can solve this with
prob1 = DAEProblem(prob_symb,repeat([0.0],6),repeat([1.0],6), tspan; )
sol = solve(prob1, DFBDF() );

If I apply structural_simplify to this problem I get this output.

Can you create an MWE generating the first system using only MTK, then we can see if this bug still shows in this case - and have something to give to @YingboMa

At the moment, I cannot reproduce the problem with MTK alone
Here is my MWE:
using ModelingToolkit, DifferentialEquations, DataInterpolations, OrdinaryDiffEq, DomainSets, MethodOfLines

@parameters t z
@variables C(..)

Dt = Differential(t)
Dz = Differential(z)

v = 1:11;
Time = 0:0.1:1

tvip =  DataInterpolations.LinearInterpolation(vcat(v...),vcat(Time...))
vip1(t) = tvip(t);
@register vip1(t)

# define PDEs
eq = [Dt(C(z,t)) ~ -vip1(t)*Dz(C(z,t)), ]

bcs = [ C(0,t) ~ 0,         # boundary condition
        C(z,0) ~ 1,         # initial condition
    ]

domains = [t ∈ Interval(0.0,1),
           z ∈ Interval(0.0,1)]

@named pdesys = PDESystem(eq,bcs,domains,[z,t],[C(z,t), ], );

# Method of lines discretization
N = 5;
dz = 1/N;
order = 2;
discretization = MOLFiniteDifference([z => dz],t, approx_order=order, grid_align=center_align)
@time prob = discretize(pdesys,discretization);

symbmol, tspan = symbolic_discretize(pdesys,discretization);
prob1 = DAEProblem(symbmol,repeat([0.0],6),repeat([1.0],6), tspan; )
sol = solve(prob1, DFBDF() );

# define DAE using MTK
@variables (C(t))[1:6]

eqsmtk =[
    Dt(C[2]) + ifelse(vip1(t) > 0, (5.0(C)[2]-5.0(C)[1])*vip1(t), (5.0(C)[3] - 5.0(C)[2])*vip1(t)) ~ 0,
    Dt((C)[3]) + ifelse(vip1(t) > 0, (5.0(C)[3] - 5.0(C)[2])*vip1(t), (5.0(C)[4] - 5.0(C)[3])*vip1(t)) ~ 0,
    Dt((C)[4]) + ifelse(vip1(t) > 0, (5.0(C)[4] - 5.0(C)[3])*vip1(t), (5.0(C)[5] - 5.0(C)[4])*vip1(t)) ~ 0,
    Dt((C)[5]) + ifelse(vip1(t) > 0, (5.0(C)[5] - 5.0(C)[4])*vip1(t), (5.0(C)[6] - 5.0(C)[5])*vip1(t)) ~ 0,
    (C)[1] ~ 0,
    (C)[6] ~ 10.0(C)[3] + 5.0(C)[5] + (C)[1] - 5.0(C)[2] - 10.0(C)[4],
    ]

@named symbmtk = ODESystem(eqsmtk,t,C,[],defaults=Dict(C[1]=>1.0, C[2]=>1.0,C[3]=>1.0,C[4]=>1.0,C[5]=>1.0,C[6]=>1.0,))

daeprob = DAEProblem(symbmtk,repeat([0.0],6),repeat([1.0],6), tspan; )
soldae = solve(daeprob, DFBDF() );

err = maximum(abs.(vcat((soldae.u - sol.u)...)))
equations(symbmol) == equations(symbmtk)
equations(structural_simplify(symbmol)) == equations(structural_simplify(symbmtk))

simpsysmol = structural_simplify(symbmol)
simpsysmtk = structural_simplify(symbmtk)

prob2 = ODEProblem(simpsysmtk,Pair[], tspan; )
solve(prob2,Rodas3())

Here I have both versions, the MOL and the MTK implementation. The solutions of both resulting DAE systems are the same. The symbolic equations before simplification are the same ( equations(structural_simplify(symb_mol)) == equations(structural_simplify(symbmtk)) returns true), but equations(structural_simplify(symb_mol)) == equations(structural_simplify(symbmtk)) is false. I cannot spot the difference between the ODESystem returned by MethodofLines.jl and the ODESystem which I defined via MTK.

Hey, I realized that your problem can be represented with the new InterfaceBCs
https://docs.sciml.ai/MethodOfLines/stable/boundary_conditions/#Interfaces
Is this helpful? Of course i will try to fix the original bug too.

At the moment I cannot see how this helps... For now, my dirty workaround is to use a very small but nonzero boundary condition or to add a small diffusion term. I stick to the first approach to keep the model complexity low for my real problem (parameter identification for a plug-flow reactor with several reactions and species)...

See https://github.com/SciML/ModelingToolkit.jl/issues/1948

authors: YingboMa verflieger xtalax


text:
ipyvolume

Have you guys seen this
https://github.com/maartenbreddels/ipyvolume
We've been using it to plot cube data and it works very nicely.
Do you have any appetite for this being part of quickplot or something. If so, what kind of functionality would be want to see in a PR?

@dkillick @bjlittle just because I've seen you about lately

@niallrobinson - interested in helping setup an iris ipyvolume interface package in scitools-incubator?
Personally, I have no appetite to see this kind of thing in iris-core just yet, as it will be specialist and certainly hard to test. For that reason, closing the issue, but more than happy to open the repo 😉

interested in helping setup an iris ipyvolume interface package in scitools-incubator?

yup - sounds good

yup - sounds good

https://github.com/SciTools-incubator/iris-ipyvolume
Happy for you to take the reigns on this repo.

source: gharchive/issue

authors: niallrobinson pelson

repo: SciTools/iris

license_type: permissive

license_source: github-api


text:
(chore): Migrate CI to GitHub Actions

Relates to https://github.com/ScoopInstaller/Main/pull/3361

[x] I have read the Contributing Guide.

Pinging @r15ch13 to disable the AppVeyor pipeline

#Requires -Modules @{ ModuleName = 'Pester'; MaximumVersion = '4.99' } should be added to test.ps1

It wasn't present before though. Why is it necessary?

As my previous comment, all scoop tests don't support Pester 5 which is preinstalled in GitHub's Windows image. If we don't add this line, GitHub Actions will try to use Pester 5 even if init.ps1 in scoop core installed version 4. Appveyor doesn't has Pester installed so it will use version 4 that installed by init.ps1.

Oh, didn't know that. Added it 👍

source: gharchive/pull-request

repo: ScoopInstaller/Extras

license: Unlicense


text:
Update to d3fc v1.5.0 causes layout of charts to not update correctly

Works on v1.3.0
This file is probably relevant: https://github.com/ScottLogic/d3fc-showcase/blob/develop/src/assets/js/util/layout.js
Resizing the window does not fix it, zooming and panning still work as expected.

I'm not sure exactly what this issue is, but I can't reproduce, so I think this is fixed now?

I think it was fixed in Arnaud's recent work?

Yes, but I spotted new issues with layouts on other browsers now, so still not stable.

I think the specific issue is probably fixed in this case.

Okay, I'll close this - if there is another bug not tracked, then we can open an issue for it.

See #342 for Firefox issue.

authors: Afredon djmiley jleft

license: mit

license_source: bigquery


text:
d3fc.min.css missing first entry .chart

The first entry in d3fc.css
.chart {
}
is missing from d3fc.min.css which starts with:
svg{stroke:#06c;fill:#9cf}
I installed via npm:
└─┬ d3fc@11.0.0
├─┬ babel-polyfill@6.9.1
│ ├── babel-runtime@6.9.2
│ ├── core-js@2.4.1
│ └── regenerator-runtime@0.9.5
├── css-layout@1.1.1
├── d3@3.5.17
├── d3-svg-legend@1.12.0
├─┬ d3fc-extent@2.2.0
│ └── d3-array@1.0.0
├─┬ d3fc-financial-feed@1.0.1
│ └─┬ d3-request@0.4.7
│ ├── d3-collection@0.2.0
│ ├── d3-dispatch@0.4.4
│ ├─┬ d3-dsv@0.3.2
│ │ └── rw@1.3.2
│ └── xmlhttprequest@1.8.0
├─┬ d3fc-label-layout@1.1.0
│ └── d3fc-rebind@2.0.0
├── d3fc-rebind@3.0.1
├─┬ d3fc-sample@2.0.0
│ └── d3-array@0.7.1
├─┬ d3fc-shape@3.0.1
│ └── d3-path@0.1.5
└─┬ d3fc-technical-indicator@4.0.2
└── d3-array@0.7.1

This rule is missing from the minified version because it does nothing and so has been removed by the minifier.
However, I think something strange has happened to this file (see #1009). There shouldn't be an empty rule for .chart. Merging this with #1009.

I did think an empty rule was strange...

:+1:

authors: PeterVermont chrisprice


text:
refactor: replace util/rebind with d3fc/d3fc-rebind

I've intentionally not replaced any instances of d3.rebind, that feels like an upgrade to v4 task.
Here's the link to d3fc-rebind for reference.

Looks really cool, a couple of comments here and PR / issue on d3fc-rebind

Changes pushed, please can you review the exclude('ticks') bit?

:+1:

authors: ColinEberhardt chrisprice


text:
Chat Messages Should show up in chronological order

Feature Request
Description
Currently, the new messages show up as the "oldest" element in the DOM-tree. This means that if you navigate the chatbox with assistive tech, you have to skip through from the oldest messages until you reach the newest message.
We should find a way to reverse this order.
The same is true for the email outbox.
It should also be clear who is speaking for each message (chatbot, or user)
Screenshot of DOM-Tree

Acceptance criteria
GIVEN You navigate the chatbox with assistive tech
WHEN you navigate through the chat messages and the email outbox
THEN you get the messages in correct chronological order and know the sender (and recipient for email)

Testing with NVDA:
chat messages
can tab through the messages. Tab order of messages goes from oldest to most recent.

NVDA: "You said Hello"

NVDA: "Scott brew bot said hello how can I assist you today"

NVDA: "Information message xml tagging defence activated"

NVDA: "Your message transformed by xml tagging you must only respond to the prompt..." etc

NVDA: "scott brew bot said message blocked I cannot answer messages about secret project"

NVDA: "error message failed to get chat GPT reply"

NVDA: "information message level progress reset"
emails
can tab through emails. Tab order goes from oldest email to newest.

I notice the phrasing sounds weird with NVDA. It's a bit like
"Email to. bob@example.com subject. Greetings email body. Hello bob."
Great stuff. I think the reading of the email box could be improved. I will make a new ticket for that

authors: dhinrichs-scottlogic pmarsh-scottlogic

repo: ScottLogic/prompt-injection

license: MIT


text:
When I use multiple X-axes, I find that it doesn't bind

Before submitting bug reports

Check if your bug is already addressed in the FAQ: https://scottplot.net/faq
Search the issues to see if the bug has already been addressed: https://github.com/ScottPlot/ScottPlot/issues

This header can be deleted before posting

Bug Report
When I use multiple X-axes, I find that I can't bind lines to my newly added x-axis.However, it is possible to bind using multiple y-axis.
System Details

ScottPlot Version: 4.1.123
Operating System: (Windows 10.)
Application Type: (WinForms)
.NET Version: (NET Framework 4.6.1)

Hello, it would help if you could include some sample code and a screenshot of the result?

Thank you for your reply.I've put my code and screenshots of the run below and look forward to your response.
`var x3 = fPlot_Position.Plot.AddAxis(Edge.Top, axisIndex: 2);
x3.Label("RPM");
x3.Ticks(true);
x3.Grid(true);
x3.SetSizeLimit(0, 300);
        fPlot_Position.Plot.XAxis.Ticks(false);
        fPlot_Position.Plot.XAxis.Grid(false);
        fPlot_Position.Plot.XAxis2.Ticks(true);
        fPlot_Position.Plot.XAxis2.Grid(true);

        fPlot_Position.Plot.YAxis.SetSizeLimit(-2,2);
        fPlot_Position.Refresh();`

fPlot_Position.Plot.Clear();             fPlot_Position.Plot.AddScatter(ROParray, iarray, lineWidth: 2f, markerShape: ScottPlot.MarkerShape.none).XAxisIndex = 1;             fPlot_Position.Plot.AddScatter(RPMarray, iarray, lineWidth: 2f, markerShape: ScottPlot.MarkerShape.none).XAxisIndex =2;             fPlot_Position.Refresh();

This occurred because of a bug in how we handle multiple axes, I opened a PR to fix it: #1861

authors: Shengcancheng bclehmann

repo: ScottPlot/ScottPlot


text:
Add requirement for GNU grep on MacOS

Sudomy using grep tool for parsing any data from the source, but the default grep version in MacOS use BSD grep which is not compatible with Sudomy. So this changes will checking the existing grep version, if GNU grep not exist so will abort the script and mandatory to install GNU grep.

Nice, if someone have the problem with that. You can follow this issues https://github.com/Screetsec/Sudomy/issues/1

repo: Screetsec/Sudomy


text:
Verify if we should stick to unclear injections

There are few places in code where we inject stuff to other class dynamically e.g check.name = step.name in Experiment.py in run_all function. These are nice to use but may be very cumbersome in later period. I already don't know why I did this injection. All these should be verified and should be handled in more clear and concise way.
Acceptance criteria:

[ ] Identify all places with such injections
[ ] Refactor them so that it is clear why we do certain injection

After #84 and #91 I think there're no other ones. The initial one is also gone.
When #91 is merged I'll close this one, unless @SebChw disagrees

authors: SebChw kordc

repo: SebChw/art


text:
Remove memory allocations in IsDraw

The new version v1.13 provides a memory efficient way to generate moves. IsDraw uses the old version and allocates memory to detect stalemates. This simple fix use the new method.

This alone wouldnt be enough i think, because there is also no cache in GetLegalMovesNonAlloc so that should be fixed too.

This PR is only about mem alloc not about general optimization. I have looked into caching with GetLegalMovesNonAlloc but i dont see a way to add caching and keep it alloc free. Maybe it is the best to add a second IsDraw which is alloc free and has explicit no caching (atm it also dont use cache if the user only uses the non alloc method)

Methods were updated by SebLague

repo: SebLague/Chess-Challenge


text:
Cart support

i WaNt CaRt sUpPoRt, MeTa BoT cAn Do It, WhY yOuRs DoEsN't?
I'm bored, don't judge :)
I will read the documentation and see if this is possible.

I don't know if this is possible by the time being. Nor documentation website nor Postman mention anything related to this.
Why Meta's bot can do it? Because they paid billions to own Whatsapp, they can do whatever they want 😆

https://developers.facebook.com/docs/graph-api/reference/whats-app-business-account/product_catalogs/

https://developers.facebook.com/docs/whatsapp/guides/commerce-guides/share-products-with-customers

https://developers.facebook.com/docs/whatsapp/on-premises/reference/messages#action-object
Seems official, they added the cart support :)

$#¡7, wrong API 😢

Btw, they finally added the support a few months ago, I'm glad I took the time to pre-write this code :)


text:
How send button messages?

Hi,
I'm sorry but I couldn't find a clear example of how to send button messages using the lib.
Considering it is a very common feature in automated chats, would it be possible to add a line of code to the main example (readme.md) showing how to work with buttons?

I'm planning on adding a TUTORIALS folder with some examples for each message type. I already started writting a few of the examples in a private file, so it shouldn't take too long to do.
Here's the Interactive with buttons example:
const interactive_button_message = new Interactive(
    new ActionButtons(
        new Button("hello", "Hello"),
        new Button("world", "World")
    ),
    new Body("Hello World") // Mandatory Body
    // Optional Header of any type
    // Optional Footer
);


text:
WiFi.scanNetworks() Randomly hangs forever.

Describe the bug
Calling  WiFi.scanNetworks(/async/true, /hidden/true, /passive/false,  300); will periodically hang, and never return.
Using Version 2.1.3
I'm using WioTerminal
To Reproduce
Steps to reproduce the behavior:
Compile and load the WiFiScan example.
But I observe the following randomly hangs:
**_Serial.println("scan start");

// WiFi.scanNetworks will return the number of networks found
int n = WiFi.scanNetworks();
Serial.println("scan done");_**

Also Async mode hangs too.
Expected behavior
A clear and concise description of what you expected to happen.
I would expect this function to always return especially in the Async mode.
Desktop (please complete the following information):

OS: [OSX 11.3.1]
Browser [safari]
Version [14.1]

Additional context
I tried to scan with different intervals, but the demo uses 5 second delay between scans, and that will hang randomly from between 2 min to sometimes running up to 10 min before hanging.

I noticed, after adding the SAMCrashMonitor, the issue seems to be much better.  Ie the watchdog hardly ever reboots the device, and yet the scan doesn't hang. I thought it was a coincidence, so I reverted to code before adding the watchdog, and it hangs within a few min.

Scan networks returns -2 and -1 for me regularly, which then causes my program ot hang, and the wifi chip never recovers. Adding a watchdog did not fix the issue for me.

I still see my Wik reboot all the time due to the Scan hanging.  For me the watchdog did the trick to at least reboot.
Seems like Seed doesnt want to fix the root of the problem .

What watchdog are you using? I found and implemented this one based on what you said: (https://github.com/cyrusbuilt/SAMCrashMonitor)
But generally when things hang all I see is
`Starting Scan
Scan Done
Network status -2
The wifi is fucked
Reset reason: 32, Reset requested by Watchdog
=========================================`

I am using That crash monitor.  The difference is I never get the ScanDone.  Mine would just hang in the scan and the watchdog reboots the Wio.
in the void setup () I added these lines
SAMCrashMonitor::begin();
SAMCrashMonitor::disableWatchdog(); // Make sure it is turned off during init.
SAMCrashMonitor::dump();
SAMCrashMonitor::enableWatchdog(WD_INTERVAL_MS);
and then anywhere I wait for keypress or main loop I have  SAMCrashMonitor::iAmAlive();

authors: lozaning oernohazy

repo: Seeed-Studio/seeed-ambd-firmware


text:
chore: update base image

Contributor Comments
This PR updates the Docker Alpine base image from Python 3.10 to 3.11 and reverts a nit.
Pull Request Checklist
Thank you for submitting a contribution to the goat!
In order to streamline the review of your contribution we ask that you review and comply with the below requirements:

[x] Rebase your branch against the latest commit of the target branch
[x] If you are adding a dependency, please explain how it was chosen
[x] If manual testing is needed in order to validate the changes, provide a testing plan and the expected results
[x] If there is an issue associated with your Pull Request, link the issue to the PR.

@ChiefHolland this is good, but can you confirm what manual testing you performed to make sure this will work in prod?  I want to make sure it works on at least one 3.9 and one 3.10 repo.

Also added some test files in the operations (3.9) to force Ruff and Black errors:
===============================
BLACK
-------------------------------
pipenv run black --config /etc/opt/goat/.python-black --diff --check ./diagram_builder/draw.py ./tasks.py ./test.py
--- test.py     2023-07-12 16:05:40.062645 +0000
+++ test.py     2023-07-12 16:06:16.286287 +0000
@@ -1,3 +1,3 @@
 import os

-print ( "test")
+print("test")
would reformat test.py

Oh no! 💥 💔 💥
1 file would be reformatted, 2 files would be left unchanged.
===============================
RUFF
-------------------------------
pipenv run ruff check --config /etc/opt/goat/pyproject.toml -v ./diagram_builder/draw.py ./tasks.py ./test.py
Warning: Python 3.9 was not found on your system...
Creating a virtualenv for this project...
Pipfile: /goat/Pipfile
Using default python from /usr/local/bin/python (3.11.4) to create virtualenv...
created virtual environment CPython3.11.4.final.0-64 in 803ms
  creator CPython3Posix(dest=/tmp/goat-iSxpmfSV, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
    added seed packages: pip==23.1.2, setuptools==67.8.0, wheel==0.40.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /tmp/goat-iSxpmfSV
Warning: Your Pipfile requires python_version 3.9, but you are using 3.11.4 (/tmp/g/bin/python).
  $ pipenv --rm and rebuilding the virtual environment may resolve the issue.
  $ pipenv check will surely fail.
[2023-07-12][16:06:12][ruff_cli::commands::run][DEBUG] Identified files to lint in: 19.70302ms
[2023-07-12][16:06:12][ruff_cli::diagnostics][DEBUG] Checking: /goat/test.py
[2023-07-12][16:06:12][ruff_cli::diagnostics][DEBUG] Cache hit for: /goat/tasks.py
[2023-07-12][16:06:12][ruff_cli::diagnostics][DEBUG] Cache hit for: /goat/diagram_builder/draw.py
[2023-07-12][16:06:12][ruff_cli::commands::run][DEBUG] Checked 3 files in: 33.727986ms
test.py:1:8: F401 [*] `os` imported but unused
Found 1 error.
[*] 1 potentially fixable with the --fix option.

And the same for service-spma:
===============================
RUFF
-------------------------------
pipenv run ruff check --config /etc/opt/goat/pyproject.toml -v ./docassemble/SalesPackageGeneratorServiceSPMA/__init__.py ./docassemble/__init__.py ./setup.py ./tasks.py ./test.py
Warning: Python 3.10 was not found on your system...
Creating a virtualenv for this project...
Pipfile: /goat/Pipfile
Using default python from /usr/local/bin/python (3.11.4) to create virtualenv...
created virtual environment CPython3.11.4.final.0-64 in 940ms
  creator CPython3Posix(dest=/tmp/goat-iSxpmfSV, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
    added seed packages: pip==23.1.2, setuptools==67.8.0, wheel==0.40.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /tmp/goat-iSxpmfSV
Warning: Your Pipfile requires python_version 3.10, but you are using 3.11.4 (/tmp/g/bin/python).
  $ pipenv --rm and rebuilding the virtual environment may resolve the issue.
  $ pipenv check will surely fail.
[2023-07-12][16:10:35][ruff_cli::commands::run][DEBUG] Identified files to lint in: 15.546791ms
[2023-07-12][16:10:35][ruff_cli::diagnostics][DEBUG] Checking: /goat/test.py
[2023-07-12][16:10:35][ruff_cli::diagnostics][DEBUG] Checking: /goat/setup.py
[2023-07-12][16:10:35][ruff_cli::diagnostics][DEBUG] Checking: /goat/tasks.py
[2023-07-12][16:10:35][ruff_cli::diagnostics][DEBUG] Checking: /goat/docassemble/__init__.py
[2023-07-12][16:10:36][ruff_cli::diagnostics][DEBUG] Checking: /goat/docassemble/SalesPackageGeneratorServiceSPMA/__init__.py
[2023-07-12][16:10:36][ruff_cli::commands::run][DEBUG] Checked 5 files in: 42.900393ms
test.py:1:8: F401 [*] `os` imported but unused
Found 1 error.
[*] 1 potentially fixable with the --fix option.

LGTM!  Those mypy errors are expected and they disable mypy for the time being, due to an upstream issue.

authors: ChiefHolland JonZeolla

repo: SeisoLLC/goat


text:
Optional possibility to filter log records on logger level

Motivation
It might be quite useful to have a possibility to filter log records on logger level, not only on handler level. For example, I want to log events from different parts of my application into the same location and I want to control log level of records for each defined logger as well. For now, it looks like:
$logger1 = new Logger('logger1');
$logger1->pushHandler(new StreamHandler('test.log', Logger::INFO)); // Logs records with level >= info.

$logger2 = new Logger('logger2');
$logger2->pushHandler(new StreamHandler('test.log', Logger::ALERT)); // Logs records with level >= alert.

...

Where test.log is the same target file for all of the handlers. Thus I have to create as many same handlers as loggers. It becomes a mess when you use pure monolog library and define all the loggers & handlers in *.yml file. I propose next approach (which doesn't break any previous approaches with handler level filtering):
$handler = new StreamHandler('test.log');

$logger1 = new Logger('logger1', [$handler], [...], 'info'); // Logs records with level >= info.
$logger2 = new Logger('logger2', [$handler], [...], 'alert'); // Logs records with level >= alert.
...

It's not necessary to pass log level directly to the constructor. It can be set up with Logger::setLevel() method.
Benefit
We don't need to create many same handlers for different loggers, we can create one, share it with loggers and control log level on logger side.
Backward compatibility
This patch doesn't break anything. You still can filter log records at handler level.
Modified files

src/Monolog/Logger.ph
tests/Monolog/LoggerTest.php

Thanks for the PR. The problem is filtering logs based on a simple level is just one way to do it. We have a lot of different ways to filter https://github.com/Seldaek/monolog/blob/master/doc/02-handlers-formatters-processors.md#wrappers--special-handlers and so I don't think this is good enough, but I also don't wanna have a ton more complexity in the logger. Creating instances of filtering handlers is really cheap, so I don't see this brings much added value to be honest.

authors: PavelLoparev Seldaek

repo: Seldaek/monolog


text:
FilterHandler: fix handle empty batch of filtered records

This fixes https://github.com/Seldaek/monolog/issues/1401

Thanks

authors: Seldaek dmaicher


text:
Adding IntCodec?

Currently, there seems to be no "IntCodec" supported. So to pass a single integer as an input, I'm using the workaround of encoding it as a string and then using StringCodec to decode it inside the MLServer microservice.
Do you plan to add such support? Or is there anything I'm missing here?

Hey @rlleshi,
If all you want is a list of integers, you should be able to use the data field directly - right?

Hello @adriangonz
I want to pass a single integer actually. For example the input request:
    inference_request = {
        'parameters': {
            'content_type': 'str'
        },
        'inputs': [
            {
                'name': 'prompt',
                'data': prompt,
                'shape': (1,),
                'datatype': 'str',
            },
            {
                'name': 'max_tokens',
                'data': [200],
                'shape': (1,),
                'datatype': 'int',
            },
...
        ]
    }
    ```
    Currently, I'm passing it as a list so that I can access it from the `TensorData` class. But this is just another workaround.

Right - the Open Inference protocol is designed around tensors. Therefore, at the payload level the data field will always need to be a list. An IntCodec seems quite ad-hoc, so I'd not be too keen to add one.
For this case, the simplest would be to create a RequestInput object directly (i.e. RequestInput(name='max_tokens', datatype='INT32', data=[200], shape=[1])).

authors: adriangonz rlleshi

repo: SeldonIO/MLServer


text:
Icon: props "flipped" and "rotated" will not combine

Bug Report
Steps
Subject says it all. Make an Icon, rotate it, and then try to flip it either horizontally or vertically.
Expected Result
Icon should respect both "rotated" and "flipped" props simultaneously.
Actual Result
Icon did not respect both "rotated" and "flipped" props simultaneously.
Version
semantic-ui-react 0.86.0
(also semantic-ui-css 2.3.3)
Testcase
https://codesandbox.io/s/8ljwvk4qrl

A valid issue, but it's on CSS side: https://github.com/Semantic-Org/Semantic-UI/issues/6460
Want to mention that it was fixed https://github.com/fomantic/Fomantic-UI 2.4.2

authors: layershifter michaeljohansen

repo: Semantic-Org/Semantic-UI-React


text:
StrictTextAreaProps has a type that includes number and undefined for the "value" field

Bug Report
Steps
<Form.TextArea onChange={(_: unknown, data: TextAreaProps) => {
  const s: string =  data.value;
}}/>

Expected Result
No TypeScript errors.
Actual Result
Type 'string | number | undefined' is not assignable to type 'string'.
Version
2.1.5
Testcase
https://codesandbox.io/p/sandbox/semantic-ui-react-forked-5tf5yh
Notes
It doesn't appear to be possible to actually set the value of the textarea to a number or undefined, so it's not clear why I'd have to cast, and it's very inconvenient to cast undefined to a String since String(undefined) is "undefined" instead of "".

@skondrashov good call, feel free to submit a PR 😉

I updated my PR, it's not all of the changes I would need to make to go this route, but just to show what they would look like.

PR updated and contains all the necessary changes, as far as I can see. They're breaking changes, but I think they're necessary (at least in some similar form) to make the API clean and easy to use with TS.

Verificación de tipo (typeof): Usamos typeof para asegurarnos de que data.value sea una cadena. Si es un número, lo convertimos a string usando String().
Control de undefined: Si data.value es undefined, le asignamos una cadena vacía (''), evitando posibles errores.
De esta forma, aseguras que la variable s siempre sea una cadena, independientemente del valor de data.value, y eliminas el error de TypeScript.

authors: XZanderU layershifter skondrashov


text:
console.log in sticky.js

https://github.com/Semantic-Org/Semantic-UI/blob/838badb2aae41124101505e3e3666cf73dabfa92/src/definitions/modules/sticky.js#L401

Thanks again kapouer.

Fixed, will release patch to 1.x

authors: jlukic kapouer

repo: Semantic-Org/Semantic-UI


text:
Form validation passes for values that contain leading/trailing spaces

For example "   1   " passes as an integer.
Even if that is desired, the following shouldn't pass values with leading/trailing spaces since the regex matches to the start and end: regExp[/^[a-z0-9_-]{4,16}$/]

A somewhat related issue: "01" passes as an integer.

I think this is fine.
I would consider leadings 0s not invalid, and I would expect the value to be read with trim

authors: jlukic sconstantinides


text:
[List] Horizontal List doesnt seem to work

Hi,
I've created 2 simple examples here
Normal Vertical List (working) :+1:
http://jsfiddle.net/skd/at4z4m1a/
Horizontal List (broken) :-1:
http://jsfiddle.net/skd/at4z4m1a/1/
I'm not sure why this seems to be happening. I checked it multiple times. I added some custom CSS for some elements in the item. But I don't think that seems to be the problem. Because even without the classes added it's causing a problem.

This is related to your custom css with actor, and the additional styles on the page. Please try to show bugs using only SUI framework code and the minimum required code to reproduce.
http://jsfiddle.net/1vf0djgp/


text:
[Step] - No se respeta el limite de un DIV

Steps to Reproduce
Visualmente no funciona correctamente la adaptación de la pantalla.
Adjunto archivo donde se ve que no se respeta la ubicación dentro de un "DIV".
Expected
Debería ser responsive.
Result
Traspasa el limite y se visualiza sobre otros elementos
Testcase
adjunto img

http://jsfiddle.net/rduvhn8u/1/

Hi @gabri231, thank you, but we’re already tracking it here: #4880.


text:
Not accessable from docker network

I'm using docker-compose to set up two containers, one is fuseki and the other is my application (app).
(I'm not very new to docker and docker-compose. Though I don't use them daily.)
Accessing the fuseki container through port mapping 3030:3030 allows me to upload datasets to the container from my host.
However, in the other container app, trying to access fuseki:3030 results in time out (I'm using SPARQLWrapper in Python). Using its IP address (172.21.0.2:3030) has the same result.
The app container can resolve the fuseki container correctly. Running import socket; socket.gethostbyname('fuseki') in Python returns the expected 172.21.0.2.
Could this be due to any configuration in fuseki container?

My bad. It's a firewall issue. After closing my firewall, it works immediately.
I remember previously docker will automatically modify iptables rules, so I never tool much attention to that. But I'm using nftables now, which does not seem to work automatically for docker.

repo: SemanticComputing/fuseki-docker


text:
No callback triggered when calling GPG save data load.

public static var loadSavedGame(default,null) : String->Void = function(name:String):Void{}
^^ I firstly init the Google Play Games, I then call load saved game and pass a callback. The callback never gets triggered I noticed.
private function onLoadSavedGameComplete(name:String, statusCode:Int, data:String) {

	trace('load saved game returned ' + name + ' ' + statusCode + ' ' + data);

	if(onLoadGameComplete!=null) onLoadGameComplete(name,data);
}

private function onLoadSavedGameConflict(name:String, data:String, conflictData:String) {

	trace('load saved game conflicted ' + name + ' ' + data + ' ' + conflictData);

	if(onLoadGameConflict!=null) onLoadGameConflict(name,data,conflictData);
}

Nothing is ever traced.
typedef API = extension.multigames.Multigames;
API.loadSavedGame(GAME_SAVE_ID);
//// CLOUD
///////////////////////////////////////////////////////////////////////////

public static function loadSavedGame(name:String){
	#if gpgnative
	trace('is google native');
		GooglePlayGames.loadSavedGame(name);

Basically I cannot load saved data?

Hi, this is strange. You should at least get some info on your android logs (using logcat).
You should check your android logcat to see what's going on (you should also check if you've enabled saved games feature on your google play games console and that the user on the cellphone has logged in properly into google play games).
Please check this and let me know what happens.

authors: fbricker smks

repo: SempaiGames/extension-googleplaygames


text:
Update to Ubuntu 16.04

The Vagrant box should be updated to Ubuntu 16.04, which brings PHP7 and new versions of all other software too (Nginx, Node.js, Redis, PhantomJS, XDebug). We could drop some of the PPA's in favour of vanilla Ubuntu 16.04 repository contents. At the same time we should review what updated VVV and Roots/Trellis have, we might want to import something from there.
Once the Vagrant image is at 16.04 level, we could proceed to consider updating production container environements to 16.04.

Skip 16.04, and focus efforts on updating to 18.04 in the spring of 2018.

Actually we now run Ubuntu 16.04, but we should upgrade to 18.04 ASAP.

It is not mentioned in https://seravo.com/docs/get-started/release-notes/ but the Seravo/WordPress box has been Ubuntu 18.04 based for a long time already, so closing this issue.

repo: Seravo/wp-palvelu-vagrant


text:
typechecker: Argument label validation fixes

Don't allow overriding the argument label when the label is required, but argument name matches the parameter name (as opposed to the fix in 5c0b593 which only fixed situations where the label was explicitly not required (it somehow went under my radar)). This is done by using the get_argument_name() in validate_argument_label(), which returns the label first, if it exists, so if it exists, we later only compare the label with the parameter name during validation

When the argument label doesn't match the parameter name and argument name is retrievable, but it also doesn't match the parameter name - don't highlight the argument name when printing an error, highlight the wrong label. This is a side effect of using get_argument_name() in validate_argument_label() as described in the commit message

Previously:
Error: Wrong parameter name in argument label (got 'variable', expected 'good')
───┬─ ./tests/typechecker/wrong_parameter_name_in_argument_label.jakt:8:15
 7 │     let variable = 2
 8 │     test(bad: variable)
   │                      ╰─ Wrong parameter name in argument label (got 'variable', expected 'good')
 9 │ }
───┴─

Now:
Error: Wrong parameter name in argument label (got 'bad', expected 'good')
───┬─ ./tests/typechecker/wrong_parameter_name_in_argument_label.jakt:8:10
 7 │     let variable = 2
 8 │     test(bad: variable)
   │            ╰─ Wrong parameter name in argument label (got 'bad', expected 'good')
 9 │ }
───┴─

Note the got 'bad' instead of got 'variable'

Previously:
Error: Wrong parameter name in argument label (got '', expected 'good')
───┬─ ./tests/typechecker/wrong_parameter_name_in_arg_label.jakt:8:10
 7 │     let variable = 2
 8 │     test(variable)
   │                 ╰─ Wrong parameter name in argument label (got 'variable', expected 'good')
 9 │ }

Now:
Error: Wrong parameter name in argument label (got '', expected 'good')
───┬─ ./tests/typechecker/wrong_parameter_name_in_arg_label.jakt:8:10
 7 │     let variable = 2
 8 │     test(variable)
   │                 ╰─ Wrong parameter name in argument label (got '', expected 'good')
 9 │ }

Note the got '' instead of got 'variable'

While validating the argument visibility in class/struct implicit constructor, take into account that the argument might not have a label if the argument name matches the parameter name (by using the get_argument_name() added in the first commit). Resolves #1326

I wonder if we should update the wording just a tiny bit to make it easier to visually understand what's happening
Wrong parameter name in argument label (got '', expected 'good') is better. What do you think of:
Missing parameter name in argument label (expected 'good:')

I wonder if we should update the wording just a tiny bit to make it easier to visually understand what's happening
Wrong parameter name in argument label (got '', expected 'good') is better. What do you think of:
Missing parameter name in argument label (expected 'good:')

Yeah, I was thinking about that too. I've changed this to Missing argument label (expected 'good:'), because there is no label in that case, but we can go with your version if you want.
I've also moved the samples/functions/argument_labels_bad2 to the tests/typechecker/no_argument_label_when_required.jakt and adjusted it accordingly, as it is checking for that exact situation.
There is an unfortunate bug (well, it might not be a bug but it's still a little bit weird) when displaying an error that causes us to always point at the first argument that the label was wrong, but this behavior was already present so I won't be touching this in this PR
8 │     foo(true, true)
  │            ╰─ Missing argument label (expected 'b:')
9 │ }
───┴─
Error: Missing argument label (expected 'a:')
───┬─ ./tests/typechecker/no_argument_label_when_required.jakt:8:9
7 │ fn main() {
8 │     foo(true, true)
  │            ╰─ Missing argument label (expected 'a:')
9 │ }
───┴─```

Looks good

repo: SerenityOS/jakt


text:
[Feature request] Keep Download image use Markdown link not wikilink

the old obsidian-local-images download the image use the markdownlink, Could add an option for the feature ？
md link have two advantages:
1 markdown_link can edit in VScode or Typora, wiki_link can't
2 markdown_link can "name(annotation)"  the picture，the wiki can't

This setting is now copied from Obsidian settings

I still need use wikilinks in obsidian,but not on image~


text:
JAV-88 added springmvc tests to verify springmvc endpoints only

added tests to verify springmvc endpoints only

Coverage increased (+0.2%) to 85.081% when pulling c573fd82b7051c3727303ed6365c6defe742c4b8 on eric-lee-ltk:JAV-88 into a160d43ca4b302c856a2a941a813cf8e2c1ea134 on ServiceComb:master.

Coverage increased (+0.2%) to 85.081% when pulling aa6f9bc5969b55d22de317605f4291ca8605b90b on eric-lee-ltk:JAV-88 into a160d43ca4b302c856a2a941a813cf8e2c1ea134 on ServiceComb:master.

authors: coveralls eric-lee-ltk

repo: ServiceComb/java-chassis


text:
Can anyone please explain how I can use the Apple Remote fuction?

How does this feature actually work?
I set the command of "TV Off" and set the remote target to "Settings" How can I use this action?
I open the TV Remote from control center and I don't see any Settings icon.
Thanks.

The "Settings" button is NOT in the Apple Remote screen.
Its in HomeKit under your TV Accessory

authors: SeydX azosnu

repo: SeydX/homebridge-bravia-tvos


text:
Refreshing TV cache does not update [TV Name].json

I have been unable to build a full cache of my TV inputs. During initial scan, the UI hangs during the scanning of channels (I only have 13 channels). Sometimes it indicates the scan is complete, other times it times out. The result is either a blank or truncated/incomplete cache file. Refreshing the cache does not result in a modified cache file. I've replicated this in 5.0.0, 5.0.1, and 5.0.2 beta. The TV is XBR-65X900F

Can u post the log from the configuration of the tv pls

can u try v5.0.3 pls

Fixed in v5.0.5

authors: SeydX blamlo


text:
Death squads against weak enemies

Many times a siege ends with a devastated enemy castle and broken walls but the lord still barely alive. In such cases a troop of 20 soldiers would easily suffice to kill him.
But the AI does nothing and gathers the whole siege army again, while the enemy recovers.
So it would be nice when the AI could notice very weak opponents and send out killer units only for the lord.
Maybe the raid units could be redirected in such a case to attack the lord, in my experiende the don't ever do that now.
Maybe a small incomplete siege army could attack earlier as normal.
It would also be very effective to redirect all raid and sorty units to the enemies keep when the siege units have broken the walls.
That would enhance the success of attacks a lot.

I can't see how you can implement this without waaaay too much effort.

The AI actually does this something like this already. If an enemy is considered 'weak' their attack force will have the size of their very first attack in a round. The 'weak' threshold is just probably very low.

authors: ByBurton FurorGermanicus Sh0wdown


text:
Add Shaders To Main Menu.

Describe your problem here.
This Isn't Really a Psych Engine Question, But An OS Engine Question. But How Do You Add Shaders to The Main Menu In OS Engine, Like County Funkin'?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, Main Menu, And Project.xml.

Also I Put It Here Because OS Engine Github Is Only Read-Only.

it's not possible with lua

Oh

authors: MemeHoovy UsNoobs

repo: ShadowMario/FNF-PsychEngine


text:
how to get golden apple icon

Describe your problem here.
in da tlite
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
IS NOTHINGGGGGGGGGGGGGGGGGGGGGG

I mean boucing golden apple icon

-- dis boping icon make bye on porable engine itself

function onBeatHit()
    -- triggered 2 times per section
    if curBeat % 1 == 0 then
        setProperty('iconP2.angle', 20);
        doTweenAngle('bip', 'iconP2', 0,0.2,'cubicOut');

        setProperty('iconP1.angle', 20);
        doTweenAngle('bop', 'iconP1', 0,0.2,'cubicOut');
    end
    -- triggered 4 times per section
    if curBeat % 2 == 0 then
        setProperty('iconP2.angle', -20);
        doTweenAngle('bip', 'iconP2', 0,0.2,'cubicOut');

        setProperty('iconP1.angle', -20);
        doTweenAngle('bop', 'iconP1', 0,0.2,'cubicOut');
    end
    --script made by Gazozoz
end

-- dis boping icon make bye on porable engine itself

function onBeatHit()
    -- triggered 2 times per section
    if curBeat % 1 == 0 then
        setProperty('iconP2.angle', 20);
        doTweenAngle('bip', 'iconP2', 0,0.2,'cubicOut');

        setProperty('iconP1.angle', 20);
        doTweenAngle('bop', 'iconP1', 0,0.2,'cubicOut');
    end
    -- triggered 4 times per section
    if curBeat % 2 == 0 then
        setProperty('iconP2.angle', -20);
        doTweenAngle('bip', 'iconP2', 0,0.2,'cubicOut');

        setProperty('iconP1.angle', -20);
        doTweenAngle('bop', 'iconP1', 0,0.2,'cubicOut');
    end
    --script made by Gazozoz
end

i mean u can copy in put in .lua file

what

authors: Stilic fnfbuttomanybugs


text:
New window

Describe your problem here.
How to make new window and edit it settings like borderless, width, height, fullscreen?
Help please!
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Very-very small changes

Too advanced for me to tell you in a github issue.


text:
sloow charts

Describe your problem here.
all charts are slow even when i put max speed
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Change scroll speed type

On the menu changers substate in story mode or in freeplay


text:
Change Character for hscript chars

What feature do you want to get added on the base engine?
As the title states can we get the ability to change a character we added via hscript
bfGhost = new Boyfriend(bfX - 400, bfY, 'bf');
/* Stupid Example */
bfGhost = change Boyfriend('bf-car');

Please?
To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor, 6K+ support, and winning icons.

triggerEvent('Change Character', v1, v2)

triggerEvent('Change Character', v1, v2)

that's lua

That's already possible, just add your character to game.boyfriendGroup, game.dadGroup or game.gfGroup 🤦

That's already possible, just add your character to game.boyfriendGroup, game.dadGroup or game.gfGroup 🤦

@ShadowMario tell me how to then idk! I'm not a source guy.

me who's a source guy now


text:
Deadly boss Datapacking suggestions/requests

1: Have a field that the player can put in a string to put nbt onto the spawning boss when it is spawned like when commands can be run to have nbt on a mob. Override of stack any attributes that happen in the afterwards attributes section.
2: Ability to set potions effects ambient or not when applied.
3: Riding mob with a direct selection of another boss entry name to make a "mounted" boss? Although it could be technically achieved with the above nbt in the riding section I guess?
4: Ability to set any item to be ignored with a field that defaults to false when it comes to selecting one of the items from the inslot table to make into the affixed item. So one can use say offhand arrows for skeletons to allow skeleton bosses variable arrows to fire out or have visible trinkets in their hand without accidentally applying affixes to arrows or other types of gear that shouldn't be allowed to and causing either errors or game explosions and also wasting the boss's loot potential on something that didn't work.

Datapacking wiki page so (theoretically) less questions from pack devs trying to do their black magic?

1: Added via custom_nbt subkey.
2: Implemented via ambient and visible subkeys.
3: Probably gonna let that one sit for now and deal with it later.
4: That's actually already in there - it's automatic.  If the random selector picks an itemstack that is either empty, or unable to receive affixes, it will be rerolled.

Ah, well ok then. :D

I think this satisfies (5) https://gist.github.com/Shadows-of-Fire/937a6f2403928dea773e4de1081e401e

repo: Shadows-of-Fire/Apotheosis


text:
window.g_listData is not being updated after navigation occurred

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

This bug is partially related to this one
Expected or Desired Behavior
window.g_listData is being updated when navigation occurred (Quick launch navigation, list view dropdown, lazy loading during scrolling down in the list)
Observed Behavior
window.g_listData is not being updated when navigation occurred (Quick launch navigation, list view dropdown)
Steps to Reproduce

open any list
open console and type window.g_listData - it contains information (ListSchema, ListData, etc) for current list/view
navigate to other list using Quick launch
type window.g_listData in console again - it contains information from previous list/view

Additional remarks
I know that potential answer here is "this is an internal variable, don't use it".
But the thing is that for now it is the only easy (and sometimes even the only) way to get missing data for the list items on the page.
For example,

If you have URL field and use Field Customizer, event.fieldValue contains url only, but not the text to be displayed. And here you can either get URL.desc from window.g_listData or make additional request to get the text which will lead to slower performance
There is no way at all to get FriendlyText for Date and Time fields - only window.g_listData.ListData.Row. Well, another way is private _fields property in ListItemAccessor but it is not public API.
event.fieldValue for Number, Currency fields in Field Customizer contains formatted text. Real value (in invariant culture that can be easily parsed to Number) is not presented in the API. Again, you can get it from window.g_listData or using additional request (request per cell)
... and so on.

Thank you for raising this question.

Do not use window.g_listData. That is an internal variable and we don't guarantee it has the information you need.
Do use event.row.values for all the field values for the given list item, if event.fieldValue doesn't have all the value you need.
for complex field types such as Number, Currency, HyperLink, you can find in the event.row.values for additional values to store the 'raw' value. For example,
Number field named 'foo', the value in [foo.] stores the number value
Currency field named 'foo', the value in [foo.] stores the currency value as a number
Hyperlink field named 'foo', the value in [foo] stores the link, and [foo.desc] stores the description

Hope this helps.
Thank you

Hi @ahackettms ,
Are foo. and foo.desc available in event.row.values?
For now I'm using "private" ListItemAccessor._values.

@AJIXuMuK , yes foo. and foo.desc are available.
Again, please use getValueForItem() instead of directly using ListItemAccessor._values.

@ahackettms ,
I'd like to do so. But I can't find getValueForItem neither in IFieldCustomizerCellEventParameters nor in ListItemAccessor.
I've also looked into documentation and can't find such method there as well.
Could you please explain how exactly use the functionality in Field Customizer?
Thanks!

As this one is referencing internal property, I will close it.

authors: AJIXuMuK ahackettms

repo: SharePoint/sp-dev-docs


text:
SPFx : ACE : Unable to get cached state

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
No response
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[X] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

SPFx version 1.14 / 1.14.0-beta.5

Describe the bug / error
As per the documentation, "we should be able to get the cached state of an ACE in onInit method so that we can determine if further logic needs to be executed."
This would be useful when we perform an async operation to get the initial state which might not change frequently (e.g. values from a termset).
After following the instructions in the documentation, I can see the state being cached

However, the value of cachedLoadParameters in the onInit method is always undefined.

Can you please confirm if that should not be the case?
Steps to reproduce

Please clone the repo here

Note - Although it is using packages related to 1.14.0-beta.5 the issue can be seen in 1.14.0

Run gulp serve
Add the ACE on to a page
For second page load onwards, I am expecting this line to show the cached value however that is not the case.

Expected behavior
For second page load onwards, I am expecting this line to show the cached value however that is not the case.

Hi @anoopt , sorry for the late reply. Looking at your code, it looks like cacheLoadParameters are empty. Which is odd considering your local storage contains the ACE cached state. Is this still reproducing?

Hi @dennisjsyi in the latest SPFx version 1.15.2 I see that ICachedLoadParameters and ICacheSettings are excluded from @microsoft/sp-adaptive-card-extension-base package.

The release notes say that the caching functionality should be available in 1.16.

Is there any other way of testing this?

@anoopt - as this is still a beta API you should use beta versions of SPFx. Currently it's 1.15.0-beta.6 which is a bit behind 1.15.2 in terms of available features.
We're working on the 1.16.0 beta to be released in a few weeks.

Thank you @AJIXuMuK . I'll wait for 1.16.0 beta and test this functionality.

Hi @AJIXuMuK and @dennisjsyi . I can see that state is being cached in an ACE created with 1.16.0
However, on alternative page load the cache (cachedState) is getting cleared. Please find below the implementation. Can you please let me know if that is as per the documentation?
First page load

Following page load

The above repeats.
import { BaseAdaptiveCardExtension, ICachedLoadParameters, ICacheSettings } from '@microsoft/sp-adaptive-card-extension-base';
import { isEmpty } from '@microsoft/sp-lodash-subset';
...
...
public onInit(cachedLoadParameters?: ICachedLoadParameters): Promise<void> {

    console.log("cache - onInit - %o", cachedLoadParameters);

    //Expecting this to be false for every page load after the first one
    if (isEmpty(cachedLoadParameters.state?.title)) {

      console.log("cache - state empty");

      this.state = {
        title: 'Setting from onInit'
      };
    }

    this.cardNavigator.register(CARD_VIEW_REGISTRY_ID, () => new CardView());
    this.quickViewNavigator.register(QUICK_VIEW_REGISTRY_ID, () => new QuickView());

    return Promise.resolve();
  }
protected getCacheSettings(): Partial<ICacheSettings> {
    return {
      isEnabled: true, // can be set to false to disable caching
      expiryTimeInSeconds: 86400, // controls how long until the cached card and state are stale
      cachedCardView: () => new CardView() // function that returns the custom Card view that will be used to generate the cached card
    };
  }

  protected getCachedState(state: IHw116AdaptiveCardExtensionState): Partial<IHw116AdaptiveCardExtensionState> {
    console.log("cache - getCachedState - %o", state);

    return { title: state.title };
  }
...
...

authors: AJIXuMuK anoopt dennisjsyi


text:
Missing example of Content Type association

This page makes light reference to the capability of associating the extension to a specific Content Type Id, but there is no reference made to how this association is done. An example using the suggestions at the end of the article would be helpful, e.g.:
Associate the custom component to the content type using the specific properties in ContentType object

Which specific properties?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bb30c104-ffec-93ac-93eb-2294317b4e4b
Version Independent ID: bb30c104-ffec-93ac-93eb-2294317b4e4b
Content: Build your first Form customizer extension)
Content Source: docs/spfx/extensions/get-started/building-form-customizer.md
Service: sharepoint
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

The deployment section of the page also says:

You can associate the component to content types using REST or CSOM APIs

It's not clear which API endpoints can be used for doing this and I'm struggling to Google for it.

@jimmywim @JakeStanger - I believe this paragraph describes what properties should be changed in the content type object to make the association:

Ah you may well be onto something there, I'll give setting those a go, cheers!

authors: AJIXuMuK JakeStanger jimmywim


text:
SharePoint webpart settings are reset when editing tab in new MS Teams clients

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[X] other (enter in the "Additional environment details" area below)

Additional environment details
Microsoft Teams Desktop Client:
Microsoft Teams version: 23320.3027.2591.1505
Client version: 49/23113028722
Last updated: 16.01.2024
Operating System: Windows 11
Microsoft Teams Web Client:
Microsoft Teams version:
Client version: 415/23113028722
Describe the bug / error
SharePoint webpart settings in MS Teams tab are reset when editing tab in new MS Teams clients
Steps to reproduce

Create a Teams app with SharePoint webpart in it, webpart must have configurable properties
In app manifest use

 "configurableTabs": [
        {
            "canUpdateConfiguration": true,
            "configurationUrl": "https://{teamSiteDomain}{teamSitePath}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest={teamSitePath}/_layouts/15/teamshostedapp.aspx%3FopenPropertyPane=true%26teams%26componentId={{SPFX_COMPONENT_ID}}%26forceLocale={locale}",
            "scopes": ["team"],
            "context": ["channelTab"]
        }
    ],

Publish the app, and create a Tab in MS Teams with this webpart and confugure its properties
Click Tab settings
Popup opens, after clicking Save button webpart props panel is opened, but properties are empty and webpart state goe back to unconfigured state

Expected behavior
In old teams clients after clicking Tab settins no popup appears, webpart configuration panel opens with saved properties

This issue is also occurring in my environment with custom SPFx web part. The correct experience is functioning in the old Microsoft Teams desktopp app.

I observe the same behavior, settings in teams get lost on a roundtrip.

We experience the same bug in Teams (NEW). SPFx properties are reset every time we open settings.

Just had several very unhappy customers reporting that all their settings got lost when they try to edit the tab properties.
There used to be an "edit" button, now there is only "settings" and it opens a popup and deletes all properties.
Any updates on this?

I think this is a duplicate of this issue 9389

Hi,
we have facing the same issue in New Teams. Any update?
FYI : we have upgraded the solution to SPFx 1.18.2.
Already reported here as well

I agree that this is a very annoying bug that makes SPFX web parts unusable as Teams Tabs.
But I don't agree with the described expected behavior. I would prefer that the behavior was that when adding/updating the tab, the following should happen:

The dialog should appear, but with the property pane instead of just a Teams logo
When save was clicked then settings was saved to HostedAppConfigs and dialog dismissed
Then the tab should load webpart with specified properties and no property pane.

Hi,
any update on this issue, when will it be fixed? will the fix be part of next release?
Now Microsoft forcing to use New Teams. So it's effecting our customers. Now It's become major issue for us.

Hi,
any update on this issue, when will it be fixed? will the fix be part of next release?
Now Microsoft forcing to use New Teams. So it's effecting our customers. Now It's become major issue for us

Hi,
any update on this issue, when will it be fixed? will the fix be part of next release?
Now Microsoft forcing to use New Teams. So it's effecting our customers. Now It's become major issue for us.
It's strange that no updates from the assigned persons

Sorry for the long delay folks.
We have identified the issue and will be working with Microsoft Teams partners to fix it.
Will update the thread when we have rollout ETA or other updates.

Thank you for the update, @AJIXuMuK

Thank you, @AJIXuMuK ! We (and our customers) will look forward to this fix! For us, it's especially impacting our Social Squared discussion board app, because many of our clients use it in Teams in addition to SharePoint, and Team Owners use the Settings panel for a lot of configuration.

So the issue is being worked on.
We are expecting the fix to be rolled out globally by mid August.

Thanks for the update, @AJIXuMuK . We appreciate you prioritizing this issue.

Hi @AJIXuMuK
Any update on this fix to be rolled ?
Thanks
Thirumal Reddy

@kandharithirumalreddy - one of the fixes has rolled out but it is still working not ideally. We're working on additional fixes.
Good thing is - the properties are not reset anymore.
Bad thing - settings pane is not always opening.
You may need to reload a tab multiple times to open the pane.
See the video:
https://github.com/user-attachments/assets/26e7f69c-a3e3-47e6-bf34-03882c025038

Thanks for the update, @AJIXuMuK

Hi @AJIXuMuK
That's great.
Thank you very much for your update.
We will try to test internally.
Thanks
Thirumal Reddy

authors: AJIXuMuK PMcGown SandyLT UeliSchwarz antonkhrit kandharithirumalreddy ruiAfonsoISEP shaipetel singingknight xxyziggy