Closed oksana-dersovitz closed 4 years ago
Might be related to #2271 where I worked in that area, and which has been introduced with version 4.7.0; can you validate if it works with an earlier version?
I cannot reproduce it on AEM 6.5.5 and acs-aem-commons 4.7.0: When I request
curl -u admin:admin http://localhost:4502/api/assets/wknd/en/activities/hiking.json
I get a proper non-empty JSON. @oksana-dersovitz can you provide a reproducable example, e.g using WKND?
@joerghoh , yes it worked with acs-aem-commons 4.4.2. Do you have your Environment Indicator values configured? This is what we have in the Felix console:
@oksana-dersovitz thanks, forgot to configure that. Now I can reproduce it.
@oksana-dersovitz can you check if https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2372 works for you?
@joerghoh , thank you. Our engineer was unable to build the bundle with code from #2372 .
@oksana-dersovitz - here's a build of @joerghoh 's branch:
acs-aem-commons-bundle-4.8.1-SNAPSHOT.jar.rename-me.txt
acs-aem-commons-ui.apps-4.8.1-SNAPSHOT-min.zip
ui.apps contains the bundle, but attached that (have to rename) if you just want to upload the bundle without installing the package
@davidjgonzalez and @joerghoh : thank you both. This build does resolve the API issue we are having.
is part of next release (4.8.2)
I just cut 4.8.4 (4.8.2 release got botched :() ... should be avail on maven central in a few hours
Required Information
Expected Behavior
When making Assets HTTP API requests, GET /api/assets/myFolder.json should return a 200 OK Success and properties of the folder.
Actual Behavior
Actual request: GET /api/assets/wakefern/web-and-client-app.json HTTP/1.1
Result:
HTTP ERROR 500 Server Error
Caused by:
If we clear the values from the Environment Indicator configuration, then the GET request is successful. But we need environment indicators, and we have been successfully using them prior to upgrading to Assets 6.5 (from Assets 6.5) and AEM Commons 4.7.
Steps to Reproduce
Links
Links to related assets, e.g. content packages containing test components