Bug 980488
Summary: | bad response REST methods for helloworld-html5 | ||
---|---|---|---|
Product: | [Retired] JBoss Enterprise WFK Platform 2 | Reporter: | Stefan Miklosovic <smikloso> |
Component: | Examples | Assignee: | Marek Novotny <mnovotny> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Stefan Miklosovic <smikloso> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.3.0 | CC: | bsutter, kpiwko, maschmid, oskutka, pmuir, ppenicka, rruss, sgilda |
Target Milestone: | --- | Flags: | ppenicka:
needinfo+
|
Target Release: | 2.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
The README.md file of the helloworld-html5 quickstart suggests that the application's REST endpoint can be manually accessed using a web browser. Because the POST method is used in the endpoint's implementation, the manual access fails. To work around the issue and allow manual access to the endpoint, change all occurrences of POST to GET in the org.jboss.as.quickstarts.html5rest.HelloWorld class and the index.html file.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-16 15:59:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Stefan Miklosovic
2013-07-02 14:04:11 UTC
Issued pull 553 with the fix: https://github.com/jboss-jdf/jboss-as-quickstart/pull/553 @pmuir: There is also a 'Quickstarts' component under JBoss Enterprise Application Platform. Would that be a better location for this one? @sgilda, no this one is targeted at WFK. An issue in JDF is the correct thing. @pmuir: OK. This one is fixed an merged. Edited doc text for WFK 2.3 release notes. The commit with the fix is here: https://github.com/jboss-jdf/jboss-as-quickstart/commit/f2158fa4fd177b65b4a1f543fbe62165e69b8099 The fix impacts the following files: helloworld-html5/README.md helloworld-html5/src/main/java/org/jboss/as/quickstarts/html5rest/HelloWorld.java helloworld-html5/src/main/webapp/index.html @ppenicka, @smikloso: Should this fix be applied to the WFK repository (https://github.com/jboss-eap/quickstart/tree/master-wfk23) also? Or is it too late? @ppenicka: Please note, the index.html file also needs modification. Otherwise, the simple "Hello" doesn't work when you click the button. Changed the doc text so that the workaround matches the mentioned upstream fix, thanks sgilda for the notice ;) .. and inserted the doc text into the right field (Doc Text instead of Environment). Migrated to JIRA Sande Gilda <sgilda> made a comment on jira WFK2-32 This issue was fixed in the community version of the quickstarts here: https://github.com/jboss-jdf/jboss-as-quickstart This is the commit that was done on July 3, 2013: https://github.com/jboss-jdf/jboss-as-quickstart/commit/f2158fa4fd177b65b4a1f543fbe62165e69b8099 In the bug comments (https://bugzilla.redhat.com/show_bug.cgi?id=980488#c6), I asked whether the fix needed to be applied to the WFK repository. From the comments after, it's not clear what was decided. After I fixed bug 980488, I reassigned it to Marek Novotny. Since this is fixed in the community quickstarts, should this JIRA be assigned Marek or someone on the WFK team? Added dev_ack flag. |