[ 
https://issues.apache.org/jira/browse/CLEREZZA-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799898#action_12799898
 ] 

Reto Bachmann-Gmür edited comment on CLEREZZA-59 at 1/13/10 8:15 PM:
---------------------------------------------------------------------

repeating my search for "apple" after adding the dbpedia sparql endpoint as 
concept-provide I get: "The following error occured: parsererror", lookin at 
was goes over the network I see a login-page is returned in response to the 
ajax request:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; lang="en">
<head>

<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
        <body>
        <h1>Clerezza Login</h1>
        <hr/>
        
                
<form method="post" action="../login">
        <label for="user" id="label_user">User name:</label><input type="text" 
id="user" name="user"/>
        <label for="pass" id="label_pass">Password:</label><input 
type="password" id="pass" name="pass" value="" />
        <input type="hidden" id="referer" name="referer" 
value="/concepts/find?searchTerm=apple" />
        <input value="Login" type="submit"/><p />
</form>

        <a href="../reset/">forgot password?</a>
        </body>
</html>


there seem to be two issues:
- no permission should be needed here (created CLEREZZA-74)
- if a permission is needed to should yield to a http-auth challenge, the 
request is wrong to include */* in the accept-header

      was (Author: reto):
    repeating my search for "apple" after adding the dbpedia sparql endpoint as 
concept-provide I get: "The following error occured: parsererror", lookin at 
was goes over the network I see a login-page is returned in response to the 
ajax request:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"; lang="en">
<head>

<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
        <body>
        <h1>Clerezza Login</h1>
        <hr/>
        
                
<form method="post" action="../login">
        <label for="user" id="label_user">User name:</label><input type="text" 
id="user" name="user"/>
        <label for="pass" id="label_pass">Password:</label><input 
type="password" id="pass" name="pass" value="" />
        <input type="hidden" id="referer" name="referer" 
value="/concepts/find?searchTerm=apple" />
        <input value="Login" type="submit"/><p />
</form>

        <a href="../reset/">forgot password?</a>
        </body>
</html>


there seem to be two issues:
- no permission should be needed here
- if a permission is needed to should yield to a http-auth challenge, the 
request is wrong to include */* in the accept-header
  
> allowing a user to retrieve concepts by a search term and choose found 
> concepts to tag a resource
> -------------------------------------------------------------------------------------------------
>
>                 Key: CLEREZZA-59
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-59
>             Project: Clerezza
>          Issue Type: Sub-task
>            Reporter: Hasan
>            Assignee: Hasan
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to