muxa1l / redmine-net-api Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/redmine-net-api
Automatically exported from code.google.com/p/redmine-net-api
What steps will reproduce the problem?
1.Use my code
2.Have an issue which has a parent
3. Use Redmine 1.4.1
What is the expected output? What do you see instead?
ParentIssueId is supposed to return the parent's id. Instead the result is 0
What version of the product are you using? On what operating system?
Redmine 1.4.1, OS Windows 7. API 0.6
Please provide any additional information below.
var objectParameters = new NameValueCollection { { "include", "relations" }, {
"include", "children" } };
var issue2 = manager.GetObject<Issue>("4011", objectParameters);
The issue 4011 *does* have a parent issue. But the ParentIssueId shows 0.
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 9:55
What steps will reproduce the problem?
1. Use the api on a system with CurrentCulture set to "de-DE"
2. Load an Issue which has estimated_hours=3.5
What is the expected output? What do you see instead?
When i inspet the loaded issue i expect to see EstimatedHours=3.5 but insted
it's set to EstimatedHours=35
What version of the product are you using? On what operating system?
API Version 0.8 on a german Win7
Please provide any additional information below.
The error is in your XmlReader/XmlWriter extension methods where you parse a
string value.
You're using the default string conversion which uses the System's
CurrentCulture.
But when working with xml fou have to use the InvariantCulture.
Possible solutions:
Change the parsing in every "ReadElementContentAsNullable..." from:
!float.TryParse(str, out result)
to:
!float.TryParse(str, System.Globalization.NumberStyles.Any,
System.Globalization.NumberFormatInfo.InvariantInfo, out result)
And in WriteIfNotDefaultOrNull you have to change the line from:
writer.WriteElementString(tag, val.Value.ToString());
to:
writer.WriteElementString(tag,
string.Format(System.Globalization.NumberFormatInfo.InvariantInfo, "{0}",
val.Value));
Original issue reported on code.google.com by [email protected]
on 16 Jan 2013 at 1:02
What steps will reproduce the problem?
Try to commit a time-entry to a Redmine version 2.2.3 or 2.3
The server responses 'TimeEntry has invalid or missing attribute parameters:
Date can't be blank'
What is the expected output? What do you see instead?
Time should be committed, but we get the error.
What version of the product are you using? On what operating system?
Revision 117
Please provide any additional information below.
It can be fixed to provide the fixed date-format as used in issues.
See the patch ("yyyy-MM-dd").
Original issue reported on code.google.com by [email protected]
on 17 Apr 2013 at 8:55
Attachments:
What steps will reproduce the problem?
Request current user using parameters (e.g. include = memberships);
The memberships of the user will be not be requested; and thus not returned.
What version of the product are you using? On what operating system?
r120
Please provide any additional information below.
The attached patch will solve this.
Original issue reported on code.google.com by [email protected]
on 17 Jun 2013 at 3:02
Attachments:
What steps will reproduce the problem?
1. following code
IList<Upload> upload = new List<Upload>();
Upload newatt = new Upload();
newatt.FileName = this.listBox1.SelectedItem.ToString();
newatt.ContentType = "image/jpg";
Issue updtaissue = (Issue)this.listBox2.SelectedItem;
updtaissue.EstimatedHours = 0;
upload.Add(newatt);
updtaissue.Uploads = upload;
this.rm.UpdateObject<Issue>(updtaissue.Id.ToString(), updtaissue);
What is the expected output? What do you see instead?
image should be attached to issue.
update of issue is OK.
What version of the product are you using? On what operating system?
redmine 1.4.4 and .net api 0.5
Win7 for upload client
.NET4.0 C#
Please provide any additional information below.
If this is the wrong place for such a question Iam sorry -couldnt find a blog
or something else.
thx
mario
Original issue reported on code.google.com by [email protected]
on 17 Jul 2012 at 7:04
I am not good at English. sory
What steps will reproduce the problem?
1.When Redmine.Net.Api is used and version information is acquired, "name" is
acquired in the null.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
CentOS6+redmine2.0.1
api:0.0.4
Please provide any additional information below.
It seems that there is no code which acquires name in 「versions.cs」
Original issue reported on code.google.com by [email protected]
on 8 Jun 2012 at 1:52
I want to add a note to an issue but cant find any functionality for that.
In the redmine api it is described here:
http://www.redmine.org/projects/redmine/wiki/Rest_Issues#Updating-an-issue
See "notes": "blabla"
It seems that in your api you are using the datatype ChangeSet for accessing
this notes but i couldnt find a way to write new.
Easiest way of implementation i can think of is to put a note attribute to
Issue type and initialize it as null.
Only if set and an update operation is done, it is included in the xml.
Original issue reported on code.google.com by [email protected]
on 8 Jan 2013 at 10:16
The XmlWriter in CustomIssues.cs is not building the xml correctly for multiple
entries.
expected output:
<custom_fields type="array">
<custom_field id="11">
<value type="array">
<value>Guides électroniques</value>
<value>Portails régionaux</value>
</value>
</custom_field>
</custom_fields>
Actual XML
<custom_fields type="array">
<custom_field id="11">
<value>Guides électroniques</value>
</custom_field>
<custom_field id="11">
<value>Portails régionaux</value>
</custom_field>
</custom_fields>
.NET API Version 0.6
Redmine 2.1.0 Bitnami stack on Windows server 2003
Windows 2003 server, Visual Studio 2008 for the .NET API
I wrote the code as follow:
public string[] Value { get; set; }
public override void WriteXml(XmlWriter writer)
{
if (Value != null && Value.Length > 1)
{
writer.WriteAttributeString("id", Id.ToString(CultureInfo.InvariantCulture));
writer.WriteStartElement("value");
writer.WriteAttributeString("type", "array");
foreach (var v in Value)
{
writer.WriteElementString("value", v);
}
writer.WriteEndElement();
}
else if (Value != null && Value.Length = 1)
{
writer.WriteAttributeString("id", Id.ToString(CultureInfo.InvariantCulture));
writer.WriteElementString("value", Value[0]);
}
}
Original issue reported on code.google.com by [email protected]
on 28 Sep 2012 at 5:14
What steps will reproduce the problem?
1. Create a project setup, where the project tracker has a multi value custom
field.
2. Use the Redmine.Net api to query the projects issues.
3. Exception is thrown.
What is the expected output? What do you see instead?
The issue list should be returned, instead an exception is thrown.
What version of the product are you using? On what operating system?
Current version of redmine-net-api, redmine runs in version Redmine
1.4.2.stable.9693 (MySQL).
I found a way around it, but as I am not very used to the library, I don't
think its the optimal solution. I changed the method ReadXml in CustomField.cs
to following:
http://pastebin.com/u35GnrhN
I think it should be possible to check for the "multivalue" property of the
custom field and either use ReadElementString (normal custom field) or
ReadElementContentAsString (multi value custom field), but I am not really sure
about the implications of that change.
For my scenario, my solution works.
Hope I could help.
greetings, tom
Original issue reported on code.google.com by atombrot
on 25 Jul 2012 at 7:05
What steps will reproduce the problem?
1. Get issue with journals
2. Access issue.Journals property
What is the expected output? What do you see instead?
Expected List<Journal>, null instead.
What version of the product are you using? On what operating system?
Latest.
Solution:
Add line to Issue.cs
case "journals": Journals = reader.ReadElementContentAsCollection<Journal>();
break;
Original issue reported on code.google.com by [email protected]
on 9 May 2012 at 1:25
What steps will reproduce the problem?
Request the time-entries for an issue.
The returned XML will look something like:
<time_entries type="array" total_count="1" limit="25"
offset="0"><time_entry><id>114</id><project name="Gandalf" id="1"/><issue
id="122"/><user name="User" id="5"/><activity name="Development"
id="9"/><hours>8.0</hours><comments></comments><spent_on>2013-02-08</spent_on><c
reated_on>2013-02-07T09:15:56+00:00</created_on><updated_on>2013-02-07T12:15:58+
00:00</updated_on></time_entry></time_entries>
While parsing the xml, the user property, the activity property and the project
property are not parsed into the object.
The problem lies in the switch for reading the xml. It expects the elements
user_id, activity_id, and project_id.
When changing/adding the strings user, activity and project to the switch, the
parsing is done correctly.
What is the expected output?
All properties are filled
What do you see instead?
all properties with an IdentifiableName are null.
What version of the product are you using? On what operating system?
Latest version (r114)
Attached you will find a possible fix, but maybe it can be done cleaner :)
Thanks,
Bas
Original issue reported on code.google.com by [email protected]
on 11 Feb 2013 at 3:08
Attachments:
Hi:
I am using the latest trunk version of this library (r57), and have found a
couple of bugs in the Attachment, Detail and User objects.
In Attachment.cs, the ContentUrl parameter was not being read, and needed to be
explicitly read in.
The StatusId parameter in the Detail object should read the name attribute, not
the status_id attribute (see
http://www.redmine.org/projects/redmine/wiki/Rest_IssueJournals)
AuthenticationModeId for a User should be set to null if the default
authentication mode is used.
A patch that includes these updates is attached.
- Jason
Original issue reported on code.google.com by [email protected]
on 5 Sep 2012 at 12:53
Attachments:
Use new Enumerations API in Redmine V2.2 to retrieve activities and priorities.
Original issue reported on code.google.com by [email protected]
on 12 Dec 2012 at 8:41
What steps will reproduce the problem?
1.get IssueDetail
2.get time entry
3.Now in TimeEntry List Issue and Project are null so can't determine time
spent on specific issue
What is the expected output? What do you see instead?
Issue should have issue id atleast
What version of the product are you using? On what operating system?
0.9
Please provide any additional information below.
I got stuck with this issue from past 2 days please help me out
Thanks in Advance
Original issue reported on code.google.com by [email protected]
on 10 Apr 2013 at 10:39
What steps will reproduce the problem?
1.Use the API 0.6
2.Have redmine with at least 25 issues
3. Run my code below
What is the expected output? What do you see instead?
A list limited to 25 issues. A message error at the foreach loop
"There is an error in XML document (131, 3645)."
I tried to set the limit to 200, 25, (In my Setting the limit is set to 200,500
. I triend both, nothing works.
What version of the product are you using? On what operating system?
Redmine 1.4.1 , The API rev . 99
Please provide any additional information below.
*The code*
private static void Main(string[] args)
{
string hostID = ConfigurationSettings.AppSettings["hostID"];
string username = ConfigurationSettings.AppSettings["Username"];
string password = ConfigurationSettings.AppSettings["Password"];
var manager = new RedmineManager(hostID, username, password);
var parameters = new NameValueCollection { { "status_id", "*" }, { "limit", "25" }};
//parameters.Add("limit", "200");
foreach (Issue issue in manager.GetObjectList<Issue>(parameters))
{
Console.WriteLine("Name:{0}---- Date Created:{1}", issue.Author.Name, issue.CreatedOn);
Original issue reported on code.google.com by [email protected]
on 1 Nov 2012 at 3:21
What steps will reproduce the problem?
1. Create a TimeEntry
The serialization of the TimeEntry type does not properly set the format of the
field "spent_on" to a yyyy-MM-dd format, which causes the Redmine server to
return an error.
In TimeEntry -> WriteXml(XmlWriter writer), replace
writer.WriteElementString("spent_on",
SpentOn.Value.ToString(CultureInfo.InvariantCulture));
with
writer.WriteElementString("spent_on", SpentOn.Value.ToString("yyyy-MM-dd",
CultureInfo.InvariantCulture));
Thank you for your time,
Original issue reported on code.google.com by [email protected]
on 16 Apr 2013 at 5:57
What steps will reproduce the problem?
Request an issue (with children) as follows:
{
NameValueCollection issueParameters = new NameValueCollection { { "include",
"children" } };
currentIssue = redmineManager.GetObject<Issue>(issueId, issueParameters);
}
The returned XML in the GetObject function is something like:
<?xml version="1.0" encoding="UTF-8"?><issue><id>259</id><project
name="Redmine" id="4"/><tracker name="Bug" id="1"/><status name="New"
id="1"/><priority name="Normal" id="4"/><author name="User 12"
id="12"/><assigned_to name="User 4" id="4"/><fixed_version name="V9"
id="22"/><subject>We have a problem</subject><description>A problem has
occurred</description><start_date>2013-01-22</start_date><due_date></due_date><d
one_ratio>0</done_ratio><estimated_hours></estimated_hours><spent_hours>0.0</spe
nt_hours><created_on>2013-01-17T11:16:23+00:00</created_on><updated_on>2013-01-2
2T13:15:37+00:00</updated_on><children type="array"><issue id="266"><tracker
name="Bug" id="1"/><subject>This is a
subproblem</subject></issue></children></issue>
There is no property in the Issue object to store the children.
What version of the product are you using? On what operating system?
Tested with redmine 1.4 && Api 0.9 (r114)
Attached you will find a patch to add the object IssueChild and the property
Children to the issue.
Original issue reported on code.google.com by [email protected]
on 14 Feb 2013 at 1:43
Attachments:
I've tested with only Redmine ver. 2.2.2. maybe something changed in 2.2.3 I
don't know. but it helped me and now version can be saved. Check this, please.
Thank you!
Original issue reported on code.google.com by [email protected]
on 18 Mar 2013 at 10:20
Attachments:
First of all, thank you so much for this project.
I´m using checkout version (HEAD).
I´m trying to retrieve a full project tree. In my case it are more than 200
projects.
How can I know the total number and how to retrieve full list?
Like RespAPI says, only 100 results can be retrieved by request.
mycode:
var parameters = new NameValueCollection { { "limit", "9999" } };
this.projects = manager.GetObjectList<Project>(parameters);
foreach (var project in this.projects)
{
// print projects in a tree
}
Thanks!
Original issue reported on code.google.com by [email protected]
on 29 Jun 2012 at 11:11
When creating a new object using RedmineManager.CreateObject, it's useful to
return the object that was created by Redmine in the single call (for example
to get the ID of the new issue that was created).
I have created a patch to the RedmineManager.cs file (attached) that does
exactly that, and would appreciate it being added to the project.
Cheers,
- Jason
Original issue reported on code.google.com by [email protected]
on 5 Sep 2012 at 1:00
Attachments:
What steps will reproduce the problem?
1. Download a release
2. Open the zip
3. Note the missing documentation
What is the expected output? What do you see instead?
I realize this is far from done, but I would nevertheless suggest that you
provide reference documentation + a 5 minute tutorial with the next release.
Otherwise people are unlikely to use this.
What version of the product are you using? On what operating system?
0.3
Original issue reported on code.google.com by [email protected]
on 18 Apr 2012 at 8:16
What steps will reproduce the problem?
Try to clone an issue and compare the clone with the original, the equals
returns false, but you would expect true.
What version of the product are you using? On what operating system?
Revision 117.
Please provide any additional information below.
Just add the copy of those fields to the clone, like the attached patch.
Original issue reported on code.google.com by [email protected]
on 16 Apr 2013 at 11:59
Attachments:
NameValueCollection parameters = new NameValueCollection { { "include", "relations" } };
Issue issue_with_relations = s_redmine_manager.GetObject<Issue>(issue.Id.ToString(), parameters);
What is the expected output? What do you see instead?
I should get an Issue with Relations populated. I get the correct number of
relations, but the content is all blank.
What version of the product are you using? On what operating system?
0.1.0.7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Dec 2012 at 2:26
What steps will reproduce the problem?
1. New VS2010 project with .NET 3.5 target profile
2. Add "Redmine.Net.Api" reference
3. Build solution
What is the expected output? What do you see instead?
Many build errors
What version of the product are you using? On what operating system?
0.5
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2012 at 1:25
What steps will reproduce the problem?
1.Query a time entry
2.
3.
What is the expected output? What do you see instead?
Need the hours and the user name of the time entry.
What version of the product are you using? On what operating system?
0.1
Please provide any additional information below.
<?xml version="1.0" encoding="UTF-8" ?>
<time_entries type="array" offset="0" total_count="1" limit="100">
<time_entry>
<id>491</id>
<project name="MyProject" id="57" />
<issue id="681" />
<user name="MyUser" id="99" />
<activity name="My Activity" id="17" />
<hours>8.0</hours>
<comments />
<spent_on>2012-01-30</spent_on>
<created_on>2012-01-30T18:29:35-05:00</created_on>
<updated_on>2012-01-30T18:29:35-05:00</updated_on>
</time_entry>
</time_entries>
Original issue reported on code.google.com by [email protected]
on 31 Jan 2012 at 5:30
What steps will reproduce the problem?
1. Enter a Description with unicode (for example swedish characters åäö)
2. Submit through redmine-net-api and the characters turns into ?
What is the expected output? What do you see instead?
I would expect the utf-8 encoded characters
Suggested fix
Add the following to line 247 in RedmineManager.cs:
webClient.Encoding = System.Text.Encoding.UTF8;
Original issue reported on code.google.com by [email protected]
on 13 Feb 2012 at 2:42
1. Get user name and password from user.
2. Get objectlist of users not getting password field.
3. How to check whether valid user or not in redmine.
Please help me out .
Thanks in advance.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 4:55
What steps will reproduce the problem?
In the Redmine Desktop Client project I use the function
_ReadElementContentAsCollection_ also for reading a file I use to store the
enums in the following format:
<Activities><IdentifiableName id="8" name="Design" /><IdentifiableName id="9"
name="Dev" /></Activities>
When passing this string to the function:
string fileName = Application.StartupPath + "\\" + listName + ".xml";
FileStream f = File.OpenRead(fileName);
using (var xmlReader = new XmlTextReader(f))
{
xmlReader.WhitespaceHandling = WhitespaceHandling.None;
xmlReader.Read();
return xmlReader.ReadElementContentAsCollection<IdentifiableName>();
}
It misses every second item in the list.
It appears the _read()_ in this function skips the next item if it is an empty
element.
So I've updated the function to only do a _read()_ when the element is not
empty.
Attached you find a patch.
What version of the product are you using? On what operating system?
I'm currently using revision 110 of the trunk.
Original issue reported on code.google.com by [email protected]
on 4 Feb 2013 at 1:26
Attachments:
I would like one call to get all objects from the API, so I implemented a
GetTotalObjectList function to retrieve this.
I added the diff for the manager to retrieve all pages with objects.
Maybe this could be incorporated in the API?
Original issue reported on code.google.com by [email protected]
on 30 Aug 2012 at 2:58
Attachments:
In journal.cs there is:
[XmlAttribute("name")]
public int StatusId { get; set; }
Name is string and is't parsed elsewhere.
Original issue reported on code.google.com by [email protected]
on 3 Jun 2012 at 11:58
What steps will reproduce the problem?
1.Create a new project in Visual Studio 2010
2.include the assembly
3.Rebuild Project
What is the expected output? What do you see instead?
Expected: No Error or Warnings
Result:
following Warning:
'The primary reference "Redmine.Net.Api" could not be resolved because it was
built against the ".NETFramework,Version=v4.0.3" framework. This is a higher
version than the currently targeted framework
".NETFramework,Version=v4.0,Profile=Client".'
And a error when execute.
Error is with all DLL's
What version of the product are you using? On what operating system?
Windows 8 Desktop. 0.6 of the api
Original issue reported on code.google.com by [email protected]
on 5 Oct 2012 at 10:44
Hello,
I am trying to port the old redmine client to use this API.
I got it all working except for retrieving the issue-list.
When retrieving the issue-list from redmine it stops parsing the received xml
with the exception 'root element is missing'.
The received XML:
<?xml version="1.0" encoding="UTF-8"?>
<issues type="array" total_count="17" limit="25" offset="0">
<issue>
<id>53</id>
<project name="Project" id="4"/>
<tracker name="Bug" id="1"/>
...
</issue>
</issues>
As you can see the xml is formatted with whitespaces.
The other xml's (for example projects) look like this:
<?xml version="1.0" encoding="UTF-8"?><projects type="array" total_count="5"
limit="25"
offset="0"><project><id>4</id><name>Project</name><identifier>pj</identifier><de
scription>The Great Project</description>...</project></projects>
As you can see, without whitespaces.
To make this work I added the attached line to the settings of the xmlreader.
I this can be updated.
Kind Regards!
Bas
Original issue reported on code.google.com by [email protected]
on 19 Jul 2012 at 1:03
Attachments:
[deleted issue]
What steps will reproduce the problem?
1. Start new Project for Metro Style App in Visual Studio 2012 RC for Windows 8
2. Add Reference to Redmine.Net.Api.dll
What is the expected output? What do you see instead?
Should add .dll to the Project. Error Message: The Project is using 'NETCore'
while the Reference is using '.NETFramework'. This Scenario is not supported.
What version of the product are you using? On what operating system?
redmine.net.api v0.5 on Windows 8 Release Preview build 8400 with Microsoft
Visual Studio Express 2012 RC for Windows 8.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2012 at 1:26
When Creating or updating Projects, the API does not update the custom fields
present in the project.
This happens because the project does not serialize the custom fields. Added
the following code to correct
public override void WriteXml(XmlWriter writer)
{
...
if (CustomFields != null)
{
writer.WriteStartElement("custom_fields");
writer.WriteAttributeString("type", "array");
foreach (var cf in CustomFields)
{
new XmlSerializer(cf.GetType()).Serialize(writer, cf);
}
writer.WriteEndElement();
}
}
Original issue reported on code.google.com by [email protected]
on 16 May 2013 at 6:54
Attachments:
What steps will reproduce the problem?
1. Query an issue where there is a version
2.
3.
What is the expected output? What do you see instead?
Have access to the version
What version of the product are you using? On what operating system?
0.1
Please provide any additional information below.
<?xml version="1.0" encoding="UTF-8"?>
<issues type="array" offset="0" total_count="1" limit="100">
<issue>
<id>681</id>
<project name="MyProject" id="57"/>
<tracker name="MyTracker" id="5"/>
<status name="Assigned" id="2"/>
<priority name="High" id="5"/>
<author name="MyAuthor" id="13"/>
<assigned_to name="MyUser" id="99"/>
<category name="MyCat" id="47"/>
<fixed_version name="21.1" id="68"/>
<subject>MySubject</subject>
<description></description>
<start_date>2012-01-27</start_date>
<due_date>2012-02-01</due_date>
<done_ratio>0</done_ratio>
<estimated_hours></estimated_hours>
<custom_fields type="array">
<custom_field name="Attr1" id="10"><value>000000</value></custom_field>
<custom_field name="Attr2" id="11"><value>00-000</value></custom_field>
<created_on>2012-01-27T16:48:39-05:00</created_on>
<updated_on>2012-01-27T19:15:37-05:00</updated_on>
</issue>
</issues>
Original issue reported on code.google.com by [email protected]
on 31 Jan 2012 at 5:46
What steps will reproduce the problem?
1. Create an issue with a version
You should (logically) get a version in your issue, but the version is not set
I am using the redmine-api.net v 0.9 with Redmine-2.3.0-stable with thin 1.3.1
on windows 7 64 bits
I noted that a similar problem happens during a project creation. If the
project is a subproject of another, the create function does not set it
properly. However, the update function updates the project correctly.
Thank you for your time.
Original issue reported on code.google.com by [email protected]
on 12 Apr 2013 at 8:01
What steps will reproduce the problem?
1. Fetch an issue with a custom field.
2.
3.
What is the expected output? What do you see instead?
Get the field but I get an exception
What version of the product are you using? On what operating system?
Windows vista. The version is 0.1.
Please provide any additional information below.
In CustomField.cs at line 38, changing Value =
reader.ReadElementContentAsString();
to Value = reader.ReadElementString(); fixes the problem in my case.
Original issue reported on code.google.com by [email protected]
on 14 Dec 2011 at 2:53
My project has a number of issues with images attached to the description
field. When I use the API to try to get the information about the Attachment
using Issue.Attachments, I always get null returned, even although I know the
issue has attachments.
I am using a code checkout from 25-Nov-2012:
http://redmine-net-api.googlecode.com/svn/trunk?P=105
and I am compiling on Windows 7.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2012 at 11:41
I try to update a version with the following C# code (see attached file).
I get an error from Redmine, that the Version name is already used.
I then analyzed the TCP/IP logging and saw, that redmine-net-api tries to
update the object by using the POST method?
I think, PUT must be used... am I right?
It would be great, to have a solution for this!
Kind regards,
Andreas
Original issue reported on code.google.com by [email protected]
on 7 Jan 2013 at 2:32
Attachments:
What steps will reproduce the problem?
1. Create a new instance of RedmineManager with Redmine administrator apiKey
2. Create new Issue and send to the Redmine by CreateObject method
3. There is no way how to add 'X-Redmine-Switch-User' into message header
What is the expected output? What do you see instead?
Expected is a new Issue with the same author name as name in the parameter
'X-Redmine-Switch-User'.
Now author name is administrator name.
What version of the product are you using? On what operating system?
Redmine ver. 2.3.1 and Redmine .NET API ver. 0.9
Change method type in CreateWebClient and CreateUploadWebClient from protected
to protected virtual could be enough to solve this problem.
Original issue reported on code.google.com by [email protected]
on 10 Jun 2013 at 8:27
It seems that adding an attachment description is not documented in the
official redmine rest api wiki but is working.
I created an issue in redmine ( http://www.redmine.org/issues/12773 ) and hope
it will get added to the official documentation.
For this api i created a patch which will add the possibility to create
descriptions to uploads.
Original issue reported on code.google.com by [email protected]
on 8 Jan 2013 at 3:31
Attachments:
What are the steps to get List of issue priorities and time tracking activities
from Enumeration i won't be able to get it till now stuck with this more than a
week.
Please help me.
any help is highly appreciable.
Original issue reported on code.google.com by [email protected]
on 15 Apr 2013 at 4:58
What steps will reproduce the problem?
1. Config redmine using https and other port(not 80)
2. Create RedmineManager Object
What is the expected output? What do you see instead?
I want to get projects list but it throws exception "The underlying connection
was closed: Could not establish trust relationship for the SSL/TLS secure
channel."
What version of the product are you using? On what operating system?
Lastest dll and Windows 7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 13 Jun 2013 at 10:14
I have a Project with versión 0.6 and I try to update to 0.7
My problem is that I have "Redmine.Net.Api 0.6 .NET 4.0 Client Profile" added
to my c# reference and "Redmine.Net.Api" in the exe path. It worked ok.
How can I use the new Redmine.Net.Api 0.7? Are you planning to upload the
client profile for versión 0.7. Or there is any other way to get it working?
Thank you for your great work!.
Original issue reported on code.google.com by [email protected]
on 2 Dec 2012 at 8:26
What steps will reproduce the problem?
1. Request a project with issue categories with parameters
"include=issue_categories"
2. There will be one empty item in the IssueCategory list.
What is the expected output? What do you see instead?
The IssueCategory list is filled with the IssueCategories
What version of the product are you using? On what operating system?
Redmine 1.4.2 Ubuntu
Please provide any additional information below.
The categories are formatted the same as the trackers.
See attached patch for a possible fix.
Original issue reported on code.google.com by [email protected]
on 25 Mar 2013 at 9:40
Attachments:
What steps will reproduce the problem?
1. Create new issue with an empty multiple custom field.
2. Get the issue with GetObject<Issue>().
3. Update the issue with UpdateObject<Issue>().
What is the expected output? What do you see instead?
The steps above causes Internal Server Error on Redmine and the issue is not
updated at all.
I expect that the issue should be updated as specified including the empty
custom field.
What version of the product are you using? On what operating system?
As of r99, I have this problem.
Please provide any additional information below.
Here is my workaround. Please check it out.
--- CustomField.cs-revBASE.svn001.tmp.cs
+++ CustomField.cs
@@ -63,7 +63,6 @@
if (Values != null)
{
var itemsCount = Values.Count;
- if (itemsCount == 0) return;
writer.WriteAttributeString("id", Id.ToString(CultureInfo.InvariantCulture));
if (itemsCount > 1)
@@ -77,7 +76,7 @@
}
else
{
- writer.WriteElementString("value", Values[0].Info);
+ writer.WriteElementString("value", itemsCount > 0 ?
Values[0].Info : null);
}
}
}
Original issue reported on code.google.com by [email protected]
on 30 Oct 2012 at 4:15
What steps will reproduce the problem?
1.Get an Issue
2.Change FixedVersion and Subject property
3.Use UpdateObject Command
What is the expected output?
Changing of FixedVersion and Subject property
What do you see instead?
Change of title and FixedVersion is unchanged
What version of the product are you using? On what operating system?
Trunk 18.01.13 - Win 7 64 bit prof
Please provide any additional information below.
See attachments: sourcecode and fiddler-screenshot
Fiddler shows no xmltag for FixedVersion.
Original issue reported on code.google.com by [email protected]
on 18 Jan 2013 at 1:53
Attachments:
The following code creates a project on the top level. Not as a subproject of
the specified parent:
RedmineManager mgr = new RedmineManager(redmineHost, apiAccessKey);
var project = new Project { Name = "Test Project", Identifier = "test-project"
};
project.Parent = new IdentifiableName { Id = 35 };
mgr.CreateObject(project);
Original issue reported on code.google.com by [email protected]
on 23 Feb 2012 at 4:19
Hi, first of all thanks for this work.
I am trying to create a simple project with the following code:
RedmineManager mgr = new RedmineManager(redmineHost, apiAccessKey);
Project project = new Project();
project.Name = "Test Project";
project.Identifier = "test-project";
mgr.CreateObject(project);
and I'm getting "The remote server returned an error: (422) Unprocessable
Entity."
Listing and creating issues seem to work.
Any ideas?
Original issue reported on code.google.com by [email protected]
on 21 Feb 2012 at 12:29
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.