Resource Menu

Id : 104
Type : BUG
Reporter : pl2st
Assignee :
Sebastien Jourdain
Priority : BLOCKER
Creation Date : 04 May 07 08:40
Last Update Date : 19 Mar 08 09:49
Resolution : Fixed
IE7 Error in new ressource creation
When trying to add a new ressource to a project, I get an error

URI ls://myserver/projects/projects/myressource_name does not exist

so that I have to create it at the home level providing manually the path to it to make it work

lsc_error.gif 6 ko. May 8, 2007 3:34 AM Go to file

Upload a new file :   
14 comment(s)
comment by Stéphane Bagnier - 14 May 07 11:09 AM re-open, this IE7 issue should be fixed.
comment by Sebastien Jourdain - 09 May 07 07:55 PM ok thanks for your feed back…
comment by pl2st - 09 May 07 07:13 PM Ok, found !!

This seems to be a IE7 compatibility bug, I can't reproduce it with firefox

Thanks for your support

Pierre

comment by Sebastien Jourdain - 08 May 07 03:48 AM Thanks for the picture but can you put the screen just before that one…
comment by Sebastien Jourdain - 08 May 07 02:51 AM We didn't had such behavior. Could you upload some screen shot in order to really understand what's going on ?
comment by pl2st - 08 May 07 02:26 AM After a fresh new install the problem's still there.

Config problem or real bug ?

Pierre

comment by pl2st - 05 May 07 02:29 AM Coming back to the bug, do you suggest to re-install ??
comment by Sebastien Jourdain - 05 May 07 01:39 AM For the next release (2.2), the installation process will be a lot easier…
  • One EAR to drop in Jonas
  • 3 configuration file to drop in Jonas
  • 3 configurations file to edit in Jonas
And with new features too…
comment by Sebastien Jourdain - 05 May 07 01:36 AM Normally, it simpler to install libresource from the source.

All the setting are in the file Distribution/ls-config.properties.

But due to the compilation process with CAS, if you change the database parameter, you will need to do :

  • ./ThirdPart/ant/bin/ant clean-all
  • ./ThirdPart/ant/bin/ant deploy
Otherwise it's true that when you have a ANT_HOME set, it's getting tricky. But if you want to use your ant, you just need to add savant and libresource ant task in yours.

Seb

comment by pl2st - 05 May 07 01:00 AM The version is libresource 2.1. I've to say it was not that easy to install , I ran into lots of errors before managing to compile it from the source… I've made the install five or six times before everything seemed to work...till now

So please, don't tell me to do it again )

Some troubles I ran into (I thought most of the problems I got was known with the installer only):

  • the demo user in postgres is needed even by the source installation
  • The database name and the user must be libresource.
  • I had a $ANT_HOME already set in my system and I spent some times before finding this
Pierre

comment by Sebastien Jourdain - 05 May 07 12:23 AM
  • Wich version of Libresource did you install ?
  • From the source or the installer ?
comment by pl2st - 05 May 07 12:13 AM Investigating further, I got the same king of error everytime I want to use the drop down containing actions on the upper right corner.

The URI's always changed and contains "projects" twice, making the ressource not found…

comment by pl2st - 04 May 07 09:15 PM Thank you for your time.

So, here's what I do : At the home level, I create a project with the create new ressource on the upper right corner, I select the ressource type (project) and provide the URI myproject, submit the form.Here I am redirected to the configuration page of that resoure /projects/myproject

Then, I want to create a new ressource from that node so a click on the link Create new ressource on the upper right corner.

Here comes the error : URI ls://myserver/projects/projects/myproject does not exist

I Hope this can help you to see what's wrong

comment by Sebastien Jourdain - 04 May 07 08:50 PM I'm not sure I understand the error.
  • To create a new resource, just click on the link Create new resource on the upper right corner when you are on the parent node of the resource that you want to create. For your exemple it will be /project.
  • Then select the resource type
  • Give the uri you want. For you it will be myressource_name
  • Then submit the form
  • This should create the resource and redirect you to the configuration page of that resoure.
  • Save your setting, and that's it.
If this doesn't work, then it's true there is a problem. But then, you will need to be more precise on the description of the bug.
Post a comment :


Wiki Syntax

Simple text filters

MnemonicRenderingComment
1 Title a style 1 heading (major heading)
1.1 Title a style 1.1 heading (minor heading)
- text a list item (with -), several lines create a single list
* text a list item (with *)
1. text an enumerated list
__bold__boldsimple bold text
~~italics~~italicssimple italic text
--strike--strikestrike through text
(empty line) produces a new paragraph
\\
 creates a line break, please use sparingly!
