Skip to content

Commit a4b81a1

Browse files
authored
Merge pull request #2107 from BEXIS2/rc
Rc v4.0.2
2 parents bba8993 + 1b67e09 commit a4b81a1

File tree

42 files changed

+555
-411
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+555
-411
lines changed

BExIS++.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,8 +1582,8 @@ Global
15821582
{9BFFFD11-03C6-47DF-9CC9-F458A9A49377} = {F3354AC7-CDA1-44E2-8E85-8DB532ED8C75}
15831583
EndGlobalSection
15841584
GlobalSection(ExtensibilityGlobals) = postSolution
1585-
SolutionGuid = {9B6E4921-8EBA-487D-A098-3E473A0EAC64}
15861585
EnterpriseLibraryConfigurationToolBinariesPath = packages\Unity.2.1.505.0\lib\NET35;packages\Unity.2.1.505.2\lib\NET35
1586+
SolutionGuid = {9B6E4921-8EBA-487D-A098-3E473A0EAC64}
15871587
EndGlobalSection
15881588
GlobalSection(SubversionScc) = preSolution
15891589
Svn-Managed = True

Components/IO/BExIS.Io.Transform.Output/OutputMetadataManager.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ public static XmlDocument GetConvertedMetadata(long datasetId, TransmissionType
6969
DatasetVersion datasetVersion = datasetManager.GetDatasetLatestVersion(datasetId);
7070
XmlDatasetHelper xmlDatasetHelper = new XmlDatasetHelper();
7171

72+
// if no mapping name is provided, use the metadata structure name
73+
if(string.IsNullOrEmpty(mappingName)) mappingName = datasetVersion.Dataset.MetadataStructure.Name;
74+
7275
string mappingFileName = xmlDatasetHelper.GetTransmissionInformation(datasetVersion.Id, type, mappingName);
7376
// no mapping files with mappingName exist
7477
if (string.IsNullOrEmpty(mappingFileName)) return null;

Components/Utils/BExIS.Utils.Data/DatasetVersionHelper.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ public static async Task<long> GetVersionId(long datasetId, string username, int
164164
// get latest public
165165
tag = datasetManager.GetLatestTag(datasetId, true);
166166
if (tag == null) return -1;
167+
else
168+
{
169+
datasetVersion = datasetManager.GetLatestVersionByTagNr(datasetId, tag.Nr);
170+
return datasetVersion.Id;
171+
}
167172
}
168173
else
169174
{

Components/Utils/BExIS.Utils.Data/Helpers/ShellSeedDataGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ public void GenerateSeedData()
4040

4141
var o12 = operationManager.Find("Shell", "Settings", "*") ?? operationManager.Create("Shell", "Settings", "*", settings);
4242

43-
if (!versionManager.Exists("Shell", "4.0.1"))
43+
if (!versionManager.Exists("Shell", "4.0.2"))
4444
{
45-
versionManager.Create("Shell", "4.0.1");
45+
versionManager.Create("Shell", "4.0.2");
4646
}
4747
}
4848
}

Console/BExIS.Web.Shell.Svelte/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Console/BExIS.Web.Shell.Svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"type": "module",
5454
"dependencies": {
55-
"@bexis2/bexis2-core-ui": "0.4.44",
55+
"@bexis2/bexis2-core-ui": "0.4.45",
5656
"@sveltejs/adapter-static": "3.0.2",
5757
"buffer": "6.0.3",
5858
"gray-matter": "4.0.3",

Console/BExIS.Web.Shell.Svelte/src/routes/home/docs/[...slug]/[category]/+page.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
1919
import sanitizeHtml from 'sanitize-html';
2020
import { marked } from 'marked';
21+
import { time } from 'console';
22+
import { TIMEOUT } from 'dns';
2123
2224
export let data;
2325
let content_complete = '';
@@ -41,6 +43,9 @@
4143
$: version;
4244
4345
onMount(() => {
46+
47+
setTimeout(() => {
48+
4449
// get data from parent
4550
container = document.getElementById('docs');
4651
version = container?.getAttribute('version');
@@ -109,6 +114,8 @@
109114
110115
// Add event listener to rendered content
111116
document.getElementById('content').addEventListener('click', handleLinkClick);
117+
}, 1000);
118+
112119
});
113120
114121
// Select and render the currently needed content

Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
},
5151
"type": "module",
5252
"dependencies": {
53-
"@bexis2/bexis2-core-ui": "0.4.44",
54-
"@bexis2/bexis2-rpm-ui": "0.2.9",
53+
"@bexis2/bexis2-core-ui": "0.4.45",
54+
"@bexis2/bexis2-rpm-ui": "0.2.11",
5555
"@floating-ui/dom": "1.6.8",
5656
"@fortawesome/free-solid-svg-icons": "6.6.0",
5757
"@sveltejs/adapter-static": "3.0.2",

Console/BExIS.Web.Shell/Areas/DCM/BExIS.Modules.Dcm.UI.Svelte/src/lib/components/fileupload/services.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Api } from '@bexis2/bexis2-core-ui';
55
export const load = async (file, entityId, version) => {
66
try {
77
const response = await Api.get(
8-
'/rpm/DataStructure/load?file=' + file + '&&entityId=' + entityId + '&&version=' + version
8+
'/rpm/File/load?file=' + file + '&&entityId=' + entityId + '&&version=' + version
99
);
1010
console.log('🚀 ~ load ~ response:', response);
1111

0 commit comments

Comments
 (0)