Skip to content

Commit

Permalink
[Bug]: 文件拟写,标题等字段的值有时会丢失 #6965
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhaolin committed Jul 19, 2024
1 parent 81f1dc9 commit 33fbdaa
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 76 deletions.
5 changes: 4 additions & 1 deletion creator/packages/steedos-creator/client/router.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,10 @@ objectRoutes.route '/view/:record_id',
, 10
triggersExit: [
(context, redirect) ->
if Session.get("instance_change") && ((context.params?.object_name == 'instances' && context.queryParams?.side_listview_id == 'draft') || (context.params?.object_name == 'instance_tasks' && context.queryParams?.side_listview_id == 'inbox'))
side_listview_id = context.queryParams?.side_listview_id
if window._.isArray(side_listview_id)
side_listview_id = side_listview_id[0]
if Session.get("instance_change") && ((context.params?.object_name == 'instances' && side_listview_id == 'draft') || (context.params?.object_name == 'instance_tasks' && side_listview_id == 'inbox'))
ins = WorkflowManager.getInstance()
if !("draft" != ins.state && "draft" == Session.get("box"))
InstanceManager.saveIns(false);
Expand Down
17 changes: 7 additions & 10 deletions server/bundle/programs/server/packages/aldeed_autoform.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,21 @@ var MongoObject = Package['aldeed:simple-schema'].MongoObject;
var check = Package.check.check;
var Match = Package.check.Match;

/* Package-scope variables */
var AutoForm, globalDefaultTemplate, setDefaults, ArrayTracker, FormData, form_version, Hooks, getFlatDocOfFieldValues, getInputValue, getInputData, updateTrackedFieldValue, updateAllTrackedFieldValues, getAllFieldsInForm, validateField, arrayTracker, defaultTypeTemplates, deps, FormPreserve, res, Utility, year, month, date;

(function(){

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// packages/aldeed_autoform/autoform-common.js //
// //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
///////////////////////////////////////////////////////////////////////
// //
// packages/aldeed_autoform/autoform-common.js //
// //
///////////////////////////////////////////////////////////////////////
//
// This is the only file that is run on the server, too

// Extend the schema options allowed by SimpleSchema
SimpleSchema.extendOptions({
autoform: Match.Optional(Object)
});
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////

}).call(this);

Expand Down
26 changes: 13 additions & 13 deletions server/bundle/programs/server/packages/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/objectql",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "lib/index.js"
};

Expand All @@ -490,7 +490,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/i18n",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "lib/index.js"
};

Expand All @@ -517,7 +517,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/core",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "lib/index.js"
};

Expand All @@ -544,7 +544,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-meteor-package-loader",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "index.js"
};

Expand All @@ -571,7 +571,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-api",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "index.js"
};

Expand All @@ -598,7 +598,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-metadata-server",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "index.js"
};

Expand All @@ -625,7 +625,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-package-registry",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "package.service.js"
};

Expand All @@ -652,7 +652,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-objectql",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "package.service.js"
};

Expand All @@ -679,7 +679,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-ui",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "package.service.js"
};

Expand All @@ -706,7 +706,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/service-pages",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "package.service.js"
};

Expand All @@ -733,7 +733,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/router",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "lib/index.js"
};

Expand All @@ -760,7 +760,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/auth",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "lib/index.js"
};

