inyokaproject / inyoka

All-in-one portal software
http://inyokaproject.org
Other
14 stars 4 forks source link

Delete Wiki Cache on uploading Attachments #480

Open encbladexp opened 8 years ago

encbladexp commented 8 years ago

Uploading Attachments (Wiki) must wipe the rendered Wiki Text. This is required because of "dead links" if a link to an non existing attachment exists, but the attachment is uploaded afterwards.

(Site Note: I really should take some English lessons.)

ostcar commented 8 years ago

This is a bigger issue. This has not only to be done for attachments, but for any inter-wiki-link on any InyokaMarkupField.

Therefore we have to

Of cause we could just delete the Cache of a wiki article, if an attachment is added. But I don't like this because this is not the solution to the real problem. This will probably make more problems, then it solves.

Until we fixed this big issue, the wiki-team has to life with a fix of #479 or wait for 24h

encbladexp commented 8 years ago

Moving WikiMeta to Redis has some very important side effects: Searching for deadlinks only works reliable if all Articles are rendered. With a cold cache none of the WikiMeta related Features (Dead Links, Backlinks, …) are working anymore because we need this data in the cache before.

ostcar commented 8 years ago

Thats true. So we need a "ContentMeta" table in the portal-app, so any place where the MarkupField is used can use it.

sebix commented 7 years ago

For attachments this is fixed in dba81bcffb1548a30b1585e6d9f71fa64e571205

ostcar commented 4 years ago

I can not unassign myself. Can someone of you do it?

sebix commented 4 years ago

I can not unassign myself. Can someone of you do it?

Done