Developer forum

Forum » Dynamicweb 10 » Bug when saving a paragraph in 10.1.2 + etc

Bug when saving a paragraph in 10.1.2 + etc

August Schnell
Reply

Hi DW

When saving a paragraph, whenever i have a file as an itemtype field, whatever the path might be, Files/Images gets appended to the path string.

I fixed this by not having Files/Images as a base directory.

Also when using the "Sort paragraphs" function I am not able to see the names of my paragraphs

 

BR August


Replies

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi August,

I've created new task #17854 against the bug with path in item type's file filed. Note the bug is not reproduced if "Base directory" option is not set up in the field definition, so it can be temporrry used as workaround. Regarding issue not reflecting paragraph name during sorting, I was not able to repoduce it on my environmen, have a look at video about my check, please. Specify your case if it does not follow mine. Thanks.

BR, Oleg QA 

 
August Schnell
Reply

Hi Oleg

Here is a video of im experiencing, also i don't have the "Sort" option like you do.

 

BR August

 

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi August

Your paragraphs have no names:

On your item type you can setup which field of your itemtype is used for the name of the paragraph:

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I have just committed a change so paragraphs with no name will write "<no name>" so it can be selected and sorted.

 
August Schnell
Reply

Hi Nicolai

Updating the title for the itemtype fixed the issue, but only when creating a new paragraph with the item.

Old paragraphs titles aren't getting updated, but perhaps it's meant to be like that?

 

BR August

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes, this is how it works.

You can open and save the paragraph maybe?

Votes for this answer: 1
 
August Schnell
Reply

That worked, thanks!

 

You must be logged in to post in the forum