Expand All @@ -787,7 +787,7 @@ module.useNode();
//
module.exports = {
"name": "@steedos/workflow",
"version": "2.7.4-beta.2",
"version": "2.7.4-beta.3",
"main": "index.js"
};

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "standard-minifier-js",
"version": "2.6.0"
},
"totalMinifiedBytes": 4306751,
"totalMinifiedGzipBytes": 1085052,
"totalMinifiedBytes": 4307095,
"totalMinifiedGzipBytes": 1085160,
"minifiedBytesByPackage": {
"packages/meteor.js": 9504,
"packages/coffeescript.js": 32,
Expand Down Expand Up @@ -1584,7 +1584,7 @@
}
],
"packages/ddp.js": 78,
"packages/ddp-server.js": 55,
"packages/ddp-server.js": 30,
"packages/allow-deny.js": [
5767,
{
Expand Down Expand Up @@ -2533,7 +2533,7 @@
}
],
"packages/steedos_creator.js": [
103101,
103470,
{
"node_modules": {
"meteor": {
Expand Down Expand Up @@ -2586,7 +2586,7 @@
"core.coffee": 18669,
"colors.coffee": 1485,
"temp_navs.coffee": 3922,
"router.coffee": 6234,
"router.coffee": 6603,
"tenant.coffee": 283,
"animate.js": 405,
"colResizable-1.6.js": 5920,
Expand Down
18 changes: 9 additions & 9 deletions server/bundle/programs/web.browser.legacy/program.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"format": "web-program-pre1",
"manifest": [
{
"path": "d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.js",
"path": "f068a61a40c0c679ba8a696ddd539e55357f53de.js",
"where": "client",
"type": "js",
"cacheable": true,
"url": "/d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.js?meteor_js_resource=true",
"size": 4306751,
"hash": "d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65",
"sri": "jfnfVDNc/1wPSfAopKx3uinsQ+iqIrOW+MAhbUceVHYX6rQ1Dtt8SFBAyQAlEMBdXNhmFey3OhvCEXr0iCGdxw=="
"url": "/f068a61a40c0c679ba8a696ddd539e55357f53de.js?meteor_js_resource=true",
"size": 4307095,
"hash": "f068a61a40c0c679ba8a696ddd539e55357f53de",
"sri": "BHqrjWg7PoRGsCqj3I0KpeoMkBoddYn/NZeJ15u9mfuJSxmVNvMdk0HHkPumZxuBBOwpP4yp6AMd5me/pgFd0g=="
},
{
"path": "d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.stats.json",
"path": "f068a61a40c0c679ba8a696ddd539e55357f53de.stats.json",
"where": "client",
"type": "json",
"cacheable": true,
"url": "/d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.stats.json?meteor_js_resource=true",
"url": "/f068a61a40c0c679ba8a696ddd539e55357f53de.stats.json?meteor_js_resource=true",
"size": 92684,
"hash": "153f5af17ced9b1837968705b069d4d64e9a2f28",
"sri": "LLfuFeY9gbb7UxMgru2s3gGBD6WtUjeTcOq0V2HiYGe6QKvC5OFxBAUjPJ8Auzs0is4RkJmKD/lNBWn/wALGEQ=="
"hash": "76f2b38b50f31c5ceb3eb13e098903bb6c7035e9",
"sri": "A/mQYbdORkzK4S0RCQIvyx6vbEgdiSFyj1ZkecjxXMPDRJ79cOYhQdZUVLkYDz1KY76NfltT9FMmrl87bYES5Q=="
},
{
"path": "dynamic/node_modules/@steedos/form-builder/dist/form-builder.min.js",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "standard-minifier-js",
"version": "2.6.0"
},
"totalMinifiedBytes": 4306751,
"totalMinifiedGzipBytes": 1085052,
"totalMinifiedBytes": 4307095,
"totalMinifiedGzipBytes": 1085160,
"minifiedBytesByPackage": {
"packages/meteor.js": 9504,
"packages/coffeescript.js": 32,
Expand Down Expand Up @@ -1584,7 +1584,7 @@
}
],
"packages/ddp.js": 78,
"packages/ddp-server.js": 55,
"packages/ddp-server.js": 30,
"packages/allow-deny.js": [
5767,
{
Expand Down Expand Up @@ -2533,7 +2533,7 @@
}
],
"packages/steedos_creator.js": [
103101,
103470,
{
"node_modules": {
"meteor": {
Expand Down Expand Up @@ -2586,7 +2586,7 @@
"core.coffee": 18669,
"colors.coffee": 1485,
"temp_navs.coffee": 3922,
"router.coffee": 6234,
"router.coffee": 6603,
"tenant.coffee": 283,
"animate.js": 405,
"colResizable-1.6.js": 5920,
Expand Down
18 changes: 9 additions & 9 deletions server/bundle/programs/web.browser/program.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"format": "web-program-pre1",
"manifest": [
{
"path": "d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.js",
"path": "f068a61a40c0c679ba8a696ddd539e55357f53de.js",
"where": "client",
"type": "js",
"cacheable": true,
"url": "/d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.js?meteor_js_resource=true",
"size": 4306751,
"hash": "d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65",
"sri": "jfnfVDNc/1wPSfAopKx3uinsQ+iqIrOW+MAhbUceVHYX6rQ1Dtt8SFBAyQAlEMBdXNhmFey3OhvCEXr0iCGdxw=="
"url": "/f068a61a40c0c679ba8a696ddd539e55357f53de.js?meteor_js_resource=true",
"size": 4307095,
"hash": "f068a61a40c0c679ba8a696ddd539e55357f53de",
"sri": "BHqrjWg7PoRGsCqj3I0KpeoMkBoddYn/NZeJ15u9mfuJSxmVNvMdk0HHkPumZxuBBOwpP4yp6AMd5me/pgFd0g=="
},
{
"path": "d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.stats.json",
"path": "f068a61a40c0c679ba8a696ddd539e55357f53de.stats.json",
"where": "client",
"type": "json",
"cacheable": true,
"url": "/d022e4ace6cb1bfa61d2bb99bcc85909c9bcae65.stats.json?meteor_js_resource=true",
"url": "/f068a61a40c0c679ba8a696ddd539e55357f53de.stats.json?meteor_js_resource=true",
"size": 92684,
"hash": "153f5af17ced9b1837968705b069d4d64e9a2f28",
"sri": "LLfuFeY9gbb7UxMgru2s3gGBD6WtUjeTcOq0V2HiYGe6QKvC5OFxBAUjPJ8Auzs0is4RkJmKD/lNBWn/wALGEQ=="
"hash": "76f2b38b50f31c5ceb3eb13e098903bb6c7035e9",
"sri": "A/mQYbdORkzK4S0RCQIvyx6vbEgdiSFyj1ZkecjxXMPDRJ79cOYhQdZUVLkYDz1KY76NfltT9FMmrl87bYES5Q=="
},
{
"path": "dynamic/node_modules/@steedos/form-builder/dist/form-builder.min.js",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"name": "standard-minifier-js",
"version": "2.6.0"
},
"totalMinifiedBytes": 4482978,
"totalMinifiedGzipBytes": 1144354,
"totalMinifiedBytes": 4483322,
"totalMinifiedGzipBytes": 1144449,
"minifiedBytesByPackage": {
"packages/meteor.js": 9639,
"packages/coffeescript.js": 32,
Expand Down Expand Up @@ -1317,7 +1317,7 @@
}
],
"packages/ddp.js": 78,
"packages/ddp-server.js": 55,
"packages/ddp-server.js": 30,
"packages/allow-deny.js": [
6029,
{
Expand Down Expand Up @@ -2266,7 +2266,7 @@
}
],
"packages/steedos_creator.js": [
103326,
103695,
{
"node_modules": {
"meteor": {
Expand Down Expand Up @@ -2319,7 +2319,7 @@
"core.coffee": 18669,
"colors.coffee": 1485,
"temp_navs.coffee": 3922,
"router.coffee": 6234,
"router.coffee": 6603,
"tenant.coffee": 283,
"animate.js": 445,
"colResizable-1.6.js": 5960,
Expand Down
18 changes: 9 additions & 9 deletions server/bundle/programs/web.cordova/program.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
"format": "web-program-pre1",
"manifest": [
{
"path": "93bf48e7712221391c1ba5ef6911357ec9380d7e.js",
"path": "bc44fd7ef2120fa57a75da87e4f98388fa3e907f.js",
"where": "client",
"type": "js",
"cacheable": true,
"url": "/__cordova/93bf48e7712221391c1ba5ef6911357ec9380d7e.js?meteor_js_resource=true",
"size": 4482978,
"hash": "93bf48e7712221391c1ba5ef6911357ec9380d7e",
"sri": "1DlGRH7YJwNVLi2VdbAtl3lRVuruqp4B14Xx/LruJ92SgPvTcf5f4E6CqauywmujobRAy7pE0u5fw74R8IdpDQ=="
"url": "/__cordova/bc44fd7ef2120fa57a75da87e4f98388fa3e907f.js?meteor_js_resource=true",
"size": 4483322,
"hash": "bc44fd7ef2120fa57a75da87e4f98388fa3e907f",
"sri": "WESeZ0Mc+JZoNua9ifGFUADs8C5VDhlEYjoMmspW1R2oW2MpI0tkIZ2ydh2R0tWTlO0LELfPjBZLIksE8sS0Pw=="
},
{
"path": "93bf48e7712221391c1ba5ef6911357ec9380d7e.stats.json",
"path": "bc44fd7ef2120fa57a75da87e4f98388fa3e907f.stats.json",
"where": "client",
"type": "json",
"cacheable": true,
"url": "/__cordova/93bf48e7712221391c1ba5ef6911357ec9380d7e.stats.json?meteor_js_resource=true",
"url": "/__cordova/bc44fd7ef2120fa57a75da87e4f98388fa3e907f.stats.json?meteor_js_resource=true",
"size": 82586,
"hash": "49b4a945bcc961168c175a36ca5898d0a7fdeddf",
"sri": "OOFXyMM05NKaa/1VsjKWsTJeRSDkvv2tMpsJzv78jbtBpbmaKIMkjpcOlWsB5i2/ouwZjq/FMvE4DJ6RhL7/Fg=="
"hash": "0b4aa3a527ed903c876f4f0b4074d3cef5fb47b4",
"sri": "WSDeDQR7HWvVvIU3or0F9mwD9YOugD3eEKyM8Bl9w2pAGvJPc0nR7o/5mFBcgkmeUkZ64fZBWqINlYdF95dZAg=="
},
{
"path": "106b9e345091b56401f90f1c9096385cd0758cb4.css",
Expand Down
2 changes: 1 addition & 1 deletion server/bundle/star.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
"meteorRelease": "[email protected]",
"nodeVersion": "12.16.1",
"npmVersion": "6.13.4",
"gitCommitHash": "19d66b8f9e38ad011e1f7161e2b02e74ff161f5c"
"gitCommitHash": "81f1dc98639679629104faded433467a982516a3"
}

0 comments on commit 33fbdaa

Please sign in to comment.