Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Deployment of new co-supersonic with 1.4.0 SNASPSHOT

Hello,
I created a local application co-loc-test based on the latest archetype. It works well locally.
When I deploy it, it doesn't load. The angular js files links are broken. They are pointing to a wrong directory.
It loads as https://qline.uni-graz.at/app/main.0137c3d301da9c3e.js instead of
https://qline.uni-graz.at/co/examples/test/app/main..
The desktop api
https://qline.uni-graz.at/QSYSTEM_KFU/co/examples/test/api/user/desktop
returns 502

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<html><head> <title>502 Proxy Error</title> </head><body> <h1>Proxy Error</h1> <p>The proxy server received an invalid response from an upstream server.<br /> The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p> </body></html>

Could you please help with this.

  
  
Posted one year ago
  
  

Now I have a new error even in local development mode:

Anand Natampalli   one year ago Report
  
  

java.lang.RuntimeException: java.lang.UnsupportedClassVersionError: at/campusonline/quarkus/extension/deployment/CAMPUSonlineExtensionProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 Caused by: java.lang.UnsupportedClassVersionError: at/campusonline/quarkus/extension/deployment/CAMPUSonlineExtensionProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versio...

Anand Natampalli   one year ago Report
  
  

Heute habe ich überall Java 17 verwendet und es funktioniert alles. Allerdings kriegen ich immer noch den Fehler mit dem polyfill, runtime und main.js files. Die werden zuerst unter /app gesucht und bekomme ich 404, danach findet es den richtigen pfad und ladet es.

Anand Natampalli   one year ago Report
Votes Newest

Answers 2


Ah, ok jetzt habe ich verstanden, nur der initiale Request geht schief ...

Das liegt daran, dass CAMPUSonline leider keinen fixen DAD (URL-Prefix) nutzt.
d.h. z.B. bei der KFU /QSYSTEM_KFU. Und leider ist es nun auch notwendig,
eine baseHref im angular.json zu hinterlegen. (/app/)

In der index.hmtl wird schlussendlich dann folgendes erzeugt

<base href="/app/"> Das verursacht die initialen falschen Requests Das Script in der index.html <script> // dynamically calculating base href - sd const href = location.href; const base = document.getElementsByTagName("base")[0]; base.href = href.substr(0,href.indexOf("/app") + 4) + "/"; console.info("base.href: ", base.href); </script> korrigiert die baseHref dann auf einen dynamischen Wert.

Vlt. finden wir nen weg das zu fixen.

  
  
Posted one year ago

Hi Anand,

Im 1.4.0-SNAPSHOT ist bereits das Java Update auf Java 17 drinne,
darum hat das nicht funktioniert. Wahrscheinlich wäre es besser,
wenn du auf die Release Version 1.3.0 aufbaust.
Außer du bist sehr mutig ;-)

Bezüglich deinem Angular Problem mit dem Pfad:

Hast du die baseHref Anpassung im angular.json gemacht?
"baseHref": "/app/"

Sonst überprüfe nochmal die Anpassungen für Angular mit
git difftool --dir-diff 1.2.0-public 1.3.0-public

lg zoni

1
1
Posted one year ago
  
  

Ich bin mutig :-D. Ich lasse es so auf 17. Siehst du irgendwelche Probleme? Beim angular.json habe ich baseHref genommen und das deployUrl weggelassen. Auch bei co-supersonic habe ich das gleiche Problem auf unser Q System. Es ist nicht schlimm, aber ist nicht klar wieso es zuerst auf /app pfad sucht und dann spaeter das richtige Pfad findet.

Anand Natampalli   one year ago Report
2K Views
2 Answers
one year ago
one year ago
Tags