Loading...
 
Skip to main content

Category: 15.x

15.x
Show subcategories objects

Name Type
Wiki page history: Data loss in some cases of rollbacks
I just rolled back to version 49 of https://dev.tiki.org/Semi-automatic+merging+period and the comment indicates

{CODE()}"fix [Rollback by Chealer9 to version 49]"{CODE}

__It should be marclaporte. not Chealer9__

And my previous rollback has disappeared. Perhaps the system has problems with multiple rollbacks?

Perhaps related to [item6397|Some wiki page history versions are getting lost on doc.tiki.org (Tiki 17.x) (data loss)]
tracker item
Database errors when upgrading from Tiki 12.9 to Tiki 15.5
I'm trying to upgrade a Tiki 12.9 site to Tiki 15.5 site. Composer runs fine, but when updating database I got several erros after run this command:

{CODE(colors="shell",wrap=0,ln=1)}
php console.php database:update
{CODE}

!! Error

{CODE(caption="php console.php database:update" theme="default")}Error 0 in 20151203_tiki_score_revamp_tiki
#Add needed columns
ALTER TABLE tiki_score change event event varchar(255); #increase varchar length
ALTER TABLE tiki_score ADD COLUMN data TEXT
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ALTER TABLE tiki_score ADD COLUMN data TEXT' at line 3
Error 1 in 20151203_tiki_score_revamp_tiki
# Insert old values from tiki_score into new format
# Insert user stuff. Login, message, friend pts.
INSERT INTO tiki_score (event, data)
SELECT "tiki.user.login" AS event, concat('[{"ruleId":"User logs in","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='login'
Unknown column 'data' in 'field list'
Error 2 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.user.view" AS event, concat('[{"ruleId":"See other user''s profile","recipientType":"user","recipient":"user","score":"',max(case when event = 'profile_see' then score else 0 end),'","validObjectIds":[""],"expiration":""},{"ruleId":"Have your profile seen","recipientType":"user","recipient":"object","score":"',max(case when event = 'profile_is_seen' then score else 0 end),'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score limit 1
Unknown column 'data' in 'field list'
Error 3 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.user.friend" AS event, concat('[{"ruleId":"Make friends","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='friend_new'
Unknown column 'data' in 'field list'
Error 4 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.user.message" AS event, concat('[{"ruleId":"Send message","recipientType":"user","recipient":"user","score":"',max(case when event = 'message_send' then score else 0 end),'","validObjectIds":[""],"expiration":""},{"ruleId":"Receive message","recipientType":"user","recipient":"object","score":"',max(case when event = 'message_receive' then score else 0 end),'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score limit 1
Unknown column 'data' in 'field list'
Error 5 in 20151203_tiki_score_revamp_tiki
# Articles
INSERT INTO tiki_score (event, data)
SELECT "tiki.article.create" AS event, concat('[{"ruleId":"Publish new article","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='article_new'
Unknown column 'data' in 'field list'
Error 6 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.article.view" AS event, concat('[{"ruleId":"Read an article","recipientType":"user","recipient":"user","score":"',max(case when event = 'article_read' then score else 0 end),'","validObjectIds":[""],"expiration":""},{"ruleId":"Have your article read","recipientType":"user","recipient":"author","score":"',max(case when event = 'article_is_read' then score else 0 end),'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score limit 1
Unknown column 'data' in 'field list'
Error 7 in 20151203_tiki_score_revamp_tiki
# File Gallery
INSERT INTO tiki_score (event, data)
SELECT "tiki.filegallery.create" AS event, concat('[{"ruleId":"Create new file gallery","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='fgallery_new'
Unknown column 'data' in 'field list'
Error 8 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.file.create" AS event, concat('[{"ruleId":"Upload new file to gallery","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='fgallery_new_file'
Unknown column 'data' in 'field list'
Error 9 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.file.download" AS event, concat('[{"ruleId":"Download other user''s file","recipientType":"user","recipient":"user","score":"',max(case when event = 'fgallery_download' then score else 0 end),'","validObjectIds":[""],"expiration":""},{"ruleId":"Have your file downloaded","recipientType":"user","recipient":"owner","score":"',max(case when event = 'fgallery_is_downloaded' then score else 0 end),'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score limit 1
Unknown column 'data' in 'field list'
Error 10 in 20151203_tiki_score_revamp_tiki
# Image Gallery
INSERT INTO tiki_score (event, data)
SELECT "tiki.imagegallery.create" AS event, concat('[{"ruleId":"Create new image gallery","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='igallery_new'
Unknown column 'data' in 'field list'
Error 11 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.image.create" AS event, concat('[{"ruleId":"Upload new image to gallery","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='igallery_new_img'
Unknown column 'data' in 'field list'
Error 12 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.image.view" AS event, concat('[{"ruleId":"See other user''s image","recipientType":"user","recipient":"user","score":"',max(case when event = 'igallery_see_img' then score else 0 end),'","validObjectIds":[""],"expiration":""},{"ruleId":"Have your image seen","recipientType":"user","recipient":"owner","score":"',max(case when event = 'igallery_img_seen' then score else 0 end),'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score limit 1
Unknown column 'data' in 'field list'
Error 13 in 20151203_tiki_score_revamp_tiki
#Blogs
INSERT INTO tiki_score (event, data)
SELECT "tiki.blog.create" AS event, concat('[{"ruleId":"Create new blog","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='blog_new'
Unknown column 'data' in 'field list'
Error 14 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.blogpost.create" AS event, concat('[{"ruleId":"Post in a blog","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='blog_post'
Unknown column 'data' in 'field list'
Error 15 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.blog.view" AS event, concat('[{"ruleId":"Read other user''s blog","recipientType":"user","recipient":"user","score":"',max(case when event = 'blog_read' then score else 0 end),'","validObjectIds":[""],"expiration":""},{"ruleId":"Have your blog read","recipientType":"user","recipient":"author","score":"',max(case when event = 'blog_is_read' then score else 0 end),'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score limit 1
Unknown column 'data' in 'field list'
Error 16 in 20151203_tiki_score_revamp_tiki
# Wikis
INSERT INTO tiki_score (event, data)
SELECT "tiki.wiki.create" AS event, concat('[{"ruleId":"Create a wiki page","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='wiki_new'
Unknown column 'data' in 'field list'
Error 17 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.wiki.update" AS event, concat('[{"ruleId":"Edit an existing wiki page","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='wiki_edit'
Unknown column 'data' in 'field list'
Error 18 in 20151203_tiki_score_revamp_tiki
INSERT INTO tiki_score (event, data)
SELECT "tiki.wiki.attachfile" AS event, concat('[{"ruleId":"Attach file to wiki page","recipientType":"user","recipient":"user","score":"',score,'","validObjectIds":[""],"expiration":""}]') AS data FROM tiki_score WHERE event='wiki_attach_file'
Unknown column 'data' in 'field list'
Error 19 in 20151203_tiki_score_revamp_tiki
#remove old scores from the tiki_score table
DELETE FROM tiki_score WHERE data is null
Unknown column 'data' in 'where clause'
{CODE}

!! System details

1. MySQL version
{CODE(colors="shell",wrap=0,ln=1)}
root@45af11331f6a:/# mysql --version
mysql Ver 15.1 Distrib 10.2.10-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

root@45af11331f6a:/# mysqld --version
mysqld Ver 10.2.10-MariaDB-10.2.10+maria~jessie for debian-linux-gnu on x86_64 (mariadb.org binary distribution)
{CODE}

2. PHP Version
{CODE(colors="shell",wrap=0,ln=1)}
root@6575eef728ba:/var/www/html# php --version
PHP 5.6.33 (cli) (built: Jan 9 2018 02:55:39)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
{CODE}

3. PHP modules
{CODE(colors="shell",wrap=0,ln=1)}
root@6575eef728ba:/var/www/html# php -m
[PHP Modules]
apcu
calendar
Core
ctype
curl
date
dom
ereg
fileinfo
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mcrypt
memcached
mysqli
mysqlnd
openssl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib

[Zend Modules]
Xdebug
Zend OPcache
{CODE}
tracker item
Database sessions: Session temporarily lost during update (critical race condition in write)
When the session_storage preference is set to Database, some requests can misbehave due to a critical section in tikisession-pdo.php. This happens during concurrent requests, when one request is in the middle of a call to Session::write(). write() executes 2 queries, one which deletes the session (if it exists), and one which (re)creates the session. When write() is blocked between these 2 requests, 2 critical race conditions can occur. Assuming a first request is in between these 2 queries:
#If request #2 concurrently reads the sessions table, it will fail to find the session, causing Zend\Session\Container::getDefaultManager()->start() (in tiki-setup_base.php) to start a new session instead of resuming the session. This will cause:
## A multiplication of entries in the sessions table
## PHPSESSID to change unduly
## A loss of session data (in practice)
## The message "session cookie validation failed" to be logged in the system log.
# If the first race condition does not occur, but request #2 executes the DELETE in write() before request #1 has re-inserted the row, then whichever request finishes write() last will fail, due to an attempt to insert an existing row (the message will look like "Duplicate entry 'glmk0tl75dmi9rrkdfbgt7mr47' for key 'PRIMARY'").

! Symptoms

!! Images not displaying
This can be seen easily in a custom blog based on a wiki page in our Foncierpedia website. That page uses the LIST plugin to display posts with the author's avatar. Each time the page is loaded, there is one request to tiki-show_user_avatar.php per author, which redirects via HTTP 302 to tiki-download_file.php. The page currently has posts from 6 authors, so each load causes at least 6 requests using tiki-setup_base.php approximately simultaneously. In this context, the bug is very often visible, roughly 1 load every 5. To make it even more obvious, the critical section can be lengthened by calling sleep(2) between the 2 SQL queries in write(). With that, we see the bug [almost] on each load of the wiki page. The main symptom is that some images fail to display, due to race condition #2. This is very easy to reproduce with Tiki 15, since avatars are not cached, but in Tiki 18, tiki-show_user_avatar.php can return a 304 Not Modified, so if this doesn't reproduce on the first attempt, a full reload will be needed (Ctrl+F5 in Firefox).

This can also be reproduced with a wiki page which simply calls the IMG plugin. I used the following:
{CODE()}
{img src="tiki-download_file.php?fileId=6818&display=y" width="100px"} {img src="tiki-download_file.php?fileId=5810&display=y" width="100px"} {img src="tiki-download_file.php?fileId=5152&display=y" width="100px"} {img src="tiki-download_file.php?fileId=6974&display=y" width="100px"}
{img src="tiki-download_file.php?fileId=5800&display=y" width="100px"} {img src="tiki-download_file.php?fileId=6889&display=y" width="100px"} {img src="tiki-download_file.php?fileId=7052&display=y" width="100px"}
{CODE}

!! Other
We are also experiencing abnormal user disconnections on the site. These are harder to reproduce, but likely related.
Related commit: {commit id=45249}

!! Logs
There are multiple messages in the actionlog. A query like the following can help see the pattern:
{CODE()}SELECT FROM_UNIXTIME(lastModif), `tiki_actionlog`.* FROM `tiki_actionlog` ORDER BY ip, lastModif{CODE}
Related commit: {commit id=56775}

! Source
This is a regression from {commit id=24568}.
tracker item
DB error: Column 'commentDate' in where clause is ambiguous
I have noticed there are db errors in https://tiki.org/tiki-syslog.php like Column 'commentDate' in where clause is ambiguous ...

What is that?
Can be fixed easily?
tracker item
Default Duration length in calendar events misscalculated (2h while times were from 18h to 19h)
This was working in previous versions of Tiki (maybe oldish ones: 6.x, etc, afaik). I couldn't check when the regression was introduced.

Default Duration length in calendar events misscalculated (2h while times were from 18h to 19h)

See it reproduced:
http://xavi-9794-5901.show.tikiwiki.org/tiki-calendar_edit_item.php
u: admin
p: 12345

At posting time, the times where shown (depending on where you click to add the event) either as from 0:00 to 1:00, from 18 to 19h, or from (in my last case) 10:41 to 11:41h.
But you you click at "Show Duration", they display 2h in both cases, even if they should display 1h.
tracker item
Default namespace doesn`t work if page created in structure navigation bar
My usescase has got some categories, and each one has a default namespace, so that each category can have a same named page.

When you create a wiki page the normal way, the default namespace is added to the pagename. But if you greate it using the structure navigation bar, the namespace is not added automatically.

I Guess it is easy to fix it.

Thanks

Show Instance: http://fvtorres-11800-5957.show.tikiwiki.org
User: admin
Pass: 12345

tracker item
Default pref allowMsgs set to y but not set to new users
Default pref allowMsgs set to y but not set to new users
tracker item
Defaut user wiki page name should be based on realname instead of e-mail
In 1.10 now we can set to login as e-mail and display realname wherever possible. But the user wiki page by default is set to 'UserCreate<e-mail>. We should still allow user to create his page with 'UserCreate<username/real name>'.

The recommended behaviour should be if user chooses e-mail to be private or it could be if admin sets to disaply realname wherever possible, then it should use 'UserCreate<realname>' other cases it can be based on e-mail.
tracker item
Delete user delete user information tracker item by default (and without way to override)
If you are using user tracker information, when you delete a user there is a new feature that ask you if you want to delete the user items in trackers and it displays a list of trackers.

"Delete user items from these trackers Warning: Experimental "

It shows the tracker used to store the user information giving the "wrong" impression that you are able to control if the user information will be deleted or saved.

The text is a bit confusing but no matter if you select a tracker or you don’t select it, user item in the tracker used to store the user information will be deleted.

Admin should be able to deactivate this option and it should not be set by default (erasing data cannot be default) as they are case you want to delete users but not the item created at their registration as it can lead to disrupt data cohesion on different area of your website (especially if you use on trackers and other created items relies on the user information data).

{img fileId="1057" thumb="box"}
tracker item
Diff: notification e-mail with HTML plugin in diff shows nothing
For example for [https://suite.tiki.org/tiki-pagehistory.php?page=Tiki%20Suite%20alternatives&compare=1&oldver=84&newver=85|this diff] change in the e-mail notification there is this empty HTML plugin shown instead of showing its content:

{CODE()}
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -Lines: 143-146 changed to +Lines: 143-150 @@
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
!!!! Freedombone
{HTML()}{HTML}
+
+ !!!! Cloudron
+ {HTML()}{HTML}
+

!! Services
{CODE}
tracker item
display a single chart with plugin sheet fails (with mode simple=y or n)
display a single chart with plugin sheet fails (with mode simple=y or n)

Related to this other bug report:
https://dev.tiki.org/item6265 - "Page with many PluginSheet calls should respect their own uses of parameter 'simple=y/n' "

After bug6265 is fixed, you now display only the sheet which were displaying charts normally, but when shown in mode "simple=y" charts are not shown.

Well, in fact, chart is not shown even if simple=n.

How complicated is it to get the charts shown?
See:
* http://xavi-9794-6265.show.tikiwiki.org/tiki-index.php?page=Spreadsheet-demo-instructions#Show_Only_Charts
* http://xavi-9794-6265.show.tikiwiki.org/tiki-index.php?page=Spreadsheet-demo-instructions#Display_only_One_Chart
u: admin
p:12345

Thanks!
tracker item
Display in the toc "only" all sub level entry within a structure
In the toc we can set maxdepth (how many sub-level) we wan to display.
However there are case you need only sub-level to be displayed.

A structure ''Europe'' with several children (''France'', ''England'', etc) that have them self (''Paris'', ''London'', etc) children.

''Europe'' (top level)
-> ''France'' (sub-level 1)
-> ''Paris'' (sub-level 2)
-> ''England'' (sub-level 1)
-> ''London'' (sub-level 2)

Using the wikiplugin_toc we want to show all the second child (sub-level 2) for all the structure Europe and not any of the level above it.

The toc will show:
Paris (level 2)
London (level 2)
tracker item
Display Realname instead of login at "Switch user" for admins through module login_box
Use case: LDAP setups with numeric ID's for usernames: the admin needs to be able to switch to some user's account to check that settings and perms are as expected for that usergroup, etc. I know the co-worker names, but I don't know their ID's in the setup, other than manually checking at the users list and infer it's name from their email.

This line seems to control it at the template for the login box module:
{CODE()}
{autocomplete element="#login-switchuser_"|cat:$module_logo_instance type="username"}
{CODE}

which implies that there is a function.autocomplete.php smarty_tiki file.

I managed to make the userrealname display in the dropdown box. But I need that userrealname as label, while keeping the username as option to be used internally (otherwise the switch user does not work, as far as I could see)

1st attempt:
-------------------
I tried with this type of syntax, but it didnt' work:
{CODE()}
{autocomplete element="#login-switchuser_"|cat:$module_logo_instance type="userrealname" options="label:userrealname,value:username"}
{CODE}

since that is what I understood from here:
http://api.jqueryui.com/autocomplete/#option-source


2nd attempt:
-------------------
I also tried modifying function.autocomplete.php and the
mod-login_box.tpl to end up producing this syntax (as I could see in the
html source of the produced page):
{CODE()}
$("#login-switchuser_2").tiki("autocomplete", "userrealname", { source:[label:"userrealname",value:"username"] });
{CODE}

but it didnt' work either.

---


Any tips on how to write it in the proper jquery and smarty syntax?
tracker item
Display Realname instead of login at ActionLog feature
Display Realname instead of login at the ((doc:Action Log)) for admins or non-admins with permission to see log reports (teachers seeing reports of their students, project managers seeing reports on their workers, etc)

For those cases (such as LDAP in which username can be just a numeric ID of the user but RealName is the meaningful info/name for that user) where the tiki admin chose to display Realname instead of login where possible.

Setting, for instance, at : tiki-wizard_admin.php?&stepNr=17&url=index.php (Set up User & Community features):
user_show_realnames : "Show user's real name instead of login (when possible)"
tracker item
Double check that User Tracker Profile works as expected also in 15.x
Double check that User Tracker Profile works as expected also in 15.x, since I got some feedback that it might not be working.
---
Please, see this page as anon:
http://xavi-9794-5865.show.tikiwiki.org/tiki-register.php#contentCustom_info-1

And read these instructions:
http://xavi-9794-5865.show.tikiwiki.org/tiki-index.php?page=User_Trackers#step2

The tricky thing was to use the right profile, which I updated a few years ago with some extra fields for demonstration purposes. Called "User_Trackers" (non-intuitive, imho, but it was not me the first author of that profile):
https://profiles.tiki.org/User_Trackers

And that is the one included in the ((doc:Profiles Wizard)) since Tiki12 (the ((doc:Wizards)) are your friends!")

This other one is not working properly (or uncomplete, and untested in recent tiki versions):
https://profiles.tiki.org/User_Tracker
tracker item
Dynamic items list displays just one item in the 2nd dropdown
Dynamic items list displays just one item in the 2nd dropdown, See it reproduced with the PRofile "Dynamic items list"
---
Invalid, it works as expected., it seems. {sign user="xavi" datetime="2016-06-07T12:54:51+00:00"}
tracker item
Dynamic Items List issues with cascading Items Links
I have a real-life case of three Trackers:
* Organizations (companies)
* Offices (within Organizations)
* Members

Offices have an Item Link to Organizations
Members have an Item Link to Offices and a Dynamic Item Link to Offices

This does not work:
* I can create/edit Organizations (OK)
* I can create/edit Offices (OK)
* When creating/editing Members, I can create missing Organizations in the Organizations Tracker (OK) But I can never select Offices. The drop-down is always empty… (NOT OK)

Note: I can also not create missing Offices in the Members creation modal but I went around this in real life using a template with an extra button. This is an off topic wish foe another wish.
tracker item
Dynamic Items List produces blank items if Listed Field (aka listFieldIdThere) is field type Drop down with other
tracker id 11 Apartment Configuration Details has:
97 AptDetail ConfigID text field
98 AptDetail Item drop down with other (Living + Dining Room,Master Bedroom,Master Bathroom,Bedroom #2,Bedroom #2 Bathroom,Bedroom #3,Bedroom #3 Bathroom,Study Room,Common Bathroom,Kitchen,Pantry,Store Room,Verandah #1,Verandah #2,Open Parking #1,Open Parking #2,Covered Parking #1,Covered Parking #2,Secured Garage #1,Secured Garage #2,other=Other)

tracker id 1 Change Management has:
187 CRM ConfigId text field
53 CRM Work Area dynamic items list (tracker id=Apartment Configuration Details, Field ID (Other tracker)=AptDetail ConfigID, Field ID (This tracker)=CRM ConfigId, Listed Field=AptDetail Item)

If AptDetail Item is a tracker drop down field then Dynamic Items List (ie trackerid 1, field id 53) will produce blank items in its drop down list.
tracker item
Easier image use
It is harder than it needs to be to use an image on a wiki (or other) page. you have to upload the image, then remember the id and use it on the page, or slightly better, upload an image then drag it to the screen.

The preferred behavior would be to select the image icon, which would then offer to upload or use one from the library. (so far, just like it is today) Then once you have uploaded an image, it should automatically use the image(s) uploaded and create the img tags on the page at the cursor. If I am uploading images, I should not then have to re-select the images to use.

There is at least one other recommendation to drag-drop images, which would be nice, though I suspect a bit harder to do, and would not invalidate this suggestion.

A suggestion (for that one) was to use the jcapture plugin, which is actually harder than the current approach as you have to use something else to display the image, then adjust your window(s) to display it, capture it, and still have to use it.

tracker item
Editing older blog post changes Publish date
When I edit an older blog post (over 5 years old), the year of the Publish Date gets changed to the oldest year displayed in the year drop down. That happens to be 5 years ago since the Publish date only displays 5 years in the past.

One possible fix would be a checkbox to select whether you want to update the Publish Date at all.

Another fix would be to have the Publish year go back many years in the past. At least 20 as I have blog posts back to 2003!

\\Greg
tracker item
edit screens underlap the right hand column when the width is increased
If the width of an edit screen is temporarily increased - which is often very useful - then it underlaps a right hand column (if there is one)

This seems to happen in all edit screens, including this tracker edit screen where this 'wish/bug' is being entered.

I've tried to fix this with some custom css ie adding/increasing a z-index parameter but haven't managed to find a successful fix

fixed in 57795 - thanks Gary
tracker item
Edit through WYSIWYG plugin is quietly lost if plugin call follows an inclusion
Any WYSIWYG edit to a WYSIWYG zone (defined using the WYSIWYG plugin) fails quietly if the call to the plugin follows an inclusion (made using the INCLUDE plugin). CKEditor goes away as expected and the contents of the zone are displayed, but instead of the new contents, the old content shows.

This bug exists in Tiki 12 and persists in trunk as of r64360.

If wiki page Parent includes page Child, the following WYSIWYG zone causes the wysiwygPlugin() function to be called at page load with its page parameter set to "Child" instead of "Parent" as should be the case. Which causes the AJAX calls to action_replace() from edits to have the wrong value for their page parameter, causing them to have no effect, and action_replace() to return simply "~np~[]~/np~".

wysiwygPlugin's parameter is wrong because wikiplugin_wysiwyg()'s $sourcepage variable has the wrong value, because it is wrongly set to $wikiplugin_included_page instead of $page. This is due to a parser context management issue.
tracker item
editing category permissions fails for group-names with "~" as namespace separator generated by workspaces
Use "~" for Namespace separator as advised/ suggested by tiki-doc.
Create Workspace Template, generate Workspace from it.
Produces "template~workspace" as workspace name for category, group, perspective.

Now such a workspace needs permissions changed from the default of the template.
Admin Category, hit "Permissions", edit entries for the dedicated group(s), save.

In the Permissions UI the save is not reflected, it's the same as before.
In the DB the table "users_objectpermissions" received new entries for "template" rather than "template~workspace".

Haven't verified yet whether it's related to "~" as Namespace separator or not.
tracker item
Editing Files w/Wysiwyg Excludes Syntax
When a image or file is edited within a wiki page via Wysiwyg editor, the syntax is not extended into the file attributes.
For example, if you upload a file into a wiki page, and you use the wysiwyg to assign a "border" attribute, or a "popup, enlarges in a popup with zoom option" attribute, while it appears those attributes are being assigned, they are not, they do not populate the syntax for the file or image.

tracker item
Editing a Plugin via plugin helper icon on a translated page looses the translation assigned!
When user have multilingual site enabled and edits a page e.g. in English called Foo and adds an image there using the IMG plugin syntax, then creates translation of the page in another page called Foo2 in the other language and then tries to edit one of the associated pages via the IMG plugin helper icon, it saves nicely but - the page looses the language assigned back to the "Unknown" and that breaks the translation association and it is not possible to set it back because it yells an error that that translation already exists or something like that...
tracker item
Show PHP error messages