@dexteel/mesf-core 7.12.0 → 7.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "7.12.0"
2
+ ".": "7.12.1"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [7.12.1](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.12.0...@dexteel/mesf-core-v7.12.1) (2026-01-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **sp-executor:** exclude backend-managed parameters user from UI and execution payload ([4cd1b89](https://github.com/dexteel/mesf-core-frontend/commit/4cd1b89298cf8830ba21bab40e504d62bfc67d5a))
9
+
3
10
  ## [7.12.0](https://github.com/dexteel/mesf-core-frontend/compare/@dexteel/mesf-core-v7.11.2...@dexteel/mesf-core-v7.12.0) (2026-01-22)
4
11
 
5
12
 
package/dist/index.esm.js CHANGED
@@ -10195,6 +10195,7 @@ const executeStoredProcedure = (procedureName, parameters) => __awaiter(void 0,
10195
10195
  return yield apiService.callV2(procedureName, parameters);
10196
10196
  });
10197
10197
 
10198
+ const BACKEND_MANAGED_PARAMS = ["@user"];
10198
10199
  const SPExecutorPage = () => {
10199
10200
  const [procedures, setProcedures] = useState([]);
10200
10201
  const [allParameters, setAllParameters] = useState([]);
@@ -10222,10 +10223,12 @@ const SPExecutorPage = () => {
10222
10223
  useEffect(() => {
10223
10224
  loadData();
10224
10225
  }, []);
10226
+ // Parameters that should be excluded from the UI (handled by the backend)
10225
10227
  const currentParameters = useMemo(() => {
10226
10228
  if (!selectedProcedure)
10227
10229
  return [];
10228
- return allParameters.filter((p) => p.FullName === selectedProcedure.FullName);
10230
+ return allParameters.filter((p) => p.FullName === selectedProcedure.FullName &&
10231
+ !BACKEND_MANAGED_PARAMS.includes(p.ParameterName.toLowerCase()));
10229
10232
  }, [selectedProcedure, allParameters]);
10230
10233
  const handleProcedureChange = (proc) => {
10231
10234
  setSelectedProcedure(proc);
@@ -10237,8 +10240,10 @@ const SPExecutorPage = () => {
10237
10240
  setError("");
10238
10241
  const startTime = Date.now();
10239
10242
  // Build parameters array - only include checked parameters
10243
+ // Also filter out backend-managed params (@User) as a safety net
10240
10244
  const parameters = formState
10241
- .filter((p) => p.include)
10245
+ .filter((p) => p.include &&
10246
+ !BACKEND_MANAGED_PARAMS.includes(p.parameterName.toLowerCase()))
10242
10247
  .map((p) => ({
10243
10248
  name: p.parameterName,
10244
10249
  value: p.sendAsNull ? null : p.value,