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

Erreur à l’exécution de FME Desktop sur Windows si une propriété contient un slash (/) #272

Closed
yblatti opened this issue Jan 19, 2023 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@yblatti
Copy link
Contributor

yblatti commented Jan 19, 2023

Bug rencontré sur Extract v2.0.2 (non testé sur 2.0.0 ou 2.0.1) , sur Windows, le JSON reçu par FME Desktop est rejeté.

Valeur en base (p_parameters) :

{"FORMAT":"GEOTIFF","PROJECTION":"SWITZERLAND95","RAISON":"CONSTRUCTION","RAISON_LABEL":"Nouvelle construction (bâtiment, piscine)","REMARK":"Avec un slash EP/EU"}

Retour FME :

Message d'erreur : JSONFlattener_<Rejected>: Termination Message: 'JSONFlattener output a <Rejected> feature. To continue translation when features are rejected, change 'Workspace Parameters' > Translation > 'Rejected Feature Handling' to 'Continue Translation'' Program Terminating Translation FAILED. (-1)

Extrait du log :

09:27:46.617 771018801 [pool-9-thread-3] DEBUG c.a.e.p.fmedesktop.FmeDesktopPlugin - Start FME extraction
09:27:46.617 771018801 [pool-9-thread-3] DEBUG c.a.e.p.fmedesktop.FmeDesktopPlugin - Current working directory is C:\extact\fme
09:27:46.617 771018801 [pool-9-thread-3] DEBUG c.a.e.p.fmedesktop.FmeDesktopPlugin - Current user is LOCAL SERVICE
09:27:46.617 771018801 [pool-9-thread-3] DEBUG c.a.e.p.fmedesktop.FmeDesktopPlugin - Executed command line is : "C:\Program Files\FME\fme.exe" "C:\extact\fme\fake_long_process.fmw" --Perimeter "POLYGON((7.018864261317231 46.248157159684695,7.018856213388301 46.24919756745584,7.020358502733481 46.24920315054484,7.020366521926279 46.248162742667716,7.018864261317231 46.248157159684695))" --Product "ca22c02e-0021-4fb1-b118-d9ee451ec453" --FolderOut "C:\extact\orders\f7819afa-2239-454e-811c-ef920808c6f7\output" --Parameters "{""FORMAT"":""GEOTIFF"",""PROJECTION"":""SWITZERLAND95"",""RAISON"":""CONSTRUCTION"",""RAISON_LABEL"":""Nouvelle construction (bâtiment, piscine)"",""REMARK"":""Avec un slash EP/EU""}" --OrderLabel "435920" --Request 604 --Client "bdd6cf92-f810-4655-ad37-5ed7f890d10a" --Organism "a35f0327-bceb-43a1-b366-96c3a94bc47b"
09:27:47.636 771019820 [pool-9-thread-2] DEBUG c.a.e.p.fmedesktop.FmeDesktopPlugin - End of FME extraction
@yblatti yblatti added the bug Something isn't working label Jan 19, 2023
@ponceta
Copy link

ponceta commented Jan 30, 2023

Similar issue here with multi-line input on Remark field.

This is an FME issue on the JSON Flattener transformer and not a directly an Extract issue but I'm interested in any workaround.

We could maybe create an issue on SAFE FME knowledge side.

@yblatti
Copy link
Contributor Author

yblatti commented Jan 30, 2023

C'est une régression : Extract et FME ont toujours bien géré le caractère '/' et les retours à la ligne (multi-line input on Remark field) dans les version précédentes.

arxit-ygr added a commit to arxit-ygr/extract that referenced this issue Feb 28, 2023
…ndows si une propriété contient un slash (/)
@yblatti yblatti closed this as completed Mar 1, 2023
@yblatti
Copy link
Contributor Author

yblatti commented Mar 1, 2023

Corrigé en v2.0.3 merci @arxit-ygr

@yblatti yblatti added this to the v2.0.3 milestone Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants