efa icon indicating copy to clipboard operation
efa copied to clipboard

mark Obmann in XML Export and fix Boattype changes

Open websplash opened this issue 4 months ago • 1 comments

the xml is not taking care of the chosen Obmann field. It is marked with in the HTML export though, but this gets lost in all other types of exports. So I a added a new xml tag for this.

Also there was an issue in the boat type: when e.g. adding a name in the first field, but then chaging the boat type (e.g. from Skull to Riemen), a field might become hidden, as not necessary anymore. But the value inside is not being emptied, so that the person in the field before cannot be added as a crew member anymore.

websplash avatar Jul 17 '26 13:07 websplash

Regarding the second paragraph in the PR: I see the one changed line of code in EfaBaseFrame.java (which makes sense to me), but the way I read the second paragraph in the PR is that more needs to be done than 'just' clearing the crew(24) field when a trip facility changes.

Is the PR complete in regards to the second paragraph?

I have manually applied the one changed line of code to the new Beta 2.5.3#9: https://github.com/nicmichael/efa/releases/tag/2.5.3-beta.9

Review of statistics task changes will take some more time.

cubitusgh2 avatar Jul 19 '26 15:07 cubitusgh2

Hi @cubitusgh2 , thanks for checking. The second part is not "that" relevant, I was just looking for this bug, but it is no showstopper.

way more relevant for me is the XML export including the "obmann" field. It is just an additional field inside the xml export, the value is already existing in the field and taken care of in the HTML export. So I think this part of code is way more easy, maybe you can check and integrate it easily. We have created an own build with it for testing, but I would prefer to have an official build so it is not overwritten in the future :)

websplash avatar Jul 23 '26 08:07 websplash

hank you. It is not resolved yet though says github. Can it be added into the next beta?

websplash avatar Aug 01 '26 08:08 websplash

Your PR initially was against the master branch of efa, which I currently use for production releases only. Betas get their own branch which merge several single branches of my own repository and can be built separately. The intention is to be able to fix bugs in a production release without being forced to deliver new (not thoroughly tested) features alongside it.

My intention was to merge this PR into the branch beta_253, so it would be included in the next beta. I was able to change the target branch of your PR, but as there is some minor conflict which needs to be fixed, Github wants to push all the changes in beta_253 back to your master branch during the merge process. I don't feel like this is a good idea, and I have no clue how I can suppress the backport to your master branch during the merge process. The problem I see here is the change in your master branch: you would no longer have a clean master which represents the current efa maste (release 2.5.2). I would'nt hesitate to merge if your PR came from a separate branch in your fork of efa, as the possible "damage" would only affect a branch.

Two possibilities:

  • you build a new branch for your changes based on efa:beta_253 and create a PR against efa:beta_253 which can easily be merged without affecting your master branch
  • we don't care about your master branch and merge the current PR.

cubitusgh2 avatar Aug 01 '26 09:08 cubitusgh2

I don't need my master branch, you can proceed however it fits best for you :)

websplash avatar Aug 04 '26 07:08 websplash