Comments (7)
can you give example urls of each errors. i do not know how all Eventum functionality can be accessed, ot screenshots?
from eventum.
The first two notices are the result of a HTML-escaped but still interpreted code in templates/associate.tpl.html lines 57-68. If validateForm() returns always "true" then it disappears but a proper resolution is still needed.
The main problem seems to be rooted in associate.tpl.html line 74-75:
<input type="hidden" name="cat" value="associate">
<input type="hidden" name="issue_id" value="{$smarty.get.issue_id}">
{section name="i" loop=$emails}
<input type="hidden" name="item[]" value="{$emails[i]}">
{/section}
<table class="bordered medium left">
This code doesn't output the list of email(s) passed in item[] to associate.php in the url:
https://eventum.xxx.hu/associate.php?cat=associate&item%5B%5D=19479&issue=existing&issue_id=7813&page_size=50&hide_associated=on
so the form is created without the list of items to be associated.
<form name="associate_email_form" method="post" action="associate.php" onSubmit="return validateForm(this);">
<input type="hidden" name="cat" value="associate">
<input type="hidden" name="issue_id" value="7813">
*** This is where the item list is missing ***
<table class="bordered medium left">
On submission item[] is not set and following processing fails because of its NULL value.
from eventum.
bugfix:
<input type="hidden" name="cat" value="associate">
<input type="hidden" name="issue_id" value="{$smarty.get.issue_id}">
{section name="i" loop=$smarty.get.item}
<input type="hidden" name="item[]" value="{$smarty.get.item[i]}">
{/section}
<table class="bordered medium left">
from eventum.
It would be a log more easier to chef if the "bugfix" is in "diff" form, or even better Pull-Request. here i can't see what is needed to make the change (what line to add, what line to remove, what line to modify)
from eventum.
I can do diff:
--- associate.tpl.html 2016-06-20 16:27:06.281626150 +0200
+++ associate.tpl.html.bug173.fixed 2016-06-20 16:27:06.281626150 +0200
@@ -71,8 +71,8 @@
<form name="associate_email_form" method="post" action="associate.php" onSubmit="return validateForm(this);">
<input type="hidden" name="cat" value="associate">
<input type="hidden" name="issue_id" value="{$smarty.get.issue_id}">
- {section name="i" loop=$emails}
- <input type="hidden" name="item[]" value="{$emails[i]}">
+ {section name="i" loop=$smarty.get.item}
+ <input type="hidden" name="item[]" value="{$smarty.get.item[i]}">
{/section}
<table class="bordered medium left">
<tr class="title">
I'd appreciate a beginners' guide to pull-requests and other functions of github if there is such...
from eventum.
https://www.google.ee/search?q=github+pull+requests
from eventum.
also, diff -u
is more readable
from eventum.
Related Issues (20)
- LDAP login failing on 3.10.X HOT 10
- summary export is broken
- Updating Email Accounts passwords resets Auto-Creation of Issues HOT 2
- Eventum includes <style>CSS</style> if an incoming email is HTML
- Uncaught PHP Exception Error HOT 2
- Responsible disclosure policy HOT 6
- fresh installation. cannot access administration tab HOT 1
- Email download error HOT 10
- Convert five variable assignments to the usage of combined operators
- Quotes in html emails are not indented HOT 3
- Support Google IMAP OAUTH or Microsoft Graph API to fetch emails HOT 4
- Bad link in Eventum organization HOT 1
- /manage/projects.php - error HOT 5
- nothing issue HOT 1
- Incorrect links HOT 2
- NotFound error. HOT 1
- Exporting attachments from the DB into files HOT 2
- Improve installation guide HOT 2
- Cleanup script to remove orphaned issue_attachment_file, issue_attachment_file_path, attachment_path, attachment_chunk HOT 1
- [BUG] Sphinx Full text search on php8.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eventum.