|
|
|
`WORK IN PROGRESS`
|
|
|
|
## Summary
|
|
|
|
|
|
|
|
All tests were made in the course [SharingImportExportTesting](https://artemis.codeability.uibk.ac.at/course-management/156).
|
|
|
|
|
|
|
|
Content:
|
|
|
|
1. [Language/Project independent errors](#languageproject-independent-errors)
|
|
|
|
2. [C exercises](#c-exercises-fact-and-gcc)
|
|
|
|
3. [Java exercises](#java-exercises-maven-and-gradle)
|
|
|
|
4. [Python exercises](#python-exercises)
|
|
|
|
5. [Other interesting bugs](#other-interesting-bugs)
|
|
|
|
|
|
|
|
#### Bug Summary
|
|
|
|
|
|
|
|
- When importing exercises to Artemis **that were previously exported**, `Programming Language`, `Project Type` and `Package` can not be selected.
|
|
|
|
- GCC exercises have `FACT` selected by default
|
|
|
|
- FACT, Maven and Gradle have the correct default settings
|
|
|
|
|
|
|
|
- The import of other exercises of Sharing is quite broken for different reasons.
|
|
|
|
|
|
|
|
- Clicking `More ...` in Sharing Search always throws errors.
|
|
|
|
|
|
|
|
- Clicking `Export to Sharing` always throws warnings in `sharing_search` container that it is unable to delete temporary files.
|
|
|
|
|
|
|
|
|
|
|
|
#### Open Questions
|
|
|
|
- How can a user delete his own uploaded exercise?
|
|
|
|
|
|
|
|
## Testing Export/Import with different languages
|
|
|
|
|
|
|
|
### Language/Project independent errors
|
|
|
|
|
|
|
|
The logs of the container `sharing_search` show the following warnings with every export:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
When clicking `more` on the newly created sharing exercises (exported from Artemis)
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
the follow error log occurs:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
Other exercises (not created of Artemis export) like [this](https://search.sharing-codeability.uibk.ac.at/item/%5B105%5Dintroduction/convert_minutes) throw larger errors and there gitlab is not available:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
### C exercises (FACT and GCC)
|
|
|
|
|
|
|
|
Exporting and importing the newly created C FACT exercise in Artemis works without errors.
|
|
|
|
|
|
|
|
Exporting a C GCC exercise works fine, but importing the newly created C GCC exercise in Artemis does not allow to choose GCC instead of FACT and throws the following error:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
Importing other C exercises is not possible, because the default language is always set to `Java` with `Gradle` and it's not possible to change this.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
### Java exercises (Maven and Gradle)
|
|
|
|
|
|
|
|
The export of a `Java Maven` exercise works fine at first, also the import of the exported exercise selects `Maven` correctly.
|
|
|
|
|
|
|
|
But in Sharing search 2 exercises are shown instead of one:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
While one of the exercise has a normal internal identifier [132], the other exercise has this weird identifier also shown in the corresponding error logs:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
The export of a `Java Gradle` exercise works fine, but the Import throws the following error:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
### Python exercises
|
|
|
|
|
|
|
|
The export of a `Python` exercise works fine, also the import of the exported exercise selects `Python` correctly.
|
|
|
|
|
|
|
|
Testing the import of other python exercises was not possible, because no other python exercise had the format `artemis` needed to allow `Export to Artemis`.
|
|
|
|
|
|
|
|
## Other interesting bugs
|
|
|
|
|
|
|
|
Searching for python exercises throws a lot of warnings:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
This only seems to appear with python exercises. |
|
|
\ No newline at end of file |
|
|
|
`WORK IN PROGRESS`
|
|
|
|
|
|
|
|
## Summary
|
|
|
|
|
|
|
|
All tests were made in the course [SharingImportExportTesting](https://artemis.codeability.uibk.ac.at/course-management/156).
|
|
|
|
|
|
|
|
Content:
|
|
|
|
|
|
|
|
1. [Language/Project independent errors](#languageproject-independent-errors)
|
|
|
|
2. [C exercises](#c-exercises-fact-and-gcc)
|
|
|
|
3. [Java exercises](#java-exercises-maven-and-gradle)
|
|
|
|
4. [Python exercises](#python-exercises)
|
|
|
|
5. [Other interesting bugs](#other-interesting-bugs)
|
|
|
|
|
|
|
|
#### Bug Summary
|
|
|
|
|
|
|
|
- ~~When importing exercises to Artemis **that were previously exported**, `Programming Language`, `Project Type` and `Package` can not be selected.~~
|
|
|
|
- ~~GCC exercises have `FACT` selected by default~~
|
|
|
|
- ~~FACT, Maven and Gradle have the correct default settings~~
|
|
|
|
- ~~The import of other exercises of Sharing is quite broken for different reasons~~.
|
|
|
|
- ~~Clicking `More ...` in Sharing Search always throws errors.~~
|
|
|
|
- Clicking `Export to Sharing` always throws warnings in `sharing_search` container that it is unable to delete temporary files.
|
|
|
|
* **Das ist ein technisches Problem in Java**
|
|
|
|
|
|
|
|
#### Open Questions
|
|
|
|
|
|
|
|
- How can a user delete his own uploaded exercise?
|
|
|
|
* **In Gitlab löschen**
|
|
|
|
|
|
|
|
## Testing Export/Import with different languages
|
|
|
|
|
|
|
|
### Language/Project independent errors
|
|
|
|
|
|
|
|
The logs of the container `sharing_search` show the following warnings with every export:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
When clicking `more` on the newly created sharing exercises (exported from Artemis)
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
the follow error log occurs:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
Other exercises (not created of Artemis export) like [this](https://search.sharing-codeability.uibk.ac.at/item/%5B105%5Dintroduction/convert_minutes) throw larger errors and there gitlab is not available:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
### C exercises (FACT and GCC)
|
|
|
|
|
|
|
|
Exporting and importing the newly created C FACT exercise in Artemis works without errors.
|
|
|
|
|
|
|
|
Exporting a C GCC exercise works fine, but importing the newly created C GCC exercise in Artemis does not allow to choose GCC instead of FACT and throws the following error:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
Importing other C exercises is not possible, because the default language is always set to `Java` with `Gradle` and it's not possible to change this.
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
### Java exercises (Maven and Gradle)
|
|
|
|
|
|
|
|
The export of a `Java Maven` exercise works fine at first, also the import of the exported exercise selects `Maven` correctly.
|
|
|
|
|
|
|
|
But in Sharing search 2 exercises are shown instead of one:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
While one of the exercise has a normal internal identifier \[132\], the other exercise has this weird identifier also shown in the corresponding error logs:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
The export of a `Java Gradle` exercise works fine, but the Import throws the following error:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
### Python exercises
|
|
|
|
|
|
|
|
The export of a `Python` exercise works fine, also the import of the exported exercise selects `Python` correctly.
|
|
|
|
|
|
|
|
Testing the import of other python exercises was not possible, because no other python exercise had the format `artemis` needed to allow `Export to Artemis`.
|
|
|
|
|
|
|
|
## Other interesting bugs
|
|
|
|
|
|
|
|
Searching for python exercises throws a lot of warnings:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
This only seems to appear with python exercises.
|
|
|
|
|
|
|
|
**This is a problem with access rights. We should decrease log output to info or debug level.** |
|
|
\ No newline at end of file |