Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.1.0-RC2
-
Fix Version/s: 1.1.1
-
Component/s: Content
-
Labels:None
-
Environment:
Server: optus-qa-smb1
Script Location: /home/gsingh/optus-content/import_scripts/crclient.sh
Crclient Build: contentrepository-client-1.1.0-RC2-SNAPSHOT-p23-t20120201-172955-CI.one-jar.jar
Optus Build: optus-ear-1.1.0-RC2-SNAPSHOT-p14-t20120120-114807-CI.ear
Template Location : https://github.com/thesearchagency/optus-content/tree/master/templates
Server: optus-qa-smb1 Script Location: /home/gsingh/optus-content/import_scripts/crclient.sh Crclient Build: contentrepository-client-1.1.0-RC2-SNAPSHOT-p23-t20120201-172955-CI.one-jar.jar Optus Build: optus-ear-1.1.0-RC2-SNAPSHOT-p14-t20120120-114807-CI.ear Template Location : https://github.com/thesearchagency/optus-content/tree/master/templates
Description
Tried uploading template Tags by executing crclient.sh in following manner.
[gsingh@optus-qa-smb1 import_scripts]$ ./crclient.sh -f ../templates/ -t template
Boot: Warning: Unable to locate main/main.jar in the JAR file /home/gsingh/crclient/contentrepository-client-1.1.0-RC2-SNAPSHOT-p23-t20120201-172955-CI.one-jar.jar
-f
../templates/
-t
template
Checking for type:
Type = template
Exporting : false
The Type = template
Preview image : SMB_METADATA/metadata.csv Preview image : SMB_METADATA/preview.jpg
52141 bytes in preview image.
../templates/: loaded: 1
Though the output says that the tags have been uploaded, but when checked in database found following.
mysql> select * from siteTemplates;
-------------------------------------------------
id | filename | description | status | useCount | tag | type |
-------------------------------------------------
4 | template4.zip | 1 | 0 | N | 0 |
-------------------------------------------------
mysql> select * from tags;
--------------------------------------------------------
id | parentID | description | value | status |
--------------------------------------------------------
1 | 0 | PrimaryColorCSS | primary colour css | 1 |
2 | 0 | SecondaryColorCSS | seondary color css | 1 |
3 | 0 | PrimaryColorTag | primary color | 1 |
4 | 0 | SecondaryColorTag | secondary color | 1 |
5 | 0 | MobileAccentColorCSS | mobile color css | 1 |
6 | 0 | GenderTag | gender | 1 |
7 | 0 | CategoryTags | category | 1 |
8 | 0 | LogoHeight | LogoHeight | 1 |
9 | 0 | LogoWidth | LogoWidth | 1 |
10 | 0 | Description | Description | 1 |
11 | 9 | LogoWidth:200 | 200 | 1 |
13 | 8 | LogoHeight:100 | 100 | 1 |
--------------------------------------------------------
Also, could not find the tags in Self Serve UI.