Codebasis als Dateien ins Arbeitsrepo statt als Gitlink

QuellCode/CentronERP war nur als Gitlink (Submodul-Referenz auf 79c1142)
getrackt, ohne .gitmodules und ohne erreichbares Remote. Der
Untersuchungsgegenstand der Versuchsreihe war damit nicht reproduzierbar
gesichert: Ein Klon haette ein leeres Verzeichnis erhalten, und die Belege
der 3.287 Anforderungen waeren nicht ueberpruefbar gewesen.

Umstellung:
- Historie nach c:\DEV\CentronERP_git_snapshot_79c1142 ausgelagert
  (vollstaendig lesbar, enthaelt 79c1142 und Vorgaenger 89ccfd6)
- Gitlink aus dem Index entfernt
- Dateiinhalt aufgenommen: 24.557 Dateien, rund 333 MB

Die verschachtelte .gitignore der Codebasis gilt weiter, Build-Artefakte
bleiben ausgeschlossen. Details in Versuche/Versuch_01/_Codebasis-Nachweis.md
This commit is contained in:
Christoph Schwörer
2026-08-26 07:43:51 +02:00
parent 18edae75b6
commit f045b99a25
24664 changed files with 5846716 additions and 1 deletions
@@ -0,0 +1,69 @@
{
Data: [
{
Caption: 'Vertrag 14030',
Children: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 219,
ObjectKind: 4
}
],
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 30,
IsCurrent: true,
IsRelative: true,
ObjectKind: 22,
Parents: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 226,
ObjectKind: 2
}
]
},
{
Caption: 'Auftrag 20226',
Children: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 30,
ObjectKind: 22
}
],
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 226,
IsCurrent: false,
IsRelative: true,
ObjectKind: 2,
Parents: []
},
{
Caption: 'Rechnung 40146',
Children: [],
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 219,
IsCurrent: false,
IsRelative: true,
ObjectKind: 4,
Parents: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 30,
ObjectKind: 22
}
]
}
],
Error: null,
Message: null,
MessageCode: null,
Status: 0
}
@@ -0,0 +1,69 @@
{
Data: [
{
Caption: 'Auftrag 20226',
Children: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 30,
ObjectKind: 22
}
],
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 226,
IsCurrent: true,
IsRelative: true,
ObjectKind: 2,
Parents: []
},
{
Caption: 'Vertrag 14030',
Children: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 219,
ObjectKind: 4
}
],
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 30,
IsCurrent: false,
IsRelative: true,
ObjectKind: 22,
Parents: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 226,
ObjectKind: 2
}
]
},
{
Caption: 'Rechnung 40146',
Children: [],
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 219,
IsCurrent: false,
IsRelative: true,
ObjectKind: 4,
Parents: [
{
ExternalReferenceID: null,
ExternalReferenceType: null,
I3D: 30,
ObjectKind: 22
}
]
}
],
Error: null,
Message: null,
MessageCode: null,
Status: 0
}
@@ -0,0 +1,39 @@
using Centron.BusinessLogic.WebServices.Sales.Receipts;
using Centron.Interfaces;
using Centron.Interfaces.Sales.Receipts;
using Centron.Tests.EndToEnd.Infrastructure;
using Xunit.Abstractions;
namespace Centron.Tests.EndToEnd.TicketTests.Ticket137716;
public class Ticket137716Tests : EndToEndTest
{
public Ticket137716Tests(ITestOutputHelper testOutputHelper)
: base(testOutputHelper)
{
}
private const int ContractI3D = 30;
private const int ContractItemI3D = 112;
private const int OrderNumber = 20226;
private const int OrderI3D = 226;
private const int OrderItemI3D = 892;
public override void Execute()
{
this.PrepareDatabase();
var contractProgression = this.WithSession(s => s.GetBL<ReceiptWebServiceBL>().GetReceiptProgression(this.GetLoggedInUser(), ContractI3D, CentronObjectKindNumeric.ContractClass, limit: null));
this.Verifier.Verify("ContractProgression", contractProgression);
var orderProgression = this.WithSession(s => s.GetBL<ReceiptWebServiceBL>().GetReceiptProgression(this.GetLoggedInUser(), OrderI3D, CentronObjectKindNumeric.OrderClass, limit: null));
this.Verifier.Verify("OrderProgression", orderProgression);
}
private void PrepareDatabase()
{
this.Sql($"UPDATE dbo.BestPos2 SET AuftragI3D = NULL, EKAusAufPosI3D = NULL WHERE AuftragI3D = {OrderI3D}");
this.Sql($"UPDATE dbo.VertragPos SET Ursprung = {OrderItemI3D}, UrsprungI3D = {OrderI3D}, UrsprungNr = {OrderNumber}, UrsprungArt = {(int)ReceiptItemOrigin.Order} WHERE I3D = {ContractItemI3D}");
}
}