[/documentation] or [../documentation] or [/documentation|Doc]Like a standard linkinternal link to another document
http://www.libresource.org/http://www.libresource.org/creates a link to an external resource, special characters that come after the URL and are not part of it must be separated with a space.
\XXescape special character X (i.e. {)
---- creates a horizontal rule

Macros List

Macro syntaxe: {macroName:key1=param1|key2=param2|...}

MacroDescriptionParameters
apiGenerates links to Java or Ruby API documentation.1: class name, e.g. java.lang.Object or java.lang.Object@Java131
2: mode, e.g. Java12, Ruby, defaults to Java (optional)
asinGenerates links to DVD/CD dealers or comparison services. Configuration is read from conf/asinservices.txt1: asin number
blinkBlink a text.the text
bookmarksDisplay the user bookmarks.none
boxCreate a box in order to change the basic disposition.1. the box title (optional)
2. the floating behaviour (left or right) (optional)
3. the height of the box (px,%) (optional)
4. the width of the box (px,%) (optional)
childrenDisplay the current children list.1. uri= ...(optional) where you list the resources, the default uri is the current
2. groupby=… (optional) to group resources.The following value are available : type or owner or uri or creation or update or name
3. sort=… (optional) to sort resources. The values available are : type or owner or uri or creation or update or name
4. creation=...(optional) allows you to filter on the creation date. The values available are: Date (dd/MM/yyyy) or '+'/'-'/'!' followed by a Date(dd/MM/yyyy): allows to keep superior/inferior/exclude date
5. update=...(optional) allows you to filter on the modification date. The values available are: Date (dd/MM/yyyy) or '+'/'-'/'!' followed by a Date(dd/MM/yyyy): allows to keep superior/inferior/exclude date
6. type=...(optional) :allows you to filter resources with its type. The values available are : Project, Template, Timeline, Page, Repository, File, Forum, Thread, Message, Group, Synchronizer, BugTracker, Issue, Site, Survey, Form, DropBox
7. owner=...(optional):allows you to show only resources belonging to one user or many users.
8. limit=...(optional): allows you to limit the displayed resources
9. depth=...(optional): allows you to fix the depth of listed ressources
10. view=...(optional): to fix the view of displayed resources. The view available are : flat (default view) or count(to display the number of listed ressources) or tree(display resource following tree viewer)
codeDisplays a chunk of code with syntax highlighting, for example Java, XML and SQL. The none type will do nothing and is useful for unknown code types.1: syntax highlighter to use, defaults to java (optional)
helloSay hello example macro.1: name to print
htmlBy pass wiki engine to allow HTML code in contentthe html block
api-docsDisplays a list of known online API documentations and mappings.none
file-pathDisplays a file system path. The file path should use slashes. Defaults to windows.1: file path
imageDisplay an image.1. the image URI
2. align (right ,left or center) (optional)
3. width (optional)
4. height (optional)
inter-wikiDisplays a list of known InterWiki mappings.none
isbnGenerates links to book dealers or comparison services. Configuration is read from conf/bookservices.txt.1: isbn number
linkGenerate a weblink.unexplained, lazy programmer, probably
list-of-macrosDisplays a list of available macros.unexplained, lazy programmer, probably
loginBoxDisplay a login box.none
mailtoDisplays an email address.1: mail address
menuInclude the menu of the specified URI1. The uri for the menu to be include
newsDisplay a message thread as news.1. the thread URI
2. Max (optional)
preAllow rigid text style. (Keep text formating)none
printFieldDisplay a node forms fields values.1. (uri=) The uri on which you want to get the form value (Optional, by default=.)
2. (print=) Print or not the field label and the field value (Optional, by default=label, value, edit)
3. (field=) Print or not the specified field (Optional, by default will print all)
quoteDisplay quotations.1: source (optional)
2: displayed description, default is Source (optional)
quoteMessageQuote a message in another message by referencing only the message URI.1. The message URI to quote.
resourceInclude the view of a LibreSource resource.1. the uri of the resource (mandatory)
2. the view (optional)
3. the action (optional)
4. noaction (optional)
rfcGenerates links to RFCs.unexplained, lazy programmer, probably
rssInclude an RSS feed.1. the url of the rss feed (mandatory)
searchBoxDisplay a search box.1. the URI pattern
subProjectsDisplay the current subProjects list.none
summaryCreate the summary of a wiki page.1. the page URI (optional)
surveyDisplay results of a survey.the survey URI
tableDisplays a table.none
tableFormDisplay a table listing form results.1. (uri=) The uri on which you want to get the form value (Optional, by default use the local path)
2. (print=) Print additinal features such as a link to the data (goLink) or a link to get a CSV file (csvExport) (Optional, by default print all)
3. (field=) The list of field to show (Optional by default all)
timelineDisplay the first items of a timeline.1. the timeline URI
2. Max items (optional)
userGenerate a link to the current user page, according 'action'.1. the action (optional)
2. the link label (optional)
workspacesDisplay the user workspaces.none
xrefGenerates links to Java Xref source code.1: class name, e.g. java.lang.Object or java.lang.Object@Nanning
2: line number (optional)

Smiley

:-):-(;-):-P:-D:-[:-/:-*>:o8-):-$:-!:'(:-X =-O