[NAS-2683] Adding seeds to eventharvest fail, if list of seeds contain invalid seeds Created: 09/Nov/17  Updated: 24/Apr/18  Resolved: 24/Jan/18

Status: Closed
Project: NetarchiveSuite
Component/s: GUI
Affects Version/s: 5.2.2, 5.3.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Søren Vejrup Carlsen (Inactive) Assignee: Søren Vejrup Carlsen (Inactive)
Resolution: Fixed  
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2017-11-09-10-09-32-030.png     PNG File image-2017-11-09-10-15-29-859.png    
External reference:

https://sbprojects.statsbiblioteket.dk/jira/browse/NARK-1439

Sprint: NAS 5.4

 Description   

Adding seeds to eventharvest fail, if list of seeds contain invalid seeds.
And you get a strange message:

 Cannot forward after response has been committed


 Comments   
Comment by Søren Vejrup Carlsen (Inactive) [ 24/Jan/18 ]

Finally, the code now works for seeds coming from both form-data and a file.

Comment by Søren Vejrup Carlsen (Inactive) [ 23/Nov/17 ]

Have now stopped the progress, as I cannot seem to fix the problem with the add-seeds-from-file functionality.
I have also created a review

Comment by Søren Vejrup Carlsen (Inactive) [ 20/Nov/17 ]

This process is now in progress, and it works already for seeds read from a textarea

Comment by Søren Vejrup Carlsen (Inactive) [ 10/Nov/17 ]

The easiest idea is probably to handle the request handling from HarvestDefinition/Definitions-edit-selective-harvest.jsp instead of from HarvestDefinition/Definitions-add-event-seeds.jsp and then write the invalid seeds to the screen as we done, when adding domains to a selective-harvest:

The following domains are illegal and cannot be added
sss

And html:

<br/>
<table class="selection_table">
    <tr>
        <th>
            The following domains are illegal and cannot be added
        </th>
    </tr>
    <tr>
        <td>
            <textarea rows="1" cols="30">sss</textarea>
        </td>
    </tr>
</table>
Generated at Fri Apr 19 06:10:50 CEST 2024 using Jira 9.4.15#940015-sha1:bdaa9cbecfb6791ea579749728cab771f0dfe90b.