Item14895: Wrong backlink after moving attachment
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Hi
I dont konow if this behavior is a bug. Following scenario:
I got two Topics: MyTopic and AttachementTopic.
There is an attachement (png Image) in the "AttachementTopic" Topic. I Move this Attachement to the "MyTopic" Topic.
Now, i show the Backlinks on the "AttachementTopic" Topic, and it shows me a Reference to "MyTopic" Topic. In the "MyTopic" Topic there is no Backlink.
In the "MyTopic" Topic ther is an META entry:
%META:FILEATTACHMENT{name="image.PNG" attachment="image.PNG" attr="" comment="" date="1581414455" moveby="user" movedto="Wikiname.MyTopic.image.PNG" movedwhen="1581414533" movefrom="Wikiname.AttachementTopic.image.PNG" size="xxx" user="user" version="1"}%
If i clear the following Fields: moveby, movedto, movedwhen, movefrom, the Backlink doesn't appear.
I wouldn't expect this as a Backlink.
What do you think?
--
MachsGut
Not sure I get it. Which link is broken where?
--
MichaelDaum - 11 Feb 2020
Nothing is Broken.
The question is:
Is this behaviour right or not?
After i moved an attachement like i described, i would NOT expect a Backlink in the Topic where the attachement was, to the Topic where the Attachement moved. This is confusing and maby a bug?
--
MachsGut - 11 Feb 2020
The original location should not have a META:FILEATTACHMENT entry in the raw data anymore once the attachment moved away. If that still is the case, then this is an error. Please attach your
LocalSite.cfg
to this bug report in this cased (cleaned of course, not to leak passwords or domain names etc).
--
MichaelDaum - 11 Feb 2020
This isn't the Case: Th "AttachementTopic" has NO META:FILEATTACHMENT entry anymore.
But, on the AttachementTopic it still shows me a Backlink to the Topic were i've moved the Attachement (when i call
..oops/Wikiname/AttachementTestTopic?template=backlinksweb
)
So, this is correct and not a Bug?
--
MachsGut - 11 Feb 2020
Yes this is correct.
--
MichaelDaum - 11 Feb 2020
The backlink is correct, there is no bug here.
--
MichaelDaum - 08 Jul 2021