Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ORSR forms standalone and API #467

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Conversation

celuchmarek
Copy link
Member

No description provided.

@celuchmarek celuchmarek changed the title Fix ORSR standalone forms Fix ORSR forms standalone and API Jun 25, 2024
Comment on lines +58 to +59
if (EFormUtils.isOrsrUri(identifier))
embedUsedSchemas = true;
Copy link
Member Author

Choose a reason for hiding this comment

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

Ja by som to radšej takto overridol. Je tu riziko, že v ďalekej budúcnosti prejdú na referencie, ale v tom momente by aj tak prešli na data.gov.sk/slovensko.sk formuát, takže je to jedno.

@celuchmarek celuchmarek requested a review from jsuchal June 25, 2024 13:45
xsltParams = EFormUtils.fillXsltParams(transformation, identifier, xsltParams);
if (!transformation.isEmpty() && transformation.charAt(0) == '\uFEFF')
Copy link
Member

Choose a reason for hiding this comment

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

Tieto vynimky mam pocit, ze nemame uplne pokryte v testoch a zacina sa to tu kopit. Vieme pridat aj nejaky test co overi, ze sa to vsetko nastavilo spravne?

Copy link
Member Author

Choose a reason for hiding this comment

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

toto iba odstraňuje BOM zo začiatku stringu. Mali sme to na inom mieste, ale nie v API transformácii.

@celuchmarek celuchmarek merged commit fa0c8f3 into main Jun 27, 2024
6 checks passed
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