Revision 58954
Added by Konstantina Galouni almost 4 years ago
SubCategory.java | ||
---|---|---|
44 | 44 |
setName(defaultSubCategory.getName()); |
45 | 45 |
setAlias(defaultSubCategory.getAlias()); |
46 | 46 |
setDescription(defaultSubCategory.getDescription()); |
47 |
setIsActive(false);
|
|
48 |
setIsPublic(false);
|
|
47 |
setIsActive(defaultSubCategory.getIsActive());
|
|
48 |
setIsPublic(defaultSubCategory.getIsPublic());
|
|
49 | 49 |
setDefaultId(defaultSubCategory.getId()); |
50 | 50 |
setCharts(new ArrayList()); |
51 | 51 |
setNumbers(new ArrayList()); |
Also available in: Unified diff
[Trunk | Monitor Service]:
1. trunk/src/test/java/eu/dnetlib/uoamonitorservice: New folders for tests.
2. ExceptionsHandler.java: Replace "log.debug" with "log.error".
3. Stakeholder.java: Field 'description' and getter/ setter methods added.
4. Topic.java: Field 'icon' and getter/ setter methods added | In method "copyFromDefault()", set "isActive" and "isPublic" fields of new Topic same as the values from default Topic.
5. TopicController.java: In method "onUpdateDefaultTopic()", add update for icon.
6. Category.java & SubCategory.java & Indicator.java:
In method "copyFromDefault()", set "isActive" and "isPublic" fields of new Category/ SubCategory/ Indicator same as the values from default Category/ SubCategory/ Indicator.
7. IndicatorController.java:
a. [Bug fix] Add some null checks when updating number indicators.
b. In method "parameterMapping()" comment replacement of "index_id", "index_name", "index_shortName" in indicatorPath.url (number indicators only).