Skip to content

Commit 576fb39

Browse files
authored
Merge pull request #34 from ktor/master
Minor fixes, 602 release prep.
2 parents 8c437f1 + 5b5d663 commit 576fb39

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

README.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ They are probably not perfect, please let me know if anything feels wrong or inc
256256

257257
== Changelog
258258

259+
=== Version 7.3.602
260+
==== Features & bug fixes
261+
* fixed configuration related resource reading, library can read e.g. article files from caller bundle
262+
* article-structure-key and article-template-key article element attributes are required
263+
259264
=== Version 7.3.601
260265
==== Features & bug fixes
261266
* target Liferay Portal version is still minimum 7.3.6 (GA7)

pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
<email>ivan.g.ortolan@gmail.com</email>
449449
<url>https://github.com/ntrp</url>
450450
<organization>mimacom ag</organization>
451-
<organizationUrl>http://www.mimacom.com</organizationUrl>
451+
<organizationUrl>https://www.mimacom.com</organizationUrl>
452452
</developer>
453453
<developer>
454454
<id>piotrdiuk</id>
@@ -464,13 +464,19 @@
464464
<email>martin.ronky@gmail.com</email>
465465
<url>https://github.com/ronky</url>
466466
<organization>http://ronky.net</organization>
467-
<organizationUrl>http://ronky.net</organizationUrl>
467+
<organizationUrl>https://ronky.net</organizationUrl>
468+
</developer>
469+
<developer>
470+
<name>Milan Kuljovsky</name>
471+
<email>milan.kuljovsky@o2.sk</email>
472+
<organization>O2</organization>
473+
<organizationUrl>https://www.o2.sk</organizationUrl>
468474
</developer>
469475
<developer>
470476
<name>Silvio Meier</name>
471477
<email>silvio.meier@empa.ch</email>
472478
<organization>Empa</organization>
473-
<organizationUrl>http://www.empa.ch</organizationUrl>
479+
<organizationUrl>https://www.empa.ch</organizationUrl>
474480
</developer>
475481
</developers>
476482

src/main/java/com/ableneo/liferay/portal/setup/core/SetupRoles.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static void setupRoles(final List<com.ableneo.liferay.portal.setup.domain
3434
try {
3535
long companyId = SetupConfigurationThreadLocal.getRunInCompanyId();
3636
RoleLocalServiceUtil.getRole(companyId, role.getName());
37-
LOG.info(String.format("Setup: Role %1$s already exist, not creating...", role.getName()));
37+
LOG.info(String.format("Setup: Role %s already exists in company %s, not creating...", role.getName(), companyId));
3838
} catch (NoSuchRoleException | ObjectNotFoundException e) {
3939
addRole(role);
4040
} catch (SystemException | PortalException e) {
@@ -72,7 +72,7 @@ private static void addRole(final com.ableneo.liferay.portal.setup.domain.Role r
7272
null
7373
);
7474

75-
LOG.info(String.format("Setup: Role %1$s does not exist, adding...", role.getName()));
75+
LOG.info(String.format("Setup: Role %s does not exist in company %s, adding...", role.getName(), companyId));
7676
} catch (PortalException | SystemException e) {
7777
LOG.error("error while adding up roles", e);
7878
}

src/main/resources/setup_definition.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@
651651
<xs:element ref="role-permissions" minOccurs="0" maxOccurs="1"/>
652652
<xs:element ref="category" minOccurs="0" maxOccurs="unbounded"/>
653653
</xs:sequence>
654-
<xs:attribute name="article-structure-key" type="xs:string"/>
655-
<xs:attribute name="article-template-key" type="xs:string"/>
654+
<xs:attribute name="article-structure-key" type="xs:string" use="required"/>
655+
<xs:attribute name="article-template-key" type="xs:string" use="required"/>
656656
<xs:attribute name="articleId" type="xs:string" default=""/>
657657
<xs:attribute name="title" use="required" type="xs:string"/>
658658
<xs:attribute name="article-folder-path" type="xs:string"/>

0 commit comments

Comments
 (0)