Bug 903108
| Summary: | [rhevm-reports] - Ad Hoc - Cannot edit Scheduled Task for report (Niether task out of 2) (SECURITY FAILURE context=description-ViewRepository_Schedule_context, key=description, type(AlphaNumPunctuation)) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | David Botzer <dbotzer> | ||||
| Component: | jasperreports-server-pro | Assignee: | Yaniv Lavi <ylavi> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | David Botzer <dbotzer> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.1.1 | CC: | acathrow, dyasny, iheim, pstehlik, Rhev-m-bugs, sgrinber, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-01-23 14:09:07 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
What fields do you have in the first step? One of the user provided values is no passing the validation. Yaniv First Step: ----------- Job name Description Start Job Time Zone Reaccurances Though i had tried changing the task name, but its impossible, since i have to go to the next step The owner of both tasks per this ad hoc is the same "rhevm-admin|organization_1 " (In reply to comment #2) > First Step: > ----------- > Job name > Description > Start Job > Time Zone > Reaccurances > > Though i had tried changing the task name, but its impossible, since i have > to go to the next step > > The owner of both tasks per this ad hoc is the same > "rhevm-admin|organization_1 " What are the values in these? Yaniv (In reply to comment #3) > (In reply to comment #2) > > First Step: > > ----------- > > Job name Ad Hoc - VMs Per DC RHEVM-3 for 03/01 - 09/30 > > Description Display VMs for the following: ---------------------------------------------- RHEVM = RHEVM-3 DC = RHEVM-3 All VMs Created in between = 03/01 - 09/28 A copy is saved under Ad Hoc Reports -> Saved Reports -> VMs_Reports > > Start Job immediately > > Time Zone Israel Standard Time > > Reaccurances Simple -> Every 9 days > > > > Though i had tried changing the task name, but its impossible, since i have > > to go to the next step > > > > The owner of both tasks per this ad hoc is the same > > "rhevm-admin|organization_1 " > > What are the values in these? > > > Yaniv Opened Case Number 00031292 Yaniv from what I understand, the problem is in the scheduled job description does not fit current validation rule - AlphaNumPunctuation. Validation rules were introduced in JRS 4.5 - see http://www.jaspersoft.com/wiki/index.php/Jaspersoft_4.5.0_Security_Changes_and_Configuration for more details on this. Closing on not a bug, but a security feature. You can disable this and change the description and turn it back on. Yaniv |
Created attachment 685700 [details] AdHoc-Err Description of problem: Cannot edit the Ad Hoc Report's Task Version-Release number of selected component (if applicable): SI25.4 jasperreports-server-pro-4.7.1-2.el6ev.noarch rhevm-reports-3.1.0-20.el6ev.noarch rhevm-dwh-3.1.0-21.el6ev.noarch How reproducible: Specific Ad Hoc - Not all Ad Hocs Steps to Reproduce: 1.install rhevm+dwh+reports (should also try installing 3.0 & upgrading to 3.1) 2.create some ad hoc reports with filters on date 3.create several tasks per DC to the report 4. Edit the Task Actual results: When moving to second step gets error UI --- The server has encountered an error. Please excuse the inconvenience. An error has occurred. Please contact your system administrator. (5321) In the jasperserver.log ------------------------- 2013-01-23 10:04:37,311 ERROR Validator,http-/0.0.0.0:8443-13:408 - [SECURITY FAILURE context=description-ViewRepository_Schedule_context, key=description, type(AlphaNumPunctuation)=^[\p{L}\p{M}\p{N}\p{Pd}\p{Pi}\p{Pf}\p{Pc}\p{Po}\p{Sc}\p{So}\p{Sm}\p{Cf}\p{Z}\s\=\(\)\[\]\~\|\{\}\`\^\+&&[^<>]]*$, input=Display VMs for the following: Expected results: Should allow editing of Ad Hoc report Additional info: {What is 54321 ???}