diff options
| author | Michael Wilson | 2014-08-05 15:15:58 +0200 |
|---|---|---|
| committer | Michael Wilson | 2014-08-05 15:15:58 +0200 |
| commit | 5f900f453de734cfc97865d623b02ad68b530030 (patch) | |
| tree | 402ce60bf0ce568b46b50bbc488c6ffd67fcae85 | |
| parent | build date changed (diff) | |
| download | tutor-module-5f900f453de734cfc97865d623b02ad68b530030.tar.gz tutor-module-5f900f453de734cfc97865d623b02ad68b530030.tar.xz tutor-module-5f900f453de734cfc97865d623b02ad68b530030.zip | |
Fehler behoben, bei dem XMLs das falsche OS eingetragen bekommen
| -rw-r--r-- | Dozentenmodulserver/bin/util/XMLCreator.class | bin | 7558 -> 7561 bytes | |||
| -rw-r--r-- | Dozentenmodulserver/src/util/XMLCreator.java | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Dozentenmodulserver/bin/util/XMLCreator.class b/Dozentenmodulserver/bin/util/XMLCreator.class Binary files differindex 0c9c6d45..6d7673fb 100644 --- a/Dozentenmodulserver/bin/util/XMLCreator.class +++ b/Dozentenmodulserver/bin/util/XMLCreator.class diff --git a/Dozentenmodulserver/src/util/XMLCreator.java b/Dozentenmodulserver/src/util/XMLCreator.java index 564543fa..e900be94 100644 --- a/Dozentenmodulserver/src/util/XMLCreator.java +++ b/Dozentenmodulserver/src/util/XMLCreator.java @@ -46,7 +46,7 @@ public class XMLCreator { // phone param not existing - private String query = "SELECT m_VLData_imageInfo.image_path ,vorname, nachname, mail, shortdescription, description, m_operatingSystem.name as os, m_VLData_lecture.admin_changeTime as time, m_VLData_lecture.name as lectureName, m_user.institution as userInstitution, m_user.loginName as loginName, m_institution.name as institutionName " + private String query = "SELECT m_VLData_imageInfo.image_path ,vorname, nachname, mail, shortdescription, description, m_operatingSystem.guestOS as os, m_VLData_lecture.admin_changeTime as time, m_VLData_lecture.name as lectureName, m_user.institution as userInstitution, m_user.loginName as loginName, m_institution.name as institutionName " + "FROM bwLehrpool.m_VLData_lecture, bwLehrpool.m_VLData_imageInfo, bwLehrpool.m_user, bwLehrpool.m_operatingSystem, bwLehrpool.m_institution " + "WHERE m_user.userID = m_VLData_lecture.admin_owner " + "AND m_VLData_imageInfo.GUID_imageID = m_VLData_lecture.imageID " @@ -127,13 +127,13 @@ public class XMLCreator { entry.appendChild(prio); prio.setAttribute("param", "0"); - Comment fComment = doc.createComment("Diesen Abschnitt ergänzen"); + Comment fComment = doc.createComment("Diesen Abschnitt erg�nzen"); entry.appendChild(fComment); Element imgName = doc.createElement("image_name"); entry.appendChild(imgName); imageName = rs.getString("image_path").substring( - rs.getString("image_path").lastIndexOf("/")+1); //+1 um das führende "/" los zu werden + rs.getString("image_path").lastIndexOf("/")+1); //+1 um das f�hrende "/" los zu werden imgName.setAttribute("param", imageName); @@ -165,7 +165,7 @@ public class XMLCreator { entry.appendChild(os); os.setAttribute("param", rs.getString("os")); - Comment sComment = doc.createComment("Diesen Abschnitt ergänzen"); + Comment sComment = doc.createComment("Diesen Abschnitt erg�nzen"); entry.appendChild(sComment); // static content following - second part of xml descriptor |
