Skip to content

Load reference and equivalent plan - #2907

Open
TruongQuangSB wants to merge 14 commits into
mainfrom
load-reference-plan-basis
Open

TruongQuangSB wants to merge 14 commits into
mainfrom
load-reference-plan-basis

Conversation

@TruongQuangSB

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Test Results

202 tests  ±0   177 ✅ ±0   3m 7s ⏱️ +25s
  5 suites ±0     0 💤 ±0 
  5 files   ±0    25 ❌ ±0 

For more details on these failures, see this check.

Results for commit 741fdc5. ± Comparison against base commit d0bbb93.

This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.
org.eclipse.set.feature.table.pt1.test.Pt1TableTransformationTest ‑ testTransformator(String)[1] /tmp/set-test7868849603276403251PPHN_1.10.0.3_01-02_Ibn-Z._-_2._AeM_2022-05-17_13-44_tg3.planpro
org.eclipse.set.feature.table.pt1.test.Pt1TableTransformationTest ‑ testTransformator(String)[2] /tmp/set-test5009081290525191670Info__2026-04-21_10-40.planpro
org.eclipse.set.feature.table.pt1.test.Pt1TableTransformationTest ‑ testTransformator(String)[1] /tmp/set-test1429896459469796320PPHN_1.10.0.3_01-02_Ibn-Z._-_2._AeM_2022-05-17_13-44_tg3.planpro
org.eclipse.set.feature.table.pt1.test.Pt1TableTransformationTest ‑ testTransformator(String)[2] /tmp/set-test8088439169038436624Info__2026-04-21_10-40.planpro

♻️ This comment has been updated with latest results.

OpenPlanProHandler_LoadingPlanProModelFileErrorMessage=Die Datei konnte nicht geladen werden.
OpenPlanProHandler_LoadingPlanProModelFileErrorTitle=Fehler beim Laden der Datei

OpenPlanProHandler_LoadingWrongReferencePlanMessage=Der ausgewählte Plan ist im aktuellen Plan nicht referenziert..

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
OpenPlanProHandler_LoadingWrongReferencePlanMessage=Der ausgewählte Plan ist im aktuellen Plan nicht referenziert..
OpenPlanProHandler_LoadingWrongReferencePlanMessage=Der ausgewählte Plan ist im aktuellen Plan nicht referenziert.

public String OpenPlanProHandler_LoadingPlanProModelFileErrorTitle;

/**
* Die ausgewählte Plan ist nicht referenziert von aktuell Plan

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Die ausgewählte Plan ist nicht referenziert von aktuell Plan
* Der ausgewählte Plan ist im aktuellen Plan nicht referenziert.

/**
* The reference plan complete loaded
*/
String ADDITIONAL_PLAN_LOADED = "loaded/reference/complete";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TruongQuangSB Also why ADDITIONAL_* if it is the reference plan that has been loaded?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mariusheine ADDTIONAL mean both of reference and equivalent plan

* the list of {@link Planung_Einzel} by
* {@link ENUMUntergewerkArt}
*/
public static record AdditionalPlanInformation(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TruongQuangSB Here Additional* is fine 😉

Comment on lines -105 to -134
val idPlanungBasis = mainSchnittstelle?.referenzPlanungBasis;

if (idPlanungBasis !== null) {
it.set(34, mainSchnittstelle.referenzPlanungBasis)
it.set(35, planungEinzel?.bauzustandPlanungEinzel)
it.set(36,
lastPlanungEErstellung?.handelnder?.akteurAllg?.
nameAkteur5?.wert ?: "")
it.set(43,
lastPlanungEErstellung?.datum?.wert?.toString(
DATE_FORMAT_SHORT) ?: "")
it.set(37,
lastQualitaetPruefung?.handelnder?.akteurAllg?.
nameAkteur5?.wert ?: "")
it.set(44,
lastQualitaetPruefung?.datum?.wert?.toString(
DATE_FORMAT_SHORT) ?: "")
it.set(38,
lastPlanungAbnahme?.handelnder?.akteurAllg?.nameAkteur5?.wert ?:
"")
it.set(45,
lastPlanungAbnahme?.datum?.wert?.toString(DATE_FORMAT_SHORT) ?:
"")
it.set(39,
lastPlanungUebernahme?.handelnder?.akteurAllg?.
nameAkteur5?.wert ?: "")
it.set(46,
lastPlanungUebernahme?.datum?.wert?.toString(
DATE_FORMAT_SHORT) ?: "")
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TruongQuangSB Where did all these values go? Have they been wrong all the time?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mariusheine yes. these aren't correct. It is a long time ago, i don't know anymore

TruongQuangSB and others added 2 commits November 26, 2026 17:11
Co-authored-by: Marius Heine <m.heine@geprog